text_to_video
Create a text-to-video generation task on RunAPI. Submit a prompt and receive a task ID, status, and output URLs for the generated video.
Instructions
Create a Wan task on RunAPI (text to video). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| ratio | No | ||
| prompt | No | ||
| watermark | No | ||
| timeout_ms | No | ||
| acceleration | No | ||
| aspect_ratio | No | ||
| callback_url | No | ||
| negative_prompt | No | ||
| duration_seconds | No | ||
| poll_interval_ms | No | ||
| output_resolution | No | ||
| reference_audio_url | No | ||
| background_audio_url | No | ||
| reference_image_urls | No | ||
| reference_video_urls | No | ||
| enable_safety_checker | No | ||
| first_frame_image_url | No | ||
| enable_prompt_expansion | No |