4Z API

首尾帧生视频

接口: POST https://4zapi.com/ent/v2/start-end2video

首帧 + 尾帧生成过渡视频。

请求体 (application/json)

  • images (array<string>, 必填): 图片 URL 或 Base64 列表
  • model (string, 必填): 模型名称
  • aspect_ratio (string): 宽高比,如 16:9、9:16、1:1 ["16:9", "9:16", "4:3", "3:4", "1:1", "auto"]
  • callback_url (string): 任务完成回调 URL
  • duration (integer): 视频时长(秒)
  • prompt (string): 文本提示词
  • resolution (string): 分辨率,如 720p/1080p
  • seed (integer): 随机种子,0 为随机
  • watermark (boolean): 是否添加水印