FLUX 3 Max 是 FLUX 3 Video(Black Forest Labs 的视频模型家族)的后训练、低延迟优化变体,提示词遵循更强、画面更好。我们 2026-10-20 实测:720p 5 秒的文生视频,提交后 9 秒拿到文件。一个模型名 flux-3-max 覆盖三种模式:只传提示词是文生视频;传首帧(可选尾帧)是图生视频;传最多 10 个定时关键帧是关键帧生成。5-20 秒任意整秒,720p 或 1080p,默认自带同步音轨。按输出秒数计费:720p $0.221/秒、1080p $0.377/秒;2026 年 11 月 7 日前特价 720p $0.085/秒、1080p $0.145/秒。
| 分辨率 | 每秒 | 5s | 10s | 20s |
|---|---|---|---|---|
| 720p(默认) | $0.221 | $1.105 | $2.21 | $4.42 |
| 1080p | $0.377 | $1.885 | $3.77 | $7.54 |
按分辨率和请求的秒数收费,5-20 秒任意整秒。2026 年 11 月 7 日 00:00 UTC 前特价 720p $0.085/秒、1080p $0.145/秒,到点自动恢复上表价格。仅成功扣费、失败退款。
所有请求在 Header 携带 API Key:
Authorization: Bearer YOUR_API_KEYhttps://api.apimodels.app/v1/video/generations·GET/v1/video/generations?task_id=# Text-to-video (prompt only; aspect_ratio "auto" = 16:9)
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-3-max",
"prompt": "A street drummer plays on an upturned bucket at dusk, crowd clapping along, warm streetlights, handheld camera",
"duration": 5,
"resolution": "720p"
}'
# Image-to-video: first frame (+ optional last frame); "auto" follows the first image
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-3-max",
"prompt": "The camera pushes in slowly as the lanterns light up one by one",
"first_frame_url": "https://example.com/first.jpg",
"last_frame_url": "https://example.com/last.jpg",
"duration": 8,
"resolution": "1080p"
}'
# Keyframes-to-video: up to 10 images pinned to moments (time in seconds, or frame_index at 24 fps)
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-3-max",
"prompt": "A paper airplane flies from the desk, out of the window and over the rooftops",
"keyframes": [
{ "image_url": "https://example.com/desk.jpg", "time": 0 },
{ "image_url": "https://example.com/window.jpg", "time": 4 },
{ "image_url": "https://example.com/rooftops.jpg", "frame_index": 240 }
],
"duration": 10,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": false
}'
# Response (async — a task is created):
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending" } }
# Poll until completed (result files are kept 30 days)
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed",
# "resultUrls": ["https://r2.apimodels.app/videos/clxxx.mp4"] } }| 字段 | 必填 | 类型 | 说明 |
|---|---|---|---|
| model | 是 | string | flux-3-max |
| prompt | 是 | string | 描述画面、动作、运镜、光线,以及想听到的声音。 |
| duration | 否 | number | 5-20 任意整秒,默认 5。按这个秒数计费。 |
| resolution | 否 | string | 720p($0.221/秒,默认)或 1080p($0.377/秒)。 |
| aspect_ratio | 否 | string | auto(默认)、21:9、2:1、16:9、4:3、1:1、3:4、9:16。auto 在文生视频时是 16:9,带图时跟随第一张图。 |
| first_frame_url | 否 | string | 首帧(公网 URL)。也接受 image、image_url,或只有一项的 images 数组。 |
| last_frame_url | 否 | string | 尾帧,配合 first_frame_url 使用。 |
| keyframes | 否 | array | 1-10 个 { image_url, frame_index } 或 { image_url, time }(秒)。不能与首帧 / 尾帧同时使用。 |
| generate_audio | 否 | boolean | 默认 true,生成与画面同步的声音;false 输出无声视频。 |
| reasoning_level | 否 | string | high(默认)或 low(更快)。 |
| seed | 否 | number | 随机种子,不传则随机。 |
| callback_url | 否 | string | 任务完成时我们向该地址 POST 结果;不传就轮询 GET 查询。 |
试一试:Playground
apimodels.app 按输出秒数计费:720p $0.221/秒、1080p $0.377/秒,5-20 秒任意整秒 —— 720p 5 秒 $1.105,1080p 10 秒 $3.77。2026 年 11 月 7 日前特价 720p $0.085/秒、1080p $0.145/秒。仅成功扣费,失败退款。
POST https://api.apimodels.app/v1/video/generations,model 填 flux-3-max,必填 prompt。可选:duration 5-20(默认 5)、resolution 720p 或 1080p(默认 720p)、aspect_ratio(auto、21:9、2:1、16:9、4:3、1:1、3:4、9:16)、generate_audio(默认 true)、reasoning_level high 或 low、seed;图生视频传 first_frame_url / last_frame_url,关键帧生成传 keyframes。轮询 GET /v1/video/generations?task_id=xxx,或传 callback_url。
keyframes 传 1-10 个 { image_url, frame_index } 或 { image_url, time }。frame_index 是 24fps 视频里的帧号,范围 0 到 duration × 24,不能重复;time 以秒为单位,会换算成帧号。模型补出这些画面之间的运动。关键帧不能和 first_frame_url / last_frame_url 同时传,同时传返回 400。
我们 2026-10-20 实测:720p 5 秒的文生视频提交后 9 秒拿到文件,成片 1280x704、24fps、带音轨。厂商自己的测试是 10 秒视频约 11 秒。
参考视频、参考音频,以及关键帧之外的多张参考图。带了这些的请求在创建时返回明确的 400,不会被静默丢掉。单张图放 first_frame_url,多张图放 keyframes。