black-forest-labs/flux-3/video-extend-draft 视频续写

black-forest-labs/flux-3/video-extend-draft

FLUX 3 Video Extend Draft 可基于必填的输入视频,结合提示词快速续写下一场景的草稿片段,支持可选的同步音频,并提供 5–20 秒的灵活时长,便于快速迭代。

示例

black-forest-labs/flux-3/video-extend-draft 视频续写 示例 1

参数

名称类型默认约束说明
prompt *提示词textarea—≤ 5000 chars用于描述你想生成的视频内容的文本提示词。
aspect_ratio宽高比select—21:9 | 2:1 | 16:9 | 4:3 | 1:1 | 3:4 | 9:16生成内容的宽高比。
duration时长slider55 ~ 20 · step 1视频时长(秒),范围为 5–20。
generate_audio生成音频booleantrue—是否为视频生成音频。

输出字段

字段类型说明
videosarray<string>

API

通过统一 REST API 调用本模型;在 API Keys 页获取密钥。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/black-forest-labs/flux-3/video-extend-draft" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "Continue the scene naturally, preserving the subjects, setting, lighting and motion of the input video.",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": true
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/black-forest-labs/flux-3/video-extend-draft",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "Continue the scene naturally, preserving the subjects, setting, lighting and motion of the input video.",
            "aspect_ratio": "16:9",
            "duration": 5,
            "generate_audio": True
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 1800s server-side.
deadline = time.time() + 1860
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/black-forest-labs/flux-3/video-extend-draft", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "Continue the scene naturally, preserving the subjects, setting, lighting and motion of the input video.",
      "aspect_ratio": "16:9",
      "duration": 5,
      "generate_audio": true
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 1800s server-side.
const deadline = Date.now() + 1860 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

文档

black-forest-labs/flux-3/video-extend-draft 视频续写

black-forest-labs/flux-3/video-extend-draft

FLUX 3 Video Extend Draft 可基于必填的输入视频,结合提示词快速续写下一场景的草稿片段,支持可选的同步音频,并提供 5–20 秒的灵活时长,便于快速迭代。

参数

参数类型必填默认值范围/说明
promptstring是—max 5000 chars; 用于描述你想生成的视频内容的文本提示词。
videostring是—输入视频的 URL。支持 MP4,文件小于 50 MB,时长不超过 15 秒。
aspect_ratiostring否—21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16; 生成内容的宽高比。
durationinteger否55–20; step 1; 视频时长(秒),范围为 5–20。
generate_audioboolean否true是否为视频生成音频。

价格

ModeUSD / secondCredits / secondUSD / 5 seconds
Draft$0.1212$0.6

费用=单价 × min(ceil(duration), 20)。duration 为 5~20 的整数秒,默认 5 秒。generate_audio 不改变价格。 按请求的续写时长计费,不按输入视频时长计费。

与 WaveSpeed 官方标准标价一致;1 美元 = 100 积分。账户折扣另行计算。

API

curl -X POST https://www.namifusion.com/api/v1/marketplace/run/black-forest-labs/flux-3/video-extend-draft \
  -H "Authorization: Bearer $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "prompt": "Continue the scene naturally, preserving the subjects, setting, lighting and motion of the input video.",
    "video": "https://assets-public.namifusion.com/marketplace/videos/2026-04-14/88d6efad3763.mp4",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": true
  }
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
  -H "Authorization: Bearer $API_KEY"

提交后返回 task_uuid;轮询至 completed 或 failed。成功输出字段:output.videos(URL 数组)。本 API 使用异步任务并返回 URL。

WaveSpeed

相关模型

VT 唇形同步
视频转视频NamiFusion

VT 唇形同步

VT 唇形同步通过翻译后的视频、翻译后音频、翻译后字幕时间轴,以及原始视频和原始字幕时间轴,对翻译后的视频进行口型同步。

起 $0.200 / 每次
Kling Omni Video O3
视频转视频Kling

Kling Omni Video O3

Kling Omni Video O3 参考到视频模型可通过多个视角的角色、道具或场景参考生成创意视频。提取主体特征并创建新的视频内容,同时保持帧间身份一致性。支持音频生成。即用型 REST API,性能最佳,无冷启动,价格实惠。

起 $0.378 / 每次
Kling Omni Video O3
视频转视频Kling

Kling Omni Video O3

Kling Omni Video O3 参考到视频模型可通过多个视角的角色、道具或场景参考生成创意视频。提取主体特征并创建新的视频内容,同时保持帧间身份一致性。支持音频生成。即用型 REST API,性能最佳,无冷启动,价格实惠。

起 $0.630 / 每次
Kling 3.0 Standard 动作控制
视频转视频Kling

Kling 3.0 Standard 动作控制

Kling 3.0 Standard 动作控制将参考视频中的动作转移到静态图片中进行动画化。上传角色图片和动作片段(舞蹈、动作、手势),模型提取动作生成流畅、逼真的视频。提供即用型 REST 推理 API,性能最佳,无冷启动,价格实惠。

起 $0.378 / 每次
seedance-2-0 reference-to-video
视频转视频Doubao

seedance-2-0 reference-to-video

Seedance 2.0 的“参考生视频”功能是视觉统一的终极方案。它能精准提取参考素材的艺术风格、光影基调或构图意向,并将其完美融入新生成的视频中,确保您的系列创作拥有高度一致的视觉语言。

起 $0.4413 / 每次
black-forest-labs/flux-3/video-upscale 视频放大
视频转视频Black Forest Labs

black-forest-labs/flux-3/video-upscale 视频放大

默认 creativity=1,$0.79/秒起;creativity=0 为 $0.55/秒。按输入视频时长向上取整计费。FLUX Video Upscale 可对 MP4 视频进行放大增强,支持忠于原始内容或更具创意的细节重建,提供 1.5x 到 3x 可调缩放,并提升画面清晰度,适用于视频修复、社交内容、广告和制作流程。即开即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

起 $0.790 / 每次
black-forest-labs/flux-3/video-extend 视频续写
视频转视频Black Forest Labs

black-forest-labs/flux-3/video-extend 视频续写

FLUX 3 Video Extend 可将输入视频延续生成新的 5–20 秒片段,并通过提示词控制后续动作、镜头运动、视觉风格、运动连贯性,以及可选的同步音频,支持 720P / 1080P 输出。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

起 $2.05 / 每次
Alibaba WAN 2.6
视频转视频Alibaba

Alibaba WAN 2.6

Alibaba WAN 2.6 Reference-to-Video 能够将角色、道具或场景的参考图(无论是单视角还是多视角)转化为全新的视频片段。它在保持物体特征、风格及布局高度一致的同时,确保了动作的流畅自然。我们提供现成的 REST 推理 API,具备极致性能与零冷启动特性,价格极具竞争力。

起 $0.675 / 每次