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.

ModelKeyStrength
Veo 3.1 Fastgoogle/veo3.1-fastFast cinematic clips with fixed 8s duration.
Veo 3.1 Qualitygoogle/veo3.1-qualityHigher-quality Veo 3.1 output.
Sora 2openai/sora-2Narrative and performance-oriented scenes.
Kling 3.0kling/kling-v3Motion-heavy product and character shots.
Seedance 2.0 Fastdoubao/seedance-2.0-fastFlexible 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"
  }'