مواد پر جائیں

MiniMax H3 Image to Video

انٹیگریٹ کریں

ماڈل id minimax/h3/image-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/minimax/h3/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

# 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.25⁩ 250 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
MiniMax تصویر سے ویڈیو 4K آؤٹ پٹ5–15 s4K تک #motion#first-last-frame

پہلے فریم، آخری فریم یا دونوں کو 5 سے 15 سیکنڈ کے MiniMax H3 کلپ میں متحرک کرتا ہے، زیادہ سے زیادہ 4K۔

مثالیں

ان پٹ
آؤٹ پٹ · ~36 s

پرامپٹUltra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word "IGNITE" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.

5 s480P⁨$0.25⁩ · 250 API کریڈٹس

X پر @CharaspowerAI کا پرامپٹ

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 595 / 50000

ویڈیو تخلیق کرنے کے لیے text instructions۔

image_url
فائل ڈراپ کریں، یا

افتتاحی فریم اور آؤٹ پٹ canvas متعین کرنے والا اختیاری تصویر URL۔ اگر صرف end_image_url فراہم کیا جائے تو closing فریم canvas متعین کرتا ہے۔ دونوں میں سے کوئی تصویر نہ ہو تو تخلیق 16:9 کے ڈیفالٹ aspect ratio کے ساتھ text-to-video استعمال کرتی ہے۔

resolution

تیار کردہ ویڈیو کا ریزولوشن منتخب کریں؛ 2K اور 4K، 768P base کو upscale کر کے حاصل کیے جاتے ہیں۔ 480P یا 768P منتخب کرنے پر native تخلیق استعمال ہوتی ہے۔

ویڈیو کی لمبائی، سیکنڈ میں ناپی جاتی ہے۔

ایڈوانسڈ prompt_expansion_mode · target_audio_url · end_image · seed
ڈیفالٹ balanced

تخلیق سے پہلے پرامپٹ کو دوبارہ لکھنے کی کوشش کی سطح: زیادہ بھرپور پرامپٹ کے لیے 'quality' منتخب کریں، جس میں تقریباً 30 سیکنڈ تک لگ سکتے ہیں، یا تقریباً ایک سیکنڈ میں نتیجے کے لیے 'fast' منتخب کریں۔ 'balanced' میں انتخاب ہر درخواست کے لیے الگ کیا جاتا ہے؛ 'disabled' توسیع بند کر دیتا ہے۔

فائل ڈراپ کریں، یا

HTTP(S) URL یا base64 data URI کے ذریعے فراہم کیا جانے والا اختیاری متبادل ساؤنڈ ٹریک؛ کلپ کم از کم 2 سیکنڈ اور زیادہ سے زیادہ 15 MB کا ہونا چاہیے۔ فراہم کردہ آڈیو غیر تبدیل شدہ playback speed پر تیار کردہ ساؤنڈ ٹریک کی جگہ لے لیتا ہے: اضافی دورانیہ آخر سے ہٹا دیا جاتا ہے، اور مختصر کلپس میں ویڈیو کے مطابق خاموشی شامل کی جاتی ہے۔ غیر معمولی طور پر زیادہ sample rates کے لیے resampling کو 96 kHz تک کیا جا سکتا ہے۔

end_image_url
فائل ڈراپ کریں، یا

اختیاری آخری فریم کی تصویر کا URL، جو ابتدائی تصویر کے بغیر بھی استعمال ہو سکتا ہے۔ اس end-only keyframe موڈ میں یہ تصویر آؤٹ پٹ canvas متعین کرتی ہے۔

بے ترتیب تخلیق کے لیے seed؛ نہ دینے کی صورت میں اسے بے ترتیب طور پر منتخب کیا جاتا ہے۔

POST /run/minimax/h3/image-to-video?wait=20 قیمت → ⁨$0.25⁩
# 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/minimax/h3/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Ultra cinematic wide shot: A vast field of burning embers stretches into darkness. Suddenly, an enormous wall of fire races across the ground, sending billions of glowing sparks into the air. The flames twist into a gigantic rotating fire vortex hundreds of feet high. Molten embers, smoke, and liquid fire spiral together, naturally forging the word \"IGNITE\" from blazing flames. The letters burn brighter and brighter before erupting into a colossal shockwave that fills the screen with fire and incandescent particles. Hollywood fire simulation, ultra-realistic VFX, blockbuster title reveal.",
    "duration": 5,
    "resolution": "480P",
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_j9dik7xsuoammbgw6brdgafv/0-YyIruCJVEfXsz3wKufKD7_kmRHee8d.png"
  }'

# 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"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

MiniMax H3 Image to Video کے بارے میں

MiniMax H3 تصویر سے ویڈیو بنانے کے لیے پہلا فریم، آخری فریم یا دونوں لیتا ہے اور ان کے درمیان جاندار، پُرتاثر حرکت بھرتا ہے؛ کینوس آپ کی دی ہوئی تصویر کے مطابق ہوتا ہے۔ مقامی ریزولوشن 480P یا 768P ہے، جبکہ 768P نتیجے کو 2K اور 4K میں اپ سکیل کیا جا سکتا ہے، دورانیہ 5 سے 15 سیکنڈ ہے، اور پرامپٹ کی اختیاری بازنویسی اور ساؤنڈ ٹریک کے طور پر مقرر کرنے کے لیے اختیاری آڈیو ٹریک دستیاب ہیں۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 50,000 کریکٹرز
ویڈیو تخلیق کرنے کے لیے text instructions۔
durationاختیاری
قسمinteger
ڈیفالٹ5
5 – 15
ویڈیو کی لمبائی، سیکنڈ میں ناپی جاتی ہے۔
resolutionاختیاری
قسمenum
ڈیفالٹ2K
480P768P2K4K
تیار کردہ ویڈیو کا ریزولوشن منتخب کریں؛ 2K اور 4K، 768P base کو upscale کر کے حاصل کیے جاتے ہیں۔ 480P یا 768P منتخب کرنے پر native تخلیق استعمال ہوتی ہے۔
seedاختیاری
قسمinteger | null
بے ترتیب تخلیق کے لیے seed؛ نہ دینے کی صورت میں اسے بے ترتیب طور پر منتخب کیا جاتا ہے۔
prompt_expansion_modeاختیاری
قسمstring | null
ڈیفالٹbalanced
تخلیق سے پہلے پرامپٹ کو دوبارہ لکھنے کی کوشش کی سطح: زیادہ بھرپور پرامپٹ کے لیے 'quality' منتخب کریں، جس میں تقریباً 30 سیکنڈ تک لگ سکتے ہیں، یا تقریباً ایک سیکنڈ میں نتیجے کے لیے 'fast' منتخب کریں۔ 'balanced' میں انتخاب ہر درخواست کے لیے الگ کیا جاتا ہے؛ 'disabled' توسیع بند کر دیتا ہے۔
target_audio_urlاختیاری
قسمurl · audio
HTTP(S) URL یا base64 data URI کے ذریعے فراہم کیا جانے والا اختیاری متبادل ساؤنڈ ٹریک؛ کلپ کم از کم 2 سیکنڈ اور زیادہ سے زیادہ 15 MB کا ہونا چاہیے۔ فراہم کردہ آڈیو غیر تبدیل شدہ playback speed پر تیار کردہ ساؤنڈ ٹریک کی جگہ لے لیتا ہے: اضافی دورانیہ آخر سے ہٹا دیا جاتا ہے، اور مختصر کلپس میں ویڈیو کے مطابق خاموشی شامل کی جاتی ہے۔ غیر معمولی طور پر زیادہ sample rates کے لیے resampling کو 96 kHz تک کیا جا سکتا ہے۔
image_urlاختیاری image
قسمurl · image
افتتاحی فریم اور آؤٹ پٹ canvas متعین کرنے والا اختیاری تصویر URL۔ اگر صرف end_image_url فراہم کیا جائے تو closing فریم canvas متعین کرتا ہے۔ دونوں میں سے کوئی تصویر نہ ہو تو تخلیق 16:9 کے ڈیفالٹ aspect ratio کے ساتھ text-to-video استعمال کرتی ہے۔
end_image_urlاختیاری end_image
قسمurl · image
اختیاری آخری فریم کی تصویر کا URL، جو ابتدائی تصویر کے بغیر بھی استعمال ہو سکتا ہے۔ اس end-only keyframe موڈ میں یہ تصویر آؤٹ پٹ canvas متعین کرتی ہے۔
لازمی معیاری نام، یہ بھی قبول ہے

فائل پیرامیٹرز عوامی https:// URL، 10 MB تک کی data: URI، یا اپ لوڈ کے file_url کو قبول کرتے ہیں۔ فائلیں

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The camera slowly pulls back as the fox runs off the path into the misty forest, fireflies scatter",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 6,
    "resolution": "768P"
  },
  "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
    },
    "expanded_prompt": "string"
  },
  "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}ماڈل کی تیار کردہ ویڈیو۔
expanded_prompt
string | nullماڈل کے لیے تیار کیا گیا expanded پرامپٹ، یا اگر توسیع شدہ متن دستیاب نہ ہو تو null۔ null کی صورتیں disabled expansion، ایسی توسیع جس سے کوئی تبدیلی نہ آئی ہو، اور ماڈل کی hosted API کے ذریعے اندرونی طور پر سنبھالی گئی توسیع ہیں۔

مزید ماڈلز: تصویر سے ویڈیو

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/minimax/h3/image-to-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt