Veo 3.1 by Google, the most advanced AI video generation model in the world. With sound on!
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/veo3.1",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "An astronaut in a white spacesuit with gold visor steps off a lander's bottom...",
"duration": "8s",
"resolution": "4k",
"aspect_ratio": "16:9",
"generate_audio": true
},
)
data = response.json()
print(data["video"]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | The text prompt describing the video you want to generate |
| auto_fix | boolean | Whether to automatically attempt to fix prompts that fail content policy or other validation checks by rewriting them. |
| duration | string | The duration of the generated video. |
| generate_audio | boolean | Whether to generate audio for the video. |
| resolution | string | The resolution of the generated video. |
| aspect_ratio | string | Aspect ratio of the generated video |
| safety_tolerance | string | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. |
| seed | integer | The seed for the random number generator. |
| negative_prompt | string | A negative prompt to guide the video generation. |
| Field | Type | Description |
|---|---|---|
| video | string | The generated video. |
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...
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 Text to Video
bytedance/seedance/2.0/text-to-video
Seedance 2.0 generates high-quality videos from text prompts with synchronized a...
Get API access in minutes. No GPU setup, no infrastructure to manage.