ข้ามไปยังเนื้อหา

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.213 213 เครดิต API · ≈ ₽22.70 ไฟล์ของคุณจะถูกวัดก่อนเรียกใช้ เรียกใช้ในหน้านี้

รับคีย์ API
Black Forest Labs ภาพเป็นวิดีโอ เสียงในตัว5–20 sสูงสุด 1080p #audio#first-last-frame#long-clips

ทำให้ภาพเริ่มต้นเคลื่อนไหว โดยเลือกเปลี่ยนไปยังภาพสิ้นสุดได้ เพื่อสร้างคลิป FLUX 3 Max ความยาว 5 ถึง 20 วินาทีพร้อมเสียง

ตัวอย่าง

อินพุต
เอาต์พุต · ~25 s

พรอมต์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

พรอมต์จาก @umesh_ai บน X

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น

ข้อความอธิบายว่าวิดีโอควรพัฒนาจากรูปภาพเริ่มต้นอย่างไร

•จำเป็น 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 ใช้ทำความเข้าใจพรอมต์ ยิ่งใช้ความพยายามมากก็ยิ่งใช้เวลานาน

Seed สำหรับการสร้าง หากไม่ระบุจะใช้ค่าสุ่ม

POST /run/blackforestlabs/flux-3-max/image-to-video?wait=20 ใบเสนอราคา → $0.213
# 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

ผลงานสาธารณะที่สร้างด้วย FLUX 3 Max โดยชุมชน Doitong นำพรอมต์กลับมาใช้ได้ในคลิกเดียว

ผลงานสาธารณะที่แสดง: 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
Seed สำหรับการสร้าง หากไม่ระบุจะใช้ค่าสุ่ม
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ 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": 213,
    "usd": "0.213",
    "charged": 213,
    "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ค่า seed ที่ใช้ระหว่างการสร้าง
timings
objectข้อมูลเวลา โดยไม่รวมการขยายพรอมต์ การถอดรหัส และการอัปโหลดจาก `inference` ซึ่งวัดเฉพาะการลดสัญญาณรบกวนวิดีโอของโมเดลเป็นวินาที

โมเดลเพิ่มเติม: ภาพเป็นวิดีโอ

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/blackforestlabs/flux-3-max/image-to-video.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt