diff --git a/docs/inference-providers/_toctree.yml b/docs/inference-providers/_toctree.yml
index 7a11d8bec..996254ba0 100644
--- a/docs/inference-providers/_toctree.yml
+++ b/docs/inference-providers/_toctree.yml
@@ -22,6 +22,8 @@
title: Feature Extraction
- local: tasks/text-to-image
title: Text to Image
+ - local: tasks/text-to-video
+ title: Text to Video
- title: Other Tasks
sections:
- local: tasks/audio-classification
diff --git a/docs/inference-providers/tasks/fill-mask.md b/docs/inference-providers/tasks/fill-mask.md
index d5331a9fe..346e2b421 100644
--- a/docs/inference-providers/tasks/fill-mask.md
+++ b/docs/inference-providers/tasks/fill-mask.md
@@ -31,7 +31,10 @@ Explore all available models and find the one that suits you best [here](https:/
### Using the API
-No snippet available for this task.
+
diff --git a/docs/inference-providers/tasks/index.md b/docs/inference-providers/tasks/index.md
index 60b15a8a0..c651c90aa 100644
--- a/docs/inference-providers/tasks/index.md
+++ b/docs/inference-providers/tasks/index.md
@@ -32,6 +32,15 @@
+
+
+ Text to Video
+
+ Generate an video based on a given text prompt.
+
+
+
diff --git a/docs/inference-providers/tasks/text-classification.md b/docs/inference-providers/tasks/text-classification.md
index 5c9e5b4de..9e19406a0 100644
--- a/docs/inference-providers/tasks/text-classification.md
+++ b/docs/inference-providers/tasks/text-classification.md
@@ -37,7 +37,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/docs/inference-providers/tasks/text-to-video.md b/docs/inference-providers/tasks/text-to-video.md
new file mode 100644
index 000000000..cdbff6b19
--- /dev/null
+++ b/docs/inference-providers/tasks/text-to-video.md
@@ -0,0 +1,73 @@
+
+
+## Text to Video
+
+Generate an video based on a given text prompt.
+
+
+
+For more details about the `text-to-video` task, check out its [dedicated page](https://huggingface.co/tasks/text-to-video)! You will find examples and related materials.
+
+
+
+### Recommended models
+
+- [tencent/HunyuanVideo](https://huggingface.co/tencent/HunyuanVideo): A strong model for consistent video generation.
+- [Lightricks/LTX-Video](https://huggingface.co/Lightricks/LTX-Video): A text-to-video model with high fidelity motion and strong prompt adherence.
+- [Wan-AI/Wan2.1-T2V-1.3B](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B): A robust model for video generation.
+
+Explore all available models and find the one that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=text-to-video&sort=trending).
+
+### Using the API
+
+
+
+
+
+
+### API specification
+
+#### Request
+
+| Payload | | |
+| :--- | :--- | :--- |
+| **inputs*** | _string_ | The input text data (sometimes called "prompt") |
+| **parameters** | _object_ | |
+| ** num_frames** | _number_ | The num_frames parameter determines how many video frames are generated. |
+| ** guidance_scale** | _number_ | A higher guidance scale value encourages the model to generate videos closely linked to the text prompt, but values too high may cause saturation and other artifacts. |
+| ** negative_prompt** | _string[]_ | One or several prompt to guide what NOT to include in video generation. |
+| ** num_inference_steps** | _integer_ | The number of denoising steps. More denoising steps usually lead to a higher quality video at the expense of slower inference. |
+| ** seed** | _integer_ | Seed for the random number generator. |
+
+
+Some options can be configured by passing headers to the Inference API. Here are the available headers:
+
+| Headers | | |
+| :--- | :--- | :--- |
+| **authorization** | _string_ | Authentication header in the form `'Bearer: hf_****'` when `hf_****` is a personal user access token with Inference API permission. You can generate one from [your settings page](https://huggingface.co/settings/tokens). |
+| **x-use-cache** | _boolean, default to `true`_ | There is a cache layer on the inference API to speed up requests we have already seen. Most models can use those results as they are deterministic (meaning the outputs will be the same anyway). However, if you use a nondeterministic model, you can set this parameter to prevent the caching mechanism from being used, resulting in a real new query. Read more about caching [here](../parameters#caching]). |
+| **x-wait-for-model** | _boolean, default to `false`_ | If the model is not ready, wait for it instead of receiving 503. It limits the number of requests required to get your inference done. It is advised to only set this flag to true after receiving a 503 error, as it will limit hanging in your application to known places. Read more about model availability [here](../overview#eligibility]). |
+
+For more information about Inference API headers, check out the parameters [guide](../parameters).
+
+#### Response
+
+| Body | |
+| :--- | :--- | :--- |
+| **video** | _unknown_ | The generated video returned as raw bytes in the payload. |
+
diff --git a/docs/inference-providers/tasks/translation.md b/docs/inference-providers/tasks/translation.md
index 261f13bca..d4e3be2fb 100644
--- a/docs/inference-providers/tasks/translation.md
+++ b/docs/inference-providers/tasks/translation.md
@@ -34,7 +34,7 @@ Explore all available models and find the one that suits you best [here](https:/
diff --git a/scripts/inference-providers/scripts/generate.ts b/scripts/inference-providers/scripts/generate.ts
index b8fe1d36c..24a937b8e 100644
--- a/scripts/inference-providers/scripts/generate.ts
+++ b/scripts/inference-providers/scripts/generate.ts
@@ -21,6 +21,7 @@ const TASKS: PipelineType[] = [
"text-classification",
"text-generation",
"text-to-image",
+ "text-to-video",
"token-classification",
"translation",
"zero-shot-classification",
diff --git a/scripts/inference-providers/templates/task/text-to-video.handlebars b/scripts/inference-providers/templates/task/text-to-video.handlebars
new file mode 100644
index 000000000..130bc2b02
--- /dev/null
+++ b/scripts/inference-providers/templates/task/text-to-video.handlebars
@@ -0,0 +1,29 @@
+## Text to Video
+
+Generate an video based on a given text prompt.
+
+{{{tips.linksToTaskPage.text-to-video}}}
+
+### Recommended models
+
+{{#each recommendedModels.text-to-video}}
+- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
+{{/each}}
+
+{{{tips.listModelsLink.text-to-video}}}
+
+### Using the API
+
+{{{snippets.text-to-video}}}
+
+### API specification
+
+#### Request
+
+{{{specs.text-to-video.input}}}
+
+{{{constants.specsHeaders}}}
+
+#### Response
+
+{{{specs.text-to-video.output}}}