Skip to content

Commit 7d65c6f

Browse files
sayakpaulw4ffl35
authored andcommitted
[Docs] small fixes to the text to video doc. (huggingface#2787)
* small fixes to the text to video doc. * add: Spaces link. * add: warning on research-only model.
1 parent 9a3ac18 commit 7d65c6f

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/source/en/api/pipelines/text_to_video.mdx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,33 @@ an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express o
1010
specific language governing permissions and limitations under the License.
1111
-->
1212

13+
<Tip warning={true}>
14+
15+
This pipeline is for research purposes only.
16+
17+
</Tip>
18+
1319
# Text-to-video synthesis
1420

15-
Text-to-video synthesis from [ModelScope](https://modelscope.cn/) can be considered the same as Stable Diffusion structure-wise but it is extended to videos instead of static images. More specifically, this system allows us to generate videos from a natural language text prompt.
21+
## Overview
22+
23+
[VideoFusion: Decomposed Diffusion Models for High-Quality Video Generation](https://arxiv.org/abs/2303.08320) by Zhengxiong Luo, Dayou Chen, Yingya Zhang, Yan Huang, Liang Wang, Yujun Shen, Deli Zhao, Jingren Zhou, Tieniu Tan.
1624

17-
From the [model summary](https://huggingface.co/damo-vilab/modelscope-damo-text-to-video-synthesis):
25+
The abstract of the paper is the following:
1826

19-
*This model is based on a multi-stage text-to-video generation diffusion model, which inputs a description text and returns a video that matches the text description. Only English input is supported.*
27+
*A diffusion probabilistic model (DPM), which constructs a forward diffusion process by gradually adding noise to data points and learns the reverse denoising process to generate new samples, has been shown to handle complex data distribution. Despite its recent success in image synthesis, applying DPMs to video generation is still challenging due to high-dimensional data spaces. Previous methods usually adopt a standard diffusion process, where frames in the same video clip are destroyed with independent noises, ignoring the content redundancy and temporal correlation. This work presents a decomposed diffusion process via resolving the per-frame noise into a base noise that is shared among all frames and a residual noise that varies along the time axis. The denoising pipeline employs two jointly-learned networks to match the noise decomposition accordingly. Experiments on various datasets confirm that our approach, termed as VideoFusion, surpasses both GAN-based and diffusion-based alternatives in high-quality video generation. We further show that our decomposed formulation can benefit from pre-trained image diffusion models and well-support text-conditioned video creation.*
2028

2129
Resources:
2230

2331
* [Website](https://modelscope.cn/models/damo/text-to-video-synthesis/summary)
2432
* [GitHub repository](https://github.com/modelscope/modelscope/)
25-
* [Spaces] (TODO)
33+
* [🤗 Spaces](https://huggingface.co/spaces/damo-vilab/modelscope-text-to-video-synthesis)
2634

2735
## Available Pipelines:
2836

2937
| Pipeline | Tasks | Demo
3038
|---|---|:---:|
31-
| [DiffusionPipeline](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py) | *Text-to-Video Generation* | [Spaces] (TODO)
39+
| [TextToVideoSDPipeline](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py) | *Text-to-Video Generation* | [🤗 Spaces](https://huggingface.co/spaces/damo-vilab/modelscope-text-to-video-synthesis)
3240

3341
## Usage example
3442

@@ -116,7 +124,7 @@ Here are some sample outputs:
116124
* [damo-vilab/text-to-video-ms-1.7b](https://huggingface.co/damo-vilab/text-to-video-ms-1.7b/)
117125
* [damo-vilab/text-to-video-ms-1.7b-legacy](https://huggingface.co/damo-vilab/text-to-video-ms-1.7b-legacy)
118126

119-
## DiffusionPipeline
120-
[[autodoc]] DiffusionPipeline
127+
## TextToVideoSDPipeline
128+
[[autodoc]] TextToVideoSDPipeline
121129
- all
122130
- __call__

0 commit comments

Comments
 (0)