跳至內容

FLUX 3 Max Text to Video

整合

模型 id blackforestlabs/flux-3-max/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/blackforestlabs/flux-3-max/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Four-way CCTV-style split-screen showing the same real-time event inside a convenience shop. Divide the frame into four equal security-camera views with timestamps. Top left: wide ceiling-corner view covering aisles, entrance, and cashier. Top right: overhead view above the central aisle. Bottom left: camera facing the checkout counter. Bottom right: camera near the entrance looking inward. At the 2-second mark, a customer takes a boxed item from a shelf, accidentally bumps a display, catches one falling bottle, then places the box on the checkout counter. The cashier turns, scans it, and hands over a receipt as another shopper crosses behind them. All four views must remain perfectly synchronized, showing identical people, movements, object positions, occlusions, timestamps, lighting, and physical reactions. Use realistic low-resolution CCTV footage, slight lens distortion, fixed cameras, and no cinematic camera movement.",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

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

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

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

Black Forest Labs 的影片模型,可產生含音效的 5 到 20 秒片段,解析度為 720p 或 1080p。

範例

輸出 · ~30 秒

提示詞Four-way CCTV-style split-screen showing the same real-time event inside a convenience shop. Divide the frame into four equal security-camera views with timestamps. Top left: wide ceiling-corner view covering aisles, entrance, and cashier. Top right: overhead view above the central aisle. Bottom left: camera facing the checkout counter. Bottom right: camera near the entrance looking inward. At the 2-second mark, a customer takes a boxed item from a shelf, accidentally bumps a display, catches one falling bottle, then places the box on the checkout counter. The cashier turns, scans it, and hands over a receipt as another shopper crosses behind them. All four views must remain perfectly synchronized, showing identical people, movements, object positions, occlusions, timestamps, lighting, and physical reactions. Use realistic low-resolution CCTV footage, slight lens distortion, fixed cameras, and no cinematic camera movement.

5 s720p16:9generate_audio: false$0.213 · 213 API 點數

X 上 @umesh_ai 的提示詞

建立請求

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

•必填

所需影片的文字描述。

duration 5 s

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

resolution

輸出影片的解析度。

aspect_ratio

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

進階 reasoning_level · seed
reasoning_level 預設 high

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

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

POST /run/blackforestlabs/flux-3-max/text-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://vit.doitong.com/api/v1/run/blackforestlabs/flux-3-max/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Four-way CCTV-style split-screen showing the same real-time event inside a convenience shop. Divide the frame into four equal security-camera views with timestamps. Top left: wide ceiling-corner view covering aisles, entrance, and cashier. Top right: overhead view above the central aisle. Bottom left: camera facing the checkout counter. Bottom right: camera near the entrance looking inward. At the 2-second mark, a customer takes a boxed item from a shelf, accidentally bumps a display, catches one falling bottle, then places the box on the checkout counter. The cashier turns, scans it, and hands over a receipt as another shopper crosses behind them. All four views must remain perfectly synchronized, showing identical people, movements, object positions, occlusions, timestamps, lighting, and physical reactions. Use realistic low-resolution CCTV footage, slight lens distortion, fixed cameras, and no cinematic camera movement.",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "generate_audio": false
  }'

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

執行此請求

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

關於 FLUX 3 Max Text to Video

FLUX 3 Max 將 FLUX 風格帶入影片:細節豐富、光線良好的影格、自然動作與生成的音訊。它會在渲染前對提示詞進行推理(高或低投入),支援 5 到 20 秒的片段,以及從 9:16 到 21:9 的八種長寬比,解析度可為 720p 或 1080p。使用種子即可重現執行結果。

參數

名稱類型 預設值允許值 說明
prompt必填
類型string
所需影片的文字描述。
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
生成種子;省略時會使用隨機值。
必填

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3-max/text-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": "A red panda walks along a mossy log in a sunlit forest, pauses to sniff the air, then climbs over a branch",
    "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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/text-to-video.md. 所有模型與指南: https://doitong.com/developers/llms.txt