Seedance 2.0 generates high-quality videos from text prompts with synchronized audio including sound effects, ambient sounds, and lip-synced speech.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/seedance/2.0/text-to-video",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "A street musician plays violin on a cobblestone bridge in Prague at golden ho..."
},
)
data = response.json()
print(data["video"]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | The text prompt used to generate the video |
| aspect_ratio | string | The aspect ratio of the generated video. Use 16:9 for landscape, 9:16 for portrait/vertical, 1:1 for square, 21:9 for ultrawide cinematic, or auto to let the model decide. |
| duration | string | Duration of the video in seconds. Supports 4 to 15 seconds, or auto to let the model decide based on the prompt. |
| resolution | string | Video resolution - 480p for faster generation, 720p for balance. |
| generate_audio | boolean | Whether to generate synchronized audio for the video, including sound effects, ambient sounds, and lip-synced speech. The cost of video generation is the same regardless of whether audio is generated or not. |
| seed | string | Random seed for reproducibility. Note that results may still vary slightly even with the same seed. |
| end_user_id | string | The unique user ID of the end user. |
| Field | Type | Description |
|---|---|---|
| video | string | The generated video file. |
| seed | integer | The seed used for generation. |
Seedance 2.0 Fast Text to Video
bytedance/seedance/2.0/fast/text-to-video
Fast variant of Seedance 2.0 for quicker text-to-video generation with synchroni...
Seedance 2.0 Image to Video
bytedance/seedance/2.0/image-to-video
Seedance 2.0 animates a starting frame image into video, with optional end frame...
Veo 3.1 Lite
google/veo3.1/lite
Veo 3.1 Lite balances practical utility with professional capabilities....
Wan 2.7 Text to Video
alibaba/wan/v2.7/text-to-video
Wan 2.7 is the latest generation AI video model, delivering enhanced motion smoo...
Get API access in minutes. No GPU setup, no infrastructure to manage.