Datasets:

Modalities:
Image
Video
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
jiangzeyinzi commited on
Commit
61e2e32
·
1 Parent(s): 3ce0db7
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. UserGuide.md +160 -0
  2. assets/examples/depth/ori_video.mp4 +3 -0
  3. assets/examples/depth/out_video.mp4 +3 -0
  4. assets/examples/depth/src_video.mp4 +3 -0
  5. assets/examples/expand_anything/ori_image_1.jpeg +3 -0
  6. assets/examples/expand_anything/ori_image_2.png +3 -0
  7. assets/examples/expand_anything/out_video.mp4 +3 -0
  8. assets/examples/expand_anything/src_mask.mp4 +3 -0
  9. assets/examples/expand_anything/src_ref_image_1.png +3 -0
  10. assets/examples/expand_anything/src_video.mp4 +3 -0
  11. assets/examples/face/ori_image_1.png +3 -0
  12. assets/examples/face/out_video.mp4 +3 -0
  13. assets/examples/face/src_ref_image_1.png +3 -0
  14. assets/examples/firstframe/ori_image_1.png +3 -0
  15. assets/examples/firstframe/out_video.mp4 +3 -0
  16. assets/examples/firstframe/src_mask.mp4 +3 -0
  17. assets/examples/firstframe/src_video.mp4 +3 -0
  18. assets/examples/flow/ori_video.mp4 +3 -0
  19. assets/examples/flow/out_video.mp4 +3 -0
  20. assets/examples/flow/src_video.mp4 +3 -0
  21. assets/examples/gray/ori_video.mp4 +3 -0
  22. assets/examples/gray/out_video.mp4 +3 -0
  23. assets/examples/gray/src_video.mp4 +3 -0
  24. assets/examples/inpainting/ori_video.mp4 +3 -0
  25. assets/examples/inpainting/out_video.mp4 +3 -0
  26. assets/examples/inpainting/src_mask.mp4 +3 -0
  27. assets/examples/inpainting/src_video.mp4 +3 -0
  28. assets/examples/layout/ori_video.mp4 +3 -0
  29. assets/examples/layout/out_video.mp4 +3 -0
  30. assets/examples/layout/src_video.mp4 +3 -0
  31. assets/examples/object/ori_image_1.png +3 -0
  32. assets/examples/object/out_video.mp4 +3 -0
  33. assets/examples/object/src_ref_image_1.png +3 -0
  34. assets/examples/outpainting/ori_video.mp4 +3 -0
  35. assets/examples/outpainting/out_video.mp4 +3 -0
  36. assets/examples/outpainting/src_mask.mp4 +3 -0
  37. assets/examples/outpainting/src_video.mp4 +3 -0
  38. assets/examples/pose/ori_video.mp4 +3 -0
  39. assets/examples/pose/out_video.mp4 +3 -0
  40. assets/examples/pose/src_video.mp4 +3 -0
  41. assets/examples/reference_anything/ori_image_1.png +3 -0
  42. assets/examples/reference_anything/ori_image_2.png +3 -0
  43. assets/examples/reference_anything/out_video.mp4 +3 -0
  44. assets/examples/reference_anything/src_ref_image_1.png +3 -0
  45. assets/examples/reference_anything/src_ref_image_2.png +3 -0
  46. assets/examples/scribble/ori_video.mp4 +3 -0
  47. assets/examples/scribble/out_video.mp4 +3 -0
  48. assets/examples/scribble/src_video.mp4 +3 -0
  49. assets/examples/swap_anything/ori_image_1.jpg +3 -0
  50. assets/examples/swap_anything/ori_video.mp4 +3 -0
UserGuide.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # VACE User Guide
2
+
3
+ ## 1. Overall Steps
4
+
5
+ - Preparation: Be aware of the task type ([single task](#32-single-task) or [multi-task composition](#33-composition-task)) of your creative idea, and prepare all the required materials (images, videos, prompt, etc.)
6
+ - Preprocessing: Select the appropriate preprocessing method based task name, then preprocess your materials to meet the model's input requirements.
7
+ - Inference: Based on the preprocessed materials, perform VACE inference to obtain results.
8
+
9
+ ## 2. Preparations
10
+
11
+ ### 2.1 Task Definition
12
+
13
+ VACE, as a unified video generation solution, simultaneously supports Video Generation, Video Editing, and complex composition task. Specifically:
14
+
15
+ - Video Generation: No video input. Injecting concepts into the model through semantic understanding based on text and reference materials, including **T2V** (Text-to-Video Generation) and **R2V** (Reference-to-Video Generation) tasks.
16
+ - Video Editing: With video input. Modifying input video at the pixel level globally or locally,including **V2V** (Video-to-Video Editing) and **MV2V** (Masked Video-to-Video Editing).
17
+ - Composition Task: Compose two or more single task above into a complex composition task, such as **Reference Anything** (Face R2V + Object R2V), **Move Anything**(Frame R2V + Layout V2V), **Animate Anything**(R2V + Pose V2V), **Swap Anything**(R2V + Inpainting MV2V), and **Expand Anything**(Object R2V + Frame R2V + Outpainting MV2V), etc.
18
+
19
+ Single tasks and compositional tasks are illustrated in the diagram below:
20
+
21
+ ![vace_task](https://raw.githubusercontent.com/ali-vilab/VACE/refs/heads/main/assets/materials/tasks.png)
22
+
23
+
24
+ ### 2.2 Limitations
25
+
26
+ - Super high resolution video will be resized to proper spatial size.
27
+ - Super long video will be trimmed or uniformly sampled into around 5 seconds.
28
+ - For users who are demanding of long video generation, we recommend to generate 5s video clips one by one, while using `firstclip` video extension task to keep the temporal consistency.
29
+
30
+ ## 3. Preprocessing
31
+ ### 3.1 VACE-Recognizable Inputs
32
+
33
+ User-collected materials needs to be preprocessed into VACE-recognizable inputs, including **`src_video`**, **`src_mask`**, **`src_ref_images`**, and **`prompt`**.
34
+ Specific descriptions are as follows:
35
+
36
+ - `src_video`: The video to be edited for input into the model, such as condition videos (Depth, Pose, etc.) or in/outpainting input video. **Gray areas**(values equal to 127) represent missing video part. In first-frame R2V task, the first frame are reference frame while subsequent frames are left gray. The missing parts of in/outpainting `src_video` are also set gray.
37
+ - `src_mask`: A 3D mask in the same shape of `src_video`. **White areas** represent the parts to be generated, while **black areas** represent the parts to be retained.
38
+ - `src_ref_images`: Reference images of R2V. Salient object segmentation can be performed to keep the background white.
39
+ - `prompt`: A text describing the content of the output video. Prompt expansion can be used to achieve better generation effects for LTX-Video and English user of Wan2.1. Use descriptive prompt instead of instructions.
40
+
41
+ Among them, `prompt` is required while `src_video`, `src_mask`, and `src_ref_images` are optional. For instance, MV2V task requires `src_video`, `src_mask`, and `prompt`; R2V task only requires `src_ref_images` and `prompt`.
42
+
43
+ ### 3.2 Preprocessing Tools
44
+ Both command line and Gradio demo are supported.
45
+
46
+ 1) Command Line: You can refer to the `run_vace_preproccess.sh` script and invoke it based on the different task types. An example command is as follows:
47
+ ```bash
48
+ python vace/vace_preproccess.py --task depth --video assets/videos/test.mp4
49
+ ```
50
+
51
+ 2) Gradio Interactive: Launch the graphical interface for data preprocessing and perform preprocessing on the interface. The specific command is as follows:
52
+ ```bash
53
+ python vace/gradios/preprocess_demo.py
54
+ ```
55
+
56
+ ![gr_pre_demo](https://raw.githubusercontent.com/ali-vilab/VACE/refs/heads/main/assets/materials/gr_pre_demo.jpg)
57
+
58
+
59
+ ### 3.2 Single Tasks
60
+
61
+ VACE is an all-in-one model supporting various task types. However, different preprocessing is required for these task types. The specific task types and descriptions are as follows:
62
+
63
+ | Task | Subtask | Annotator | Input modal | Params | Note |
64
+ |------------|----------------------|----------------------------|------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
65
+ | txt2vid | txt2vid | / | / | / | |
66
+ | control | depth | DepthVideoAnnotator | video | / | |
67
+ | control | flow | FlowVisAnnotator | video | / | |
68
+ | control | gray | GrayVideoAnnotator | video | / | |
69
+ | control | pose | PoseBodyFaceVideoAnnotator | video | / | |
70
+ | control | scribble | ScribbleVideoAnnotator | video | / | |
71
+ | control | layout_bbox | LayoutBboxAnnotator | two bboxes <br>'x1,y1,x2,y2 x1,y1,x2,y2' | / | Move linearly from the first box to the second box |
72
+ | control | layout_track | LayoutTrackAnnotator | video | mode='masktrack/bboxtrack/label/caption'<br>maskaug_mode(optional)='original/original_expand/hull/hull_expand/bbox/bbox_expand'<br>maskaug_ratio(optional)=0~1.0 | Mode represents different methods of subject tracking. |
73
+ | extension | frameref | FrameRefExpandAnnotator | image | mode='firstframe'<br>expand_num=80 (default) | |
74
+ | extension | frameref | FrameRefExpandAnnotator | image | mode='lastframe'<br>expand_num=80 (default) | |
75
+ | extension | frameref | FrameRefExpandAnnotator | two images<br>a.jpg,b.jpg | mode='firstlastframe'<br>expand_num=80 (default) | Images are separated by commas. |
76
+ | extension | clipref | FrameRefExpandAnnotator | video | mode='firstclip'<br>expand_num=80 (default) | |
77
+ | extension | clipref | FrameRefExpandAnnotator | video | mode='lastclip'<br>expand_num=80 (default) | |
78
+ | extension | clipref | FrameRefExpandAnnotator | two videos<br>a.mp4,b.mp4 | mode='firstlastclip'<br>expand_num=80 (default) | Videos are separated by commas. |
79
+ | repainting | inpainting_mask | InpaintingAnnotator | video | mode='salient' | Use salient as a fixed mask. |
80
+ | repainting | inpainting_mask | InpaintingAnnotator | video + mask | mode='mask' | Use mask as a fixed mask. |
81
+ | repainting | inpainting_bbox | InpaintingAnnotator | video + bbox<br>'x1, y1, x2, y2' | mode='bbox' | Use bbox as a fixed mask. |
82
+ | repainting | inpainting_masktrack | InpaintingAnnotator | video | mode='salientmasktrack' | Use salient mask for dynamic tracking. |
83
+ | repainting | inpainting_masktrack | InpaintingAnnotator | video | mode='salientbboxtrack' | Use salient bbox for dynamic tracking. |
84
+ | repainting | inpainting_masktrack | InpaintingAnnotator | video + mask | mode='masktrack' | Use mask for dynamic tracking. |
85
+ | repainting | inpainting_bboxtrack | InpaintingAnnotator | video + bbox<br>'x1, y1, x2, y2' | mode='bboxtrack' | Use bbox for dynamic tracking. |
86
+ | repainting | inpainting_label | InpaintingAnnotator | video + label | mode='label' | Use label for dynamic tracking. |
87
+ | repainting | inpainting_caption | InpaintingAnnotator | video + caption | mode='caption' | Use caption for dynamic tracking. |
88
+ | repainting | outpainting | OutpaintingVideoAnnotator | video | direction=left/right/up/down<br>expand_ratio=0~1.0 | Combine outpainting directions arbitrarily. |
89
+ | reference | image_reference | SubjectAnnotator | image | mode='salient/mask/bbox/salientmasktrack/salientbboxtrack/masktrack/bboxtrack/label/caption'<br>maskaug_mode(optional)='original/original_expand/hull/hull_expand/bbox/bbox_expand'<br>maskaug_ratio(optional)=0~1.0 | Use different methods to obtain the subject region. |
90
+
91
+ ### 3.3 Composition Task
92
+
93
+ Moreover, VACE supports combining tasks to accomplish more complex objectives. The following examples illustrate how tasks can be combined, but these combinations are not limited to the examples provided:
94
+
95
+ | Task | Subtask | Annotator | Input modal | Params | Note |
96
+ |-------------|--------------------|----------------------------|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
97
+ | composition | reference_anything | ReferenceAnythingAnnotator | image_list | mode='salientmasktrack/salientbboxtrack/masktrack/bboxtrack/label/caption' | Input no more than three images. |
98
+ | composition | animate_anything | AnimateAnythingAnnotator | image + video | mode='salientmasktrack/salientbboxtrack/masktrack/bboxtrack/label/caption' | Video for conditional redrawing; images for reference generation. |
99
+ | composition | swap_anything | SwapAnythingAnnotator | image + video | mode='masktrack/bboxtrack/label/caption'<br>maskaug_mode(optional)='original/original_expand/hull/hull_expand/bbox/bbox_expand'<br>maskaug_ratio(optional)=0~1.0 | Video for conditional redrawing; images for reference generation.<br>Comma-separated mode: first for video, second for images. |
100
+ | composition | expand_anything | ExpandAnythingAnnotator | image + image_list | mode='masktrack/bboxtrack/label/caption'<br>direction=left/right/up/down<br>expand_ratio=0~1.0<br>expand_num=80 (default) | First image for extension edit; others for reference.<br>Comma-separated mode: first for video, second for images. |
101
+ | composition | move_anything | MoveAnythingAnnotator | image + two bboxes | expand_num=80 (default) | First image for initial frame reference; others represented by linear bbox changes. |
102
+ | composition | more_anything | ... | ... | ... | ... |
103
+
104
+
105
+ ## 4. Model Inference
106
+
107
+ ### 4.1 Execution Methods
108
+
109
+ Both command line and Gradio demo are supported.
110
+
111
+ 1) Command Line: Refer to the `run_vace_ltx.sh` and `run_vace_wan.sh` scripts and invoke them based on the different task types. The input data needs to be preprocessed to obtain parameters such as `src_video`, `src_mask`, `src_ref_images` and `prompt`. An example command is as follows:
112
+ ```bash
113
+ python vace/vace_wan_inference.py --src_video <path-to-src-video> --src_mask <path-to-src-mask> --src_ref_images <paths-to-src-ref-images> --prompt <prompt> # wan
114
+ python vace/vace_ltx_inference.py --src_video <path-to-src-video> --src_mask <path-to-src-mask> --src_ref_images <paths-to-src-ref-images> --prompt <prompt> # ltx
115
+ ```
116
+
117
+ 2) Gradio Interactive: Launch the graphical interface for model inference and perform inference through interactions on the interface. The specific command is as follows:
118
+ ```bash
119
+ python vace/gradios/vace_wan_demo.py # wan
120
+ python vace/gradios/vace_ltx_demo.py # ltx
121
+ ```
122
+
123
+ ![gr_infer_demo](https://raw.githubusercontent.com/ali-vilab/VACE/refs/heads/main/assets/materials/gr_infer_demo.jpg)
124
+
125
+ 3) End-to-End Inference: Refer to the `run_vace_pipeline.sh` script and invoke it based on different task types and input data. This pipeline includes both preprocessing and model inference, thereby requiring only user-provided materials. However, it offers relatively less flexibility. An example command is as follows:
126
+ ```bash
127
+ python vace/vace_pipeline.py --base wan --task depth --video <path-to-video> --prompt <prompt> # wan
128
+ python vace/vace_pipeline.py --base lxt --task depth --video <path-to-video> --prompt <prompt> # ltx
129
+ ```
130
+
131
+ ### 4.2 Inference Examples
132
+
133
+ We provide test examples under different tasks, enabling users to validate according to their needs. These include **task**, **sub-tasks**, **original inputs** (ori_videos and ori_images), **model inputs** (src_video, src_mask, src_ref_images, prompt), and **model outputs**.
134
+
135
+ | task | subtask | src_video | src_mask | src_ref_images | out_video | prompt | ori_video | ori_images |
136
+ |-------------|--------------------|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
137
+ | txt2vid | txt2vid | | | | <video controls height="200" src="assets/examples/txt2vid/out_video.mp4"></video> | 狂风巨浪的大海,镜头缓缓推进,一艘渺小的帆船在汹涌的波涛中挣扎漂荡。海面上白沫翻滚,帆船时隐时现,仿佛随时可能被巨浪吞噬。天空乌云密布,雷声轰鸣,海鸥在空中盘旋尖叫。帆船上的人们紧紧抓住缆绳,努力保持平衡。画面风格写实,充满紧张和动感。近景特写,强调风浪的冲击力和帆船的摇晃 | | |
138
+ | extension | firstframe | <video controls height="200" src="assets/examples/firstframe/src_video.mp4"></video> | <video controls height="200" src="assets/examples/firstframe/src_mask.mp4"></video> | | <video controls height="200" src="assets/examples/firstframe/out_video.mp4"></video> | 纪实摄影风格,前景是一位中国越野爱好者坐在越野车上,手持车载电台正在进行通联。他五官清晰,表情专注,眼神坚定地望向前方。越野车停在户外,车身略显脏污,显示出经历过的艰难路况。镜头从车外缓缓拉近,最后定格在人物的面部特写上,展现出他的坚定与热情。中景到近景,动态镜头运镜。 | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/firstframe/ori_image_1.png"> |
139
+ | repainting | inpainting | <video controls height="200" src="assets/examples/inpainting/src_video.mp4"></video> | <video controls height="200" src="assets/examples/inpainting/src_mask.mp4"></video> | | <video controls height="200" src="assets/examples/inpainting/out_video.mp4"></video> | 一只巨大的金色凤凰从繁华的城市上空展翅飞过,羽毛如火焰般璀璨,闪烁着温暖的光辉,翅膀雄伟地展开。凤凰高昂着头,目光炯炯,轻轻扇动翅膀,散发出淡淡的光芒。下方是熙熙攘攘的市中心,人群惊叹,车水马龙,红蓝两色的霓虹灯在夜空下闪烁。镜头俯视城市街道,捕捉这一壮丽的景象,营造出既神秘又辉煌的氛围。 | <video controls height="200" src="assets/examples/inpainting/ori_video.mp4"></video> | |
140
+ | repainting | outpainting | <video controls height="200" src="assets/examples/outpainting/src_video.mp4"></video> | <video controls height="200" src="assets/examples/outpainting/src_mask.mp4"></video> | | <video controls height="200" src="assets/examples/outpainting/out_video.mp4"></video> | 赛博朋克风格,无人机俯瞰视角下的现代西安城墙,镜头穿过永宁门时泛起金色涟漪,城墙砖块化作数据流重组为唐代长安城。周围的街道上流动的人群和飞驰的机械交通工具交织在一起,现代与古代的交融,城墙上的灯光闪烁,形成时空隧道的效果。全息投影技术展现历史变迁,粒子重组特效细腻逼真。大远景逐渐过渡到特写,聚焦于城门特效。 | <video controls height="200" src="assets/examples/outpainting/ori_video.mp4"></video> | |
141
+ | control | depth | <video controls height="200" src="assets/examples/depth/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/depth/out_video.mp4"></video> | 一群年轻人在天空之城拍摄集体照。画面中,一对年轻情侣手牵手,轻声细语,相视而笑,周围是飞翔的彩色热气球和闪烁的星星,营造出浪漫的氛围。天空中,暖阳透过飘浮的云朵,洒下斑驳的光影。镜头以近景特写开始,随着情侣间的亲密互动,缓缓拉远。 | <video controls height="200" src="assets/examples/depth/ori_video.mp4"></video> | |
142
+ | control | flow | <video controls height="200" src="assets/examples/flow/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/flow/out_video.mp4"></video> | 纪实摄影风格,一颗鲜红的小番茄缓缓落入盛着牛奶的玻璃杯中,溅起晶莹的水花。画面以慢镜头捕捉这一瞬间,水花在空中绽放,形成美丽的弧线。玻璃杯中的牛奶纯白,番茄的鲜红与之形成鲜明对比。背景简洁,突出主体。近景特写,垂直俯视视角,展现细节之美。 | <video controls height="200" src="assets/examples/flow/ori_video.mp4"></video> | |
143
+ | control | gray | <video controls height="200" src="assets/examples/gray/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/gray/out_video.mp4"></video> | 镜头缓缓向右平移,身穿淡黄色坎肩长裙的长发女孩面对镜头露出灿烂的漏齿微笑。她的长发随风轻扬,眼神明亮而充满活力。背景是秋天红色和黄色的树叶,阳光透过树叶的缝隙洒下斑驳光影,营造出温馨自然的氛围。画面风格清新自然,仿佛夏日午后的一抹清凉。中景人像,强调自然光效和细腻的皮肤质感。 | <video controls height="200" src="assets/examples/gray/ori_video.mp4"></video> | |
144
+ | control | pose | <video controls height="200" src="assets/examples/pose/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/pose/out_video.mp4"></video> | 在一个热带的庆祝派对上,一家人围坐在椰子树下的长桌旁。桌上摆满了异国风味的美食。长辈们愉悦地交谈,年轻人兴奋地举杯碰撞,孩子们在沙滩上欢乐奔跑。背景中是湛蓝的海洋和明亮的阳光,营造出轻松的气氛。镜头以动态中景捕捉每个开心的瞬间,温暖的阳光映照着他们幸福的面庞。 | <video controls height="200" src="assets/examples/pose/ori_video.mp4"></video> | |
145
+ | control | scribble | <video controls height="200" src="assets/examples/scribble/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/scribble/out_video.mp4"></video> | 画面中荧光色彩的无人机从极低空高速掠过超现实主义风格的西安古城墙,尘埃反射着阳光。镜头快速切换至城墙上的砖石特写,阳光温暖地洒落,勾勒出每一块砖块的细腻纹理。整体画质清晰华丽,运镜流畅如水。 | <video controls height="200" src="assets/examples/scribble/ori_video.mp4"></video> | |
146
+ | control | layout | <video controls height="200" src="assets/examples/layout/src_video.mp4"></video> | | | <video controls height="200" src="assets/examples/layout/out_video.mp4"></video> | 视频展示了一只成鸟在树枝上的巢中喂养它的幼鸟。成鸟在喂食的过程中,幼鸟张开嘴巴等待食物。随后,成鸟飞走,幼鸟继续等待。成鸟再次飞回,带回食物喂养幼鸟。整个视频的拍摄角度固定,聚焦于巢穴和鸟类的互动,背景是模糊的绿色植被,强调了鸟类的自然行为和生态环境。 | <video controls height="200" src="assets/examples/layout/ori_video.mp4"></video> | |
147
+ | reference | face | | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/face/src_ref_image_1.png"> | <video controls height="200" src="assets/examples/face/out_video.mp4"></video> | 视频展示了一位长着尖耳朵的老人,他有一头银白色的长发和小胡子,穿着一件色彩斑斓的长袍,内搭金色衬衫,散发出神秘与智慧的气息。背景为一个华丽宫殿的内部,金碧辉煌。灯光明亮,照亮他脸上的神采奕奕。摄像机旋转动态拍摄,捕捉老人轻松挥手的动作。 | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/face/ori_image_1.png"> |
148
+ | reference | object | | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/object/src_ref_image_1.png"> | <video controls height="200" src="assets/examples/object/out_video.mp4"></video> | 经典游戏角色马里奥在绿松石色水下世界中,四周环绕着珊瑚和各种各样的热带鱼。马里奥兴奋地向上跳起,摆出经典的欢快姿势,身穿鲜明的蓝色潜水服,红色的潜水面罩上印有“M”标志,脚上是一双潜水靴。背景中,水泡随波逐流,浮现出一个巨大而友好的海星。摄像机从水底向上快速移动,捕捉他跃出水面的瞬间,灯光明亮而流动。该场景融合了动画与幻想元素,令人惊叹。 | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/object/ori_image_1.png"> |
149
+ | composition | reference_anything | | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/reference_anything/src_ref_image_1.png">,<img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/reference_anything/src_ref_image_2.png"> | <video controls height="200" src="assets/examples/reference_anything/out_video.mp4"></video> | 一名打扮成超人的男子自信地站着,面对镜头,肩头有一只充满活力的毛绒黄色鸭子。他留着整齐的短发和浅色胡须,鸭子有橙色的喙和脚,它的翅膀稍微展开,脚分开以保持稳定。他的表情严肃而坚定。他穿着标志性的蓝红超人服装,胸前有黄色“S”标志。斗篷在他身后飘逸。背景有行人。相机位于视线水平,捕捉角色的整个上半身。灯光均匀明亮。 | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/reference_anything/ori_image_1.png">,<img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/reference_anything/ori_image_2.png"> |
150
+ | composition | swap_anything | <video controls height="200" src="assets/examples/swap_anything/src_video.mp4"></video> | <video controls height="200" src="assets/examples/swap_anything/src_mask.mp4"></video> | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/swap_anything/src_ref_image_1.png"> | <video controls height="200" src="assets/examples/swap_anything/out_video.mp4"></video> | 视频展示了一个人在宽阔的草原上骑马。他有淡紫色长发,穿着传统服饰白上衣黑裤子,动画建模画风,看起来像是在进行某种户外活动或者是在进行某种表演。背景是壮观的山脉和多云的天空,给人一种宁静而广阔的感觉。整个视频的拍摄角度是固定的,重点展示了骑手和他的马。 | <video controls height="200" src="assets/examples/swap_anything/ori_video.mp4"></video> | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/swap_anything/ori_image_1.jpg"> |
151
+ | composition | expand_anything | <video controls height="200" src="assets/examples/expand_anything/src_video.mp4"></video> | <video controls height="200" src="assets/examples/expand_anything/src_mask.mp4"></video> | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/expand_anything/src_ref_image_1.png"> | <video controls height="200" src="assets/examples/expand_anything/out_video.mp4"></video> | 古典油画风格,背景是一条河边,画面中央一位成熟优雅的女人,穿着长裙坐在椅子上。她双手从怀里取出打开的红色心形墨镜戴上。固定机位。 | | <img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/expand_anything/ori_image_1.jpeg">,<img style="width: auto; height: 200px; object-fit: contain;" src="assets/examples/expand_anything/ori_image_2.png"> |
152
+
153
+ ## 5. Limitations
154
+
155
+ - VACE-LTX-Video-0.9
156
+ - The prompt significantly impacts video generation quality on LTX-Video. It must be extended in accordance with the methods described in this [system prompt](https://huggingface.co/spaces/Lightricks/LTX-Video-Playground/blob/main/assets/system_prompt_i2v.txt). We also provide input parameters for using prompt extension (--use_prompt_extend).
157
+ - This model is intended for experimental research validation within the VACE paper and may not guarantee performance in real-world scenarios. However, its inference speed is very fast, capable of creating a video in 25 seconds with 40 steps on an A100 GPU, making it suitable for preliminary data and creative validation.
158
+ - VACE-Wan2.1-1.3B-Preview
159
+ - This model mainly keeps the original Wan2.1-T2V-1.3B's video quality while supporting various tasks.
160
+ - When you encounter failure cases with specific tasks, we recommend trying again with a different seed and adjusting the prompt.
assets/examples/depth/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a155ff5265ac0f4beca76257744fff89182ed1243caeb31fe50eba4c442ac561
3
+ size 9175298
assets/examples/depth/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bb666d8ca82ce9f0815a666639d6a71b9e716b1c8283d1f5e3f266c7e3b1567
3
+ size 3844987
assets/examples/depth/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f201fd22fb40b56e43093cd8d22851d67b4fd2186c35cf24b9dd4ab95ca3ced0
3
+ size 2673490
assets/examples/expand_anything/ori_image_1.jpeg ADDED

Git LFS Details

  • SHA256: e4d6c64c0d8d7cef0b70a9cca87f4d20b65d4c7653ccac2ccb0b6ec50b68ec19
  • Pointer size: 131 Bytes
  • Size of remote file: 334 kB
assets/examples/expand_anything/ori_image_2.png ADDED

Git LFS Details

  • SHA256: 6f68ffd0de6498a184a0a27d66214d0fde3292878f2f3c6d28c736fb37cf030e
  • Pointer size: 131 Bytes
  • Size of remote file: 505 kB
assets/examples/expand_anything/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0e0669ce7ecd4298b10e1d6dfd16289a51ea70b41071905493a8063d0914362
3
+ size 5539047
assets/examples/expand_anything/src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc1a626af01726336d240c564b111bb7d3bc7afab7a507e449745b83feb2a1f9
3
+ size 6127
assets/examples/expand_anything/src_ref_image_1.png ADDED

Git LFS Details

  • SHA256: 6f68ffd0de6498a184a0a27d66214d0fde3292878f2f3c6d28c736fb37cf030e
  • Pointer size: 131 Bytes
  • Size of remote file: 505 kB
assets/examples/expand_anything/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5552f0564a8f59e61e7b974e9129255a73a086e5b1ccb718d1aabf60b42e8cd
3
+ size 176778
assets/examples/face/ori_image_1.png ADDED

Git LFS Details

  • SHA256: 0c49bdee86644a0e8c81a719ead4d5fa2d82a4150c44387c24db05bd124ad655
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
assets/examples/face/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb47e38d2487e05c5f25e3182e11373164c905d11562a5a67feb0201f486c3b2
3
+ size 4738703
assets/examples/face/src_ref_image_1.png ADDED

Git LFS Details

  • SHA256: d6bd58e69f1a39b7d587fb30e651d1b9121f66d72969e4ad498a2eeaa7287e94
  • Pointer size: 131 Bytes
  • Size of remote file: 294 kB
assets/examples/firstframe/ori_image_1.png ADDED

Git LFS Details

  • SHA256: f349c25338856941ac115294526f61e0597614c89820cc667cfe8288e2e995f6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
assets/examples/firstframe/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d2f4ef6fb6aad1fdb25437f3c12d0739c705d0b5c61cedcb4b17888e1ffa3f0
3
+ size 3184400
assets/examples/firstframe/src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cfc44fb17decc101b8f9a02483b61c66dbb205816559e9b0841e1c361e2e72e
3
+ size 10356
assets/examples/firstframe/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:543b372988f337725881323671a44697d082be3ffb77059edd13d83e9b0511dd
3
+ size 152102
assets/examples/flow/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:649411395d1aee25aa5c65a61ca904eabfda2d56a920923db1abac5fc4942b4a
3
+ size 7033492
assets/examples/flow/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f66c40fa0f9d8b8aff3c82e6e20264bbee29ccf0d6544662871c6f46d26d349
3
+ size 2215940
assets/examples/flow/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:992309a0bd692b870afb601400d26638b0db2d84eeafa1d466b30a7739d02bdd
3
+ size 5484810
assets/examples/gray/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa4468a7698a8c5901bdd919bafc9c707e1e9d58fd248c1f40a0107ce1d1287
3
+ size 9176438
assets/examples/gray/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89c40312a3be1d48be1ecce48069d66077a438afda32417884e5952882bb522a
3
+ size 3823543
assets/examples/gray/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8060f5e29a4623c0417e45c241a1f06f9004eb36a6e871da3827cb949257f32e
3
+ size 8583598
assets/examples/inpainting/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6ff125a102beae9305ba0e04c536ad5e401c82a46b2b53a78df58ef174181b6
3
+ size 14418789
assets/examples/inpainting/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b532ed0fc4da14d81e0837c946b294ea5b1ef2627aa4299e57c1324d2f6339c5
3
+ size 6472206
assets/examples/inpainting/src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07e7f67f6389eb5172c4531a3d9fe73c6893e47fedd00f973d543bb06520d851
3
+ size 378282
assets/examples/inpainting/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6de96dd575c79437184710a847929b4bc06501ebc6a48ba34631707e4367e29
3
+ size 7579044
assets/examples/layout/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d5934f2695ab878724d129961047a28f8641b19abf5f9a0d6f1e555046786c1
3
+ size 702795
assets/examples/layout/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f25619eda00e56b34018b4418c9924441d44fef6cde1602a5476773e5ead5eb8
3
+ size 4480934
assets/examples/layout/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a67e02372bef015fc657a13d5aa490e758d58114d237978250af7f96293628
3
+ size 20003
assets/examples/object/ori_image_1.png ADDED

Git LFS Details

  • SHA256: 8b28aaf2acbda34a6c13133be6abf8478fac4693f27b382b361028a202a06894
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
assets/examples/object/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc5b17704605550901c5e4f33292136fb6dfd00a7d27686f50dfd5cb356b1bdc
3
+ size 5980751
assets/examples/object/src_ref_image_1.png ADDED

Git LFS Details

  • SHA256: 1cf113c9df030a5547ec04163bd0490e81da4853445955bb752f50570a48ccee
  • Pointer size: 131 Bytes
  • Size of remote file: 515 kB
assets/examples/outpainting/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3be20246b73a8ddc376b54b20628e87e5b68b8d534774d4cf9635ac99673a856
3
+ size 20777667
assets/examples/outpainting/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3753f89aaf5fce98d656ac100d93f20fc65b31750c088f99c2fb9238de7ab0e
3
+ size 7588273
assets/examples/outpainting/src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2bbb16a03d84c0ff3c78d543fd2630f652315bff4e8c28fed7856a7f97110cc
3
+ size 16731
assets/examples/outpainting/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a797263380421b892cd4d43dedc9e3652d5c345de68c4d2f072e57a733cc8cf1
3
+ size 20695622
assets/examples/pose/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:005e850eb0fc27ccade3967e143df7155754868199290549b9e9eb4ec298a558
3
+ size 7007490
assets/examples/pose/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ad90520040dafd9cddc5ac915a61cdce7394105e1d56cfbb9cf8363f2c85086
3
+ size 5844282
assets/examples/pose/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c6c8fe70de71f0a6768cb46cce3c22d1e9934926a07e6e3993bc4416b71bf6d
3
+ size 3431100
assets/examples/reference_anything/ori_image_1.png ADDED

Git LFS Details

  • SHA256: e5b8d183558c291a9257f744260e69644392fe920663ab8ff56269f63cf58900
  • Pointer size: 132 Bytes
  • Size of remote file: 1.92 MB
assets/examples/reference_anything/ori_image_2.png ADDED

Git LFS Details

  • SHA256: 68af093331dd760b550d7d247f0d5e341524d7602919585085a3ed75224e7e09
  • Pointer size: 131 Bytes
  • Size of remote file: 422 kB
assets/examples/reference_anything/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc0e1db04df73332af56cef84b86b35e7dc80df3be08292e7064b3db40c91692
3
+ size 3530325
assets/examples/reference_anything/src_ref_image_1.png ADDED

Git LFS Details

  • SHA256: 7786b2ac0ab20a8e988429fb99758930a3a66d1e309c5656eef9b8042e5f2922
  • Pointer size: 131 Bytes
  • Size of remote file: 408 kB
assets/examples/reference_anything/src_ref_image_2.png ADDED

Git LFS Details

  • SHA256: c8ec7050feff4dc993df42ca158522c5c6000a0779c19e815ffa57d1b49eaae1
  • Pointer size: 131 Bytes
  • Size of remote file: 384 kB
assets/examples/scribble/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030f88eb7f4a8fa0ea927be8525609c995acf90fb6b0bdfdc3b5da1c695955e0
3
+ size 14542584
assets/examples/scribble/out_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:786e2900ab5b93536254d10b1d768dfe99c1caba2d29a94906cf1d6def101a19
3
+ size 5798493
assets/examples/scribble/src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0caaedd0c3126979471418b408acd7653f77610eccf086e4a197a7277f79358c
3
+ size 16876466
assets/examples/swap_anything/ori_image_1.jpg ADDED

Git LFS Details

  • SHA256: 64021ea3e60a94a159eb2a34998904e47d47c5314f357892b9a29fa0018be6c9
  • Pointer size: 130 Bytes
  • Size of remote file: 73.3 kB
assets/examples/swap_anything/ori_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a1b04900f989e177841163356835f6f4e036b86bffe2709d4918b8fe7562a63
3
+ size 2537893