Text to Video API
Generate videos from prompts with Buble video models.
Text to Video API
Use mode: "text_to_video" with a video model.
Recommended models
| Model | Key | Strength |
|---|---|---|
| Veo 3.1 Fast | google/veo3.1-fast | Fast cinematic clips with fixed 8s duration. |
| Veo 3.1 Quality | google/veo3.1-quality | Higher-quality Veo 3.1 output. |
| Sora 2 | openai/sora-2 | Narrative and performance-oriented scenes. |
| Kling 3.0 | kling/kling-v3 | Motion-heavy product and character shots. |
| Seedance 2.0 Fast | doubao/seedance-2.0-fast | Flexible duration and fast video production. |
Example
curl https://buble.ai/api/v1/generations \
-H "Authorization: Bearer $BUBLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao/seedance-2.0-fast",
"mode": "text_to_video",
"prompt": "A stylish 5-second social ad for a smart travel backpack, fast clean cuts, city morning light, premium lifestyle cinematography",
"duration": "5s",
"resolution": "720p",
"aspect_ratio": "9:16",
"audio": "false",
"web_search": "false"
}'