视频Black Forest Labs新增

FLUX 3

最多 20 秒的 1080p AI 视频,支持原生音频

model: "flux-3"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.425
图像生成视频image_url
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.425
首尾帧image_urlend_image_url
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.425
关键帧keyframes
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "keyframes": [
      {
        "image_url": "https://example.com/image.jpg",
        "frame_index": 0
      },
      {
        "image_url": "https://example.com/image-2.jpg",
        "frame_index": 96
      }
    ]
  }
}
$0.425
延长片段modevideo_url
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "extend",
    "video_url": "https://example.com/video.mp4"
  }
}
$1.02
增强草稿mode
请求示例
{
  "model": "flux-3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "enhance"
  }
}
$0.425

输入

必需

Describe the scene, motion, and style for your video

可选

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

可选

Add a start image too and FLUX 3 interpolates between the two frames. A public https URL, or an upload URL from POST /v1/uploads.

可选

Generate synchronized audio for the video

可选

The clip to continue, with mode "extend" (https URL).

可选
5

Duration (seconds)

可选

Aspect Ratio

可选

Resolution

可选

Selects a mode that the other fields cannot: "extend" continues the clip in video_url; "enhance" re-renders a draft at full quality.

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-3",
  "input": {
    "prompt": "One continuous orbiting shot around a single glowing paper lantern drifting slowly upward through a dense bamboo forest at dusk, warm lantern light sliding across the green stalks as the camera circles, mist low between the culms, deep teal evening sky above, unbroken graceful motion"
  }
}'