体验场
输入
Scene description: subject, action, camera movement, dialogue and sound
Keyframes for image-to-video, in playback order. One image is the start frame, two are start + end, three or more are spread evenly across the clip
Source video (mp4) to continue. Continuation is billed at a higher per-second rate and cannot be combined with imageUrls
运行费用将从您的余额中扣除。
输出
输出将显示在此处。
定价
| 选项 | 每秒价格 |
|---|---|
| Draft: yes · Mode: generate · Resolution: 720p | $0.06 |
| Draft: yes · Mode: extend · Resolution: 720p | $0.12 |
| Draft: no · Mode: generate · Resolution: 720p | $0.17 |
| Draft: no · Mode: generate · Resolution: 1080p | $0.29 |
| Draft: no · Mode: extend · Resolution: 720p | $0.41 |
| Draft: no · Mode: extend · Resolution: 1080p | $0.53 |
快速开始
完整 API 参考 →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "flux-3-video",6 "input": {7 "prompt": "黄昏时分城市的电影感镜头",8 "resolution": "720p",9 "duration": 5,10 "aspectRatio": "auto",11 "draft": false,12 "safetyTolerance": 213 }14 }'
参数
| 名称 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
prompt | string | 是 | — | Scene description: subject, action, camera movement, dialogue and sound |
resolution | string | 否 | 720p | Video resolution (affects pricing). Draft mode supports 720p only以下之一:720p, 1080p |
duration | number | 否 | 5 | Video duration in seconds (5-20). Billed per second |
aspectRatio | string | 否 | auto | Video aspect ratio. `auto` lets the model choose from the prompt and input frames以下之一:auto, 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16 |
imageUrls | string[] | 否 | — | Keyframes for image-to-video, in playback order. One image is the start frame, two are start + end, three or more are spread evenly across the clip |
videoUrl | string | 否 | — | Source video (mp4) to continue. Continuation is billed at a higher per-second rate and cannot be combined with imageUrls |
draft | boolean | 否 | false | Draft mode: a fast, low-quality 720p preview at about a third of the price |
safetyTolerance | number | 否 | 2 | Moderation tolerance from 0 (strictest) to 4 (most permissive) |
常见问题
FLUX 3 Video 的费用是多少?
FLUX 3 Video 通过 API Stock API 的起价为 $0.06 每秒输出。您按使用量从单个预付余额中支付——无需订阅——最终价格会根据分辨率或时长等参数浮动。
如何获取 FLUX 3 Video 的 API 密钥?
注册 API Stock 账号,按任意金额充值,然后在控制台创建 API 密钥即可,整个过程只需几分钟,无需签订合同。同一个密钥可调用目录中的所有模型,因此无需为 FLUX 3 Video 单独申请密钥。
如何调用 FLUX 3 Video API?
向 https://api.api-stock.com/api/v1/generation/create 发送 POST 请求,并附上您的 API 密钥和模型 ID "flux-3-video"。请求会返回一个任务 ID,您可以轮询该 ID;或者在结果准备就绪时通过 webhook 回调通知。上方的快速开始部分提供了一个可直接运行的示例。
FLUX 3 Video 接受哪些输入参数?
FLUX 3 Video 接受 8 个输入参数, 包括必填字段 prompt。参数表中列出了它们的类型、默认值和允许值。
如果 FLUX 3 Video 请求失败,会发生什么?
API Stock 会自动在备用提供商上重试请求。如果所有提供商都失败,费用会退还至您的余额。
我可以使用与其他模型相同的 API 密钥来调用 FLUX 3 Video 吗?
可以。API Stock 上的每个模型——视频、图像、音乐和聊天——共享一个 API 密钥和一个预付余额,因此您无需新的凭据即可切换到 FLUX 3 Video。