Text to Video
text-to-videoGenerate videos from text descriptions. Creates AI-generated videos based on your text prompt. Returns a request ID that can be used with fetch-video to retrieve results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second for the output video. | |
| width | No | Video width in pixels (512-1024). | |
| height | No | Video height in pixels (512-1024). | |
| prompt | Yes | Text description of the video to generate. | |
| webhook | No | URL to receive webhook notification when generation completes. | |
| duration | No | Video duration in seconds (minimum 4). | |
| model_id | Yes | The model ID to use for video generation. | |
| portrait | No | Generate in portrait orientation. | |
| track_id | No | Custom tracking ID for the request. | |
| init_audio | No | URL of audio to sync with the video. | |
| resolution | No | Output resolution preset. | |
| aspect_ratio | No | Aspect ratio for the video (e.g., "16:9", "9:16"). | |
| camera_fixed | No | Keep camera position fixed during generation. | |
| enhance_prompt | No | Use AI to enhance the prompt. | |
| generate_audio | No | Generate audio for the video. | |
| negative_prompt | No | Things to avoid in the generated video. |