首尾帧视频 API

使用首帧和尾帧输入创建可控视频转场。

首尾帧视频 API

部分视频模型支持 frames_to_video,需要 start_frame,并可选传入 end_frame。当你同时关心起始构图和最终构图时,适合使用这个工作流。

适用场景

  • 产品变化视频
  • 室内装修前后对比
  • 角色在两个姿态之间运动
  • 品牌可控转场

Veo 3.1 Fast 示例

curl https://buble.ai/api/v1/generations \
  -H "Authorization: Bearer $BUBLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/veo3.1-fast",
    "mode": "frames_to_video",
    "prompt": "Create an elegant transformation from the first frame to the final frame with smooth cinematic camera movement and realistic lighting continuity",
    "start_frame": "https://example.com/start.png",
    "end_frame": "https://example.com/end.png",
    "duration": "8s",
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }'

支持首尾帧的模型

  • google/veo3.1-fast
  • google/veo3.1-quality
  • doubao/seedance-2.0-fast
  • doubao/seedance-2.0
  • doubao/seedance-1.5-pro
  • kling/kling-v3

min_files: 1 表示只传首帧即可。只有需要控制结尾画面时再传 end_frame