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

H3 Max Relight

ผสานการทำงาน

ID โมเดล minimax/h3-max/relight
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax/h3-max/relight?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "reference_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

ไฟล์เช่นเดียวกับตัวอย่าง: $0.80 800 เครดิต API ไฟล์ของคุณจะถูกวัดก่อนเรียกใช้ เรียกใช้ในหน้านี้

รับคีย์ API
MiniMax วิดีโอเป็นวิดีโอ อินพุตอ้างอิงสูงสุด 2K #video-to-video#video-editing#relighting

ปรับแสงวิดีโอโดยใช้ภาพทรงกลมแสง พร้อมคงบุคคล การเคลื่อนไหว และเสียงไว้

สร้างบน Doitong

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

ผลงานสาธารณะที่แสดง: 16
Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly c... วิดีโอ

Close-up shot of a striking model with piercing eyes and flawless skin, a white snake elegantly coiled around her head and neck, its scales glistening in soft, diffused light. The camera gently zooms in, emphasizing the intricate texture of the snake’s scales and the model’s striking facial...

Animate the stickman drawings into a smooth dance animation. The simple black stick figure perfor... วิดีโอ

Animate the stickman drawings into a smooth dance animation. The simple black stick figure performs fun rhythmic dance moves — waving its arms, bending knees, jumping lightly, spinning, and swaying side to side in time with upbeat music. Keep the white background clean and minimal. The motion...

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in... วิดีโอ

A hyper-realistic, cinematic transformation sequence of the man in the uploaded image, sitting in meditation inside a traditional Japanese room. The atmosphere begins to tremble slightly as soft blue light flows around him. From the ground, thousands of magnetic nano-particles rise, shimmering...

A cinematic transformation video of the man. The scene begins with him standing naturally, then l... วิดีโอ

A cinematic transformation video of the man. The scene begins with him standing naturally, then looking down at his hands as glowing holographic projections appear around his body. Mechanical parts of the Iron Man armor start assembling piece by piece with smooth animation: chest plate forming,...

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampa... วิดีโอ

An ultra-epic anime cinematic of Luffy’s greatest enemy unleashing a terrifying blind rage, rampaging uncontrollably against nature itself. His gigantic body is surrounded by a storm of black and crimson energy, crackling with lightning that scorches the ground. His roar shakes the heavens,...

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint ... วิดีโอ

A fair-skinned red-haired woman with freckles tightly embraces a majestic white tiger with faint reddish stripes. They remain close, perfectly synchronized in stillness. The woman blinks slowly, slightly tilting her head with a serious and intense expression. The tiger breathes gently — its...

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mounta... วิดีโอ

The snowboarder is riding across massive, fluffy white clouds as if they were snow-covered mountains, with dramatic lighting and deep shadows adding volume and realism. The background shows a stunning blue sky with scattered soft clouds and subtle light rays. crisp cinematic quality, vivid...

[Global Parameters] Duration: 15 seconds. Aspect ratio: 16:9. Output as one continuous long-video... วิดีโอ

[Global Parameters] Duration: 15 seconds. Aspect ratio: 16:9. Output as one continuous long-video generation with native timestamp-controlled beats as specified below. [Creatives Description] Based on the uploaded references: @image1 is the MAN — take his entire appearance 100% from this...

สร้างคำขอ

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

•จำเป็น video_url
วางไฟล์ หรือ

วิดีโอต้นฉบับที่มีความยาวสูงสุด 15 วินาที เวอร์ชันที่เตรียมโดยอัตโนมัติจะกำหนดระยะเวลาเอาต์พุตและจำนวนเฟรม การเตรียมจะแปลงวิดีโอเป็น 24 fps คงที่ และนำเฟรมท้ายออกเพื่อให้ได้จำนวนเฟรมที่ใกล้เคียงที่สุดตามสูตร 17n+5 โดยคงไว้อย่างน้อย 56 เฟรม (ประมาณ 2.33 วินาที)

•จำเป็น
วางไฟล์ หรือ

ทรงกลมที่เรนเดอร์เพื่อแสดงแสงที่ต้องการ

resolution ค่าเริ่มต้น 768P

การเลือกความละเอียดวิดีโอ: 1080P และ 2K (1440p) ต้องใช้ฐาน 768P ตามด้วยการขยาย latent และการปรับแต่ง การเลือก 480P หรือ 768P จะใช้การสร้างแบบ native แทน

aspect_ratio ค่าเริ่มต้น 16:9

อัตราส่วนภาพของวิดีโอที่สร้าง

ขั้นสูง seed · enable_safety_checker

ค่า seed ที่ควบคุมความสุ่มระหว่างการสร้างวิดีโอ

POST /run/minimax/h3-max/relight?wait=20 ใบเสนอราคา → $0.80
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/minimax/h3-max/relight?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "reference_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

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

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ H3 Max Relight

ใช้แสงที่แสดงในเรนเดอร์ทรงกลม (`reference_image_url`) กับวิดีโอต้นฉบับความยาวไม่เกิน 15 วินาที วิดีโอจะถูกแปลงเป็น 24 fps และตัดให้เหลือจำนวนเฟรมที่ถูกต้อง โดยต้องเหลือความยาวอย่างน้อยประมาณ 2.33 วินาที `resolution` อยู่ในช่วง 480P ถึง 2K และ `aspect_ratio` รองรับ adaptive หรืออัตราส่วนคงที่หลายแบบ

พารามิเตอร์

ส่งชื่อมาตรฐานหรือชื่อดั้งเดิมอย่างใดอย่างหนึ่งเท่านั้น ห้ามส่งทั้งสองชื่อ ชื่อมาตรฐาน

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
video_urlจำเป็น video
ประเภทurl · video
วิดีโอต้นฉบับที่มีความยาวสูงสุด 15 วินาที เวอร์ชันที่เตรียมโดยอัตโนมัติจะกำหนดระยะเวลาเอาต์พุตและจำนวนเฟรม การเตรียมจะแปลงวิดีโอเป็น 24 fps คงที่ และนำเฟรมท้ายออกเพื่อให้ได้จำนวนเฟรมที่ใกล้เคียงที่สุดตามสูตร 17n+5 โดยคงไว้อย่างน้อย 56 เฟรม (ประมาณ 2.33 วินาที)
reference_image_urlจำเป็น
ประเภทurl · image
ทรงกลมที่เรนเดอร์เพื่อแสดงแสงที่ต้องการ
resolutionไม่บังคับ
ประเภทenum
ค่าเริ่มต้น768P
480P768P1080P2K
การเลือกความละเอียดวิดีโอ: 1080P และ 2K (1440p) ต้องใช้ฐาน 768P ตามด้วยการขยาย latent และการปรับแต่ง การเลือก 480P หรือ 768P จะใช้การสร้างแบบ native แทน
aspect_ratioไม่บังคับ
ประเภทenum
ค่าเริ่มต้น16:9
adaptive21:916:94:31:13:49:16
อัตราส่วนภาพของวิดีโอที่สร้าง
seedไม่บังคับ
ประเภทinteger | null
ค่า seed ที่ควบคุมความสุ่มระหว่างการสร้างวิดีโอ
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
ควบคุมว่าจะเปิดใช้การตรวจสอบความปลอดภัยหรือไม่
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ file_url ของไฟล์ที่อัปโหลด ไฟล์

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3-max/relight",
  "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": 800,
    "usd": "0.80",
    "charged": 800,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "reference_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
    },
    "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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}วิดีโอที่ปรับใช้การเปลี่ยนแปลงแสงแล้ว
seed
integerค่า seed พื้นฐานที่ใช้สร้างผลลัพธ์เดิมซ้ำ
timings
object | nullเวลาที่ใช้ในการอนุมาน แสดงเป็นวินาทีเมื่อมีข้อมูล

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

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