AI-generated videos can also be changed, using VACE to expand the video at will!

Aliwan phase recently new VACE model can be said to pull the video editing function to a new height, today we look at how to use it to realize the video expansion function.

First of all, how to use VACE locally, the specific method you can read the article I wrote before, which has a very detailed introduction, I believe you can easily learn after reading it.

ComfyUI locally deploys Wan2.1 open source AI video generation model to create movie-quality AI videos at home

In this article we describe how to build the basic workflow of VACE, with this basic workflow you can realize the text-born graphic video function.

d9c56cd3j00sx209g0084d000u000bxm

Below we describe how to implement the operation of expanding the video frame on the basis of this basic workflow.

First look at the effect, the left is the original video, it is the gray part of the lower part of my kind of want to expand the size, the right is the effect of the video after the expansion. The effect of the expanded video screen can be said to be very perfect, can not see that it has been modified.

2014c15cg00sx209f01xfd000hs00c0m

I. Expanded map workflow construction

First, double-click in a blank space in the workspace to search for and add the Load Video node

51ef4677j00sx209g003id000u000dkm

Double-click in a blank space in the workspace to search for and add the plus Resize Image v2 node

8ed6a7e7j00sx209g0045d000u000f5m

Connect the two nodes, the Load Video node is responsible for loading the video from local and the Resize Image v2 node is responsible for fixing the size of the video

9b7419c7j00sx209g007fd000u000onm

Add ImagePad KJ node

a70930dej00sx209g002ld000u000fdm

ImagePad KJ is responsible for expanding the original video.

cdced3b3j00sx209g005jd000u000h2m

Add two Get-Image-Size nodes named "Get-Image-Range-1" and "Get-Image-Range-2".

3e2172daj00sx209f001fd000u0009am

The connection method of "Acquire Image Range-1" and "Acquire Image Range-2" is shown in the figure below.

"Acquire image range-1" and "Acquire image range-2"

91cde0b8j00sx209g005wd000u000hum

Connect the preview image node and preview mask node at "Get Image Range-1" and "Get Image Range-2" respectively.

001c0cfdj00sx209g0051d000u000b9m

Here we focus on the role of several parameters of the ImagePad KJ node

The role of this node is to expand the size of the original video outward, specifically how to expand, expand how much, through the parameters set in the red box in the following figure

The parameters left, rght, top, bottom, and extra_padding represent how many pixels to extend the screen forward, backward, left, right, and all around, respectively.

c957ac57j00sx209f001ed000fb00h8m

After I set the values of these directions to 100 respectively, I ran to get the following results, it is easier to understand the meaning of the parameters by referring to the figure below.

1cd84c75j00sx209g001md000u000j6m

The original video is a horizontal version of the video, if we want to get a vertical version of the video, we need to expand the screen downward, we temporarily set the value of bottom to 400, run to see the preview of the screen effect.

cac8e417j00sx209g008kd000u000ihm

II. Connecting basic workflows

Double-click in the margin to search and add the Get Image Size Quantity node

e495434bj00sx209g0034d000u000cam

The node connection method is shown in the figure below.

The original video is resized via the "ImagePad KJ" node, and the new frame and size of the video is passed to the " WanVideo VACE Encode" node in the base workflow.

Well, at this point, the workflow is built.

28a4ad03j00sx209g004cd000u000d1m

Here is a screenshot of the complete workflow

e204dca8j00sx209g00a9d000u000grm

Click Run and the model complements the bottom screen perfectly, and the original horizontal video is converted to a vertical video.

241d12d3j00sx209h00g2d000u000opm

Just to be clear, the process of generating the video is essentially a card draw, and sometimes you don't get the perfect result all at once, requiring you to try a few more times.

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
Information

Internet Queen: ChatGPT India overtakes US in monthly active users

2025-6-3 12:02:34

Information

OpenAI Updates Programming Tool Codex: Adds Voice Input + Networking, Open to ChatGPT Plus Users

2025-6-4 11:43:34

Zenium
Search