Wan 2.7 is the latest generation AI video model, delivering enhanced motion smoothness, superior scene fidelity, and greater visual coherence.
pip install requestsimport requests
response = requests.post(
"https://api.runflow.io/v1/run/wan/v2.7/text-to-video",
headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
json={
"prompt": "Aerial drone shot pulling back slowly to reveal a vibrant coral reef teeming ...",
"duration": 5,
"resolution": "1080p"
},
)
data = response.json()
print(data["video"]["url"])| Parameter | Type | Description |
|---|---|---|
| prompt | string | Text prompt describing the desired video. Max 5000 characters. |
| audio_url | file | URL of driving audio. Supports WAV and MP3. Duration: 3-30s. Max 15 MB. If not provided, the model auto-generates matching background music. |
| aspect_ratio | string | Aspect ratio of the generated video. |
| resolution | string | Output video resolution tier. |
| duration | string | Output video duration in seconds (2-15). |
| negative_prompt | string | Content to avoid in the video. Max 500 characters. |
| enable_prompt_expansion | boolean | Enable intelligent prompt rewriting. |
| seed | integer | Random seed for reproducibility (0-2147483647). |
| enable_safety_checker | boolean | Enable content moderation for input and output. |
| Field | Type | Description |
|---|---|---|
| video | string | The generated video file. |
| seed | integer | The seed used for generation. |
| actual_prompt | string | The actual prompt used if prompt rewriting was enabled. |
Wan 2.7 Pro Edit
alibaba/wan/v2.7/pro/edit
Edit and transform images using text instructions with the WAN 2.7 Pro model for...
Wan 2.7 — Image to Video
alibaba/wan/v2.7/image-to-video
Wan 2.7 delivers enhanced motion smoothness, superior scene fidelity, and greate...
Veo 3.1 Lite
google/veo3.1/lite
Veo 3.1 Lite balances practical utility with professional capabilities....
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...
Get API access in minutes. No GPU setup, no infrastructure to manage.