Bỏ qua đến nội dung

FLUX 3 Max Text to Video

Tích hợp

Id mô hình 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"

Các tệp như ví dụ: 0,425 $ 425 tín dụng API tệp của bạn được đo trước khi chạy Chạy trên trang này

Lấy khóa API
Black Forest Labs Văn bản sang video Âm thanh gốc5–20 stối đa 1080p #audio#long-clips#1080p

Mô hình video của Black Forest Labs, tạo clip dài 5 đến 20 giây có âm thanh ở 720p hoặc 1080p.

Ví dụ

Đầu ra · ~30 s

Lời nhắcFour-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: false0,213 $ · 213 tín dụng API

Lời nhắc từ @umesh_ai trên X

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc

Mô tả bằng văn bản về video mong muốn.

duration 5 s

Thời lượng video đầu ra, tính bằng giây.

resolution

Độ phân giải của video đầu ra.

aspect_ratio

Tỷ lệ khung hình của video được tạo; `auto` khớp với hình ảnh đầu tiên, trừ khi đầu vào là lời nhắc văn bản, khi đó chọn 16:9.

Nâng cao reasoning_level · seed
reasoning_level mặc định high

Mức độ suy luận kiểm soát sự cân bằng giữa tốc độ tạo sinh và công sức mà harness dành để hiểu lời nhắc: mức cao hơn sẽ mất nhiều thời gian hơn.

Seed tạo sinh; sử dụng giá trị ngẫu nhiên nếu bỏ qua.

POST /run/blackforestlabs/flux-3-max/text-to-video?wait=20 báo giá → 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"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về FLUX 3 Max Text to Video

FLUX 3 Max đưa diện mạo FLUX vào video: khung hình chi tiết, đủ sáng, chuyển động tự nhiên và âm thanh được tạo sinh. Mô hình suy luận về lời nhắc trước khi kết xuất (mức cao hoặc thấp), hỗ trợ đoạn video dài 5 đến 20 giây và tám tỷ lệ khung hình từ 9:16 đến 21:9, ở 720p hoặc 1080p. Seed giúp lặp lại các lần chạy.

Tham số

TênKiểu Mặc địnhĐược phép Mô tả
promptbắt buộc
Kiểustring
Mô tả bằng văn bản về video mong muốn.
durationtùy chọn
Kiểuenum
Mặc định5
567891011121314151617181920
Thời lượng video đầu ra, tính bằng giây.
resolutiontùy chọn
Kiểuenum
Mặc định720p
720p1080p
Độ phân giải của video đầu ra.
reasoning_leveltùy chọn
Kiểuenum
Mặc địnhhigh
lowhigh
Mức độ suy luận kiểm soát sự cân bằng giữa tốc độ tạo sinh và công sức mà harness dành để hiểu lời nhắc: mức cao hơn sẽ mất nhiều thời gian hơn.
aspect_ratiotùy chọn
Kiểuenum
Mặc địnhauto
auto21:92:116:94:31:13:49:16
Tỷ lệ khung hình của video được tạo; `auto` khớp với hình ảnh đầu tiên, trừ khi đầu vào là lời nhắc văn bản, khi đó chọn 16:9.
generate_audiotùy chọn
Kiểuboolean
Mặc địnhtrue
Kiểm soát việc video có bao gồm âm thanh được tạo hay không.
seedtùy chọn
Kiểuinteger | null
Seed tạo sinh; sử dụng giá trị ngẫu nhiên nếu bỏ qua.
bắt buộc

Đầu ra

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"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Video do mô hình tạo ra.
seed
integerGiá trị seed được dùng trong quá trình tạo sinh.
timings
objectDữ liệu thời gian, trong đó phần mở rộng lời nhắc, giải mã và tải lên bị loại khỏi `inference`, chỉ đo thời gian khử nhiễu video của mô hình, tính bằng giây.

Thêm mô hình: Văn bản sang video

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/blackforestlabs/flux-3-max/text-to-video.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt