跳至內容

FLUX 3 Max Image to Video

整合

模型 id blackforestlabs/flux-3-max/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/blackforestlabs/flux-3-max/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Split-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman'\''s path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_yoxzdf1ostuslzo25cureb2w/0-H2PmS3KOhpHn8RLuYT5ad_6JogdCXo.png",
    "duration": 5,
    "resolution": "720p",
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

像範例一樣的檔案: $0.425 425 API 點數 · ≈ ₽45.67 您的檔案會在執行前計量 在此頁面執行

取得 API 金鑰
Black Forest Labs 圖像轉影片 原生音訊5–20 秒最高 1080p #audio#first-last-frame#long-clips

將起始影像製作成動畫,也可選擇朝結束影像轉換,產生含音效的 5 到 20 秒 FLUX 3 Max 片段。

範例

輸入
輸出 · ~25 秒

提示詞Split-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman's path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.

5 s720pgenerate_audio: false$0.213 · 213 API 點數

X 上 @umesh_ai 的提示詞

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填

描述影片應如何從起始圖像發展的文字。

•必填 image_url
拖放檔案,或

影片的起始圖像 URL;接受 PNG、JPEG 或 WebP。

duration 5 s

輸出影片長度,單位為秒。

resolution

輸出影片的解析度。

aspect_ratio 預設 auto

生成影片的長寬比;`auto` 會配合第一張圖像,若輸入為文字提示詞,則選擇 16:9。

進階 end_image · reasoning_level · seed
end_image_url
拖放檔案,或

影片的選用結尾影格圖像 URL;接受 PNG、JPEG 或 WebP。

reasoning_level 預設 high

推理工作量控制生成速度與 harness 用於理解提示詞的工作量之間的取捨:工作量越大,所需時間越長。

生成種子;省略時會使用隨機值。

POST /run/blackforestlabs/flux-3-max/image-to-video?wait=20 報價 → $0.425
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/blackforestlabs/flux-3-max/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Split-screen video. Two equal vertical halves. Both halves show the SAME event, at the SAME time, frame-synchronized, filmed by two different cameras. SCENE: A quiet street, daytime. A long tall hedge wall runs along the sidewalk, too tall to see over. There is one narrow gap in the hedge ahead. A woman in a red jacket walks alone along the sidewalk on the near side of the hedge. On the FAR side of the hedge is an open grass field, where a large golden dog runs. LEFT HALF — CAMERA A: ground-level tracking shot on the sidewalk, following the woman from behind at shoulder height. IMPORTANT: from this camera, only the woman, the sidewalk, and the hedge wall are visible. The field, the dog, and anything behind the hedge are NEVER visible in the left half. The street looks calm and empty. RIGHT HALF — CAMERA B: aerial top-down drone shot, directly above, moving with the woman. This view shows BOTH sides of the hedge at once: the woman on the sidewalk, the hedge as a thin green line, and the golden dog sprinting across the field on the other side, on a converging path toward the gap in the hedge. ACTION — identical timing in both halves: 0–8s: The woman walks calmly. LEFT: peaceful, nothing unusual. RIGHT: the dog races closer and closer to the gap, its path and the woman'\''s path clearly about to meet. 8–11s: The woman reaches the gap. The dog bursts through it. LEFT: the dog appears suddenly from nowhere, a total surprise; the woman flinches. RIGHT: the meeting looks perfectly predictable, two paths joining. 11–15s: The dog jumps up joyfully; it is her own dog greeting her. She laughs, kneels, and hugs it. Both halves show this ending. RULES: Same woman, same dog, same timing in both halves. The dog is visible ONLY in the right half until 8s. No cuts, no other people, no cars.",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_yoxzdf1ostuslzo25cureb2w/0-H2PmS3KOhpHn8RLuYT5ad_6JogdCXo.png",
    "duration": 5,
    "resolution": "720p",
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

在 Doitong 上製作

Doitong 社群使用 FLUX 3 Max 製作的公開作品。一鍵重複使用提示詞。

顯示的公開作品:9
Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lemb...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lemb...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Prompt Details Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut ...

Prompt Details Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikel...

Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi wajahnya. Ia memeluk...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

Foto sinematik hiper-realistis resolusi tinggi menampilkan seorang pria muda Indonesia dengan tub...

Foto sinematik hiper-realistis resolusi tinggi menampilkan seorang pria muda Indonesia dengan tubuh ramping dan proporsional, rambut hitam pendek agak acak, mengenakan jaket kulit hitam, celana riding fit, dan sepatu motor. Ia sedang melakukan aksi freestyle ekstrem dengan motor sport 500cc...

關於 FLUX 3 Max Image to Video

FLUX 3 Max 圖像轉影片會保留第一個影格的外觀,也能在結尾影格結束並生成 相符的音訊。它會在渲染前推理提示詞(高或低程度)。5 到 20 秒,支援從 9:16 到 21:9 的自適應 或固定長寬比,解析度為 720p 或 1080p。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
描述影片應如何從起始圖像發展的文字。
image_url必填 image
類型url · image
影片的起始圖像 URL;接受 PNG、JPEG 或 WebP。
end_image_url選填 end_image
類型url · image
影片的選用結尾影格圖像 URL;接受 PNG、JPEG 或 WebP。
duration選填
類型enum
預設值5
567891011121314151617181920
輸出影片長度,單位為秒。
resolution選填
類型enum
預設值720p
720p1080p
輸出影片的解析度。
reasoning_level選填
類型enum
預設值high
lowhigh
推理工作量控制生成速度與 harness 用於理解提示詞的工作量之間的取捨:工作量越大,所需時間越長。
aspect_ratio選填
類型enum
預設值auto
auto21:92:116:94:31:13:49:16
生成影片的長寬比;`auto` 會配合第一張圖像,若輸入為文字提示詞,則選擇 16:9。
generate_audio選填
類型boolean
預設值true
控制影片是否包含生成的音訊。
seed選填
類型integer | null
生成種子;省略時會使用隨機值。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3-max/image-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 425,
    "usd": "0.425",
    "charged": 425,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox looks at the fireflies, then bounds off the path with a happy yip, gentle night ambience",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "timings": {}
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}模型產生的影片。
seed
integer生成期間使用的種子值。
timings
object計時資料;`inference` 中省略提示詞展開、解碼與上傳所需時間,因此僅測量模型影片去噪所花的秒數。

更多模型:圖像轉影片

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/blackforestlabs/flux-3-max/image-to-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt