কনটেন্টে যান

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"

এই অনুরোধ: ০.২৫$ ২৫০ API ক্রেডিট এই পেজে চালান

API কী পান
MiniMax ছবি থেকে ভিডিও 4K আউটপুট৫–১৫ 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.

৫ s480P০.২৫$ · ২৫০ API ক্রেডিট

X-এ @CharaspowerAI-এর প্রম্পট

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

•আবশ্যক 595 / 50000

ভিডিও জেনারেশনের জন্য টেক্সট নির্দেশনা।

image_url
একটি ফাইল ড্রপ করুন, অথবা

শুরুর ফ্রেম ও আউটপুট ক্যানভাস নির্ধারণকারী ঐচ্ছিক ছবির URL। শুধুমাত্র end_image_url দেওয়া হলে তার শেষ ফ্রেম ক্যানভাস নির্ধারণ করে। কোনো ছবিই না থাকলে জেনারেশন 16:9-এর ডিফল্ট অ্যাসপেক্ট রেশিওসহ text-to-video ব্যবহার করে।

resolution

জেনারেট করা ভিডিওর রেজোলিউশন বেছে নিন; 2K ও 4K একটি 768P বেস আপস্কেল করে পাওয়া যায়। 480P বা 768P বেছে নিলে native জেনারেশন ব্যবহৃত হয়।

সেকেন্ডে পরিমাপ করা ভিডিওর দৈর্ঘ্য।

অ্যাডভান্সড prompt_expansion_mode · target_audio_url · end_image · seed
ডিফল্ট balanced

জেনারেশনের আগে প্রম্পট পুনর্লিখনের প্রচেষ্টা: প্রায় 30 সেকেন্ড পর্যন্ত সময় নিয়ে সমৃদ্ধ প্রম্পটের জন্য 'quality', প্রায় এক সেকেন্ডে ফলাফলের জন্য 'fast' বেছে নিন। 'balanced' হলে প্রতিটি রিকোয়েস্টে সিদ্ধান্ত নেওয়া হয়; 'disabled' সম্প্রসারণ বন্ধ করে।

একটি ফাইল ড্রপ করুন, অথবা

HTTP(S) URL বা base64 data URI-এর মাধ্যমে দেওয়া ঐচ্ছিক বিকল্প সাউন্ডট্র্যাক; ক্লিপটি কমপক্ষে 2 সেকেন্ডের এবং সর্বাধিক 15 MB-এর হতে হবে। সরবরাহ করা অডিও অপরিবর্তিত প্লেব্যাক গতিতে জেনারেট করা সাউন্ডট্র্যাক প্রতিস্থাপন করে: অতিরিক্ত দৈর্ঘ্য শেষ থেকে বাদ যায়, আর ছোট ক্লিপগুলো ভিডিওর সঙ্গে মেলাতে নীরবতা দিয়ে পূরণ করা হয়। অস্বাভাবিকভাবে বেশি স্যাম্পলিং রেট হলে 96 kHz-এ রিস্যাম্পলিং হতে পারে।

end_image_url
একটি ফাইল ড্রপ করুন, অথবা

ঐচ্ছিক শেষ-ফ্রেম ছবির URL, শুরুর ছবি ছাড়াও ব্যবহার করা যায়। শুধুমাত্র শেষ-ফ্রেমের keyframe মোডে এই ছবি আউটপুট ক্যানভাস নির্ধারণ করে।

এলোমেলো জেনারেশনের seed; বাদ দিলে একটি এলোমেলো seed নির্বাচন করা হয়।

POST /run/minimax/h3/image-to-video?wait=20 মূল্য → ০.২৫$
# 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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

MiniMax H3 Image to Video সম্পর্কে

MiniMax H3 image-to-video একটি প্রথম ফ্রেম, শেষ ফ্রেম অথবা উভয়টি নিয়ে প্রাণবন্ত, অভিব্যক্তিপূর্ণ গতি পূরণ করে; ক্যানভাস আপনার দেওয়া ছবির অনুসরণ করে। নেটিভ 480P অথবা 768P, 768P ফলাফলের 2K এবং 4K আপস্কেলসহ, 5 থেকে 15 সেকেন্ড, ঐচ্ছিক প্রম্পট পুনর্লিখন এবং সাউন্ডট্র্যাক হিসেবে নির্ধারণের জন্য ঐচ্ছিক অডিও ট্র্যাক।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ৫০,০০০টি অক্ষর
ভিডিও জেনারেশনের জন্য টেক্সট নির্দেশনা।
durationঐচ্ছিক
ধরনinteger
ডিফল্ট5
৫ – ১৫
সেকেন্ডে পরিমাপ করা ভিডিওর দৈর্ঘ্য।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট2K
480P768P2K4K
জেনারেট করা ভিডিওর রেজোলিউশন বেছে নিন; 2K ও 4K একটি 768P বেস আপস্কেল করে পাওয়া যায়। 480P বা 768P বেছে নিলে native জেনারেশন ব্যবহৃত হয়।
seedঐচ্ছিক
ধরনinteger | null
এলোমেলো জেনারেশনের seed; বাদ দিলে একটি এলোমেলো seed নির্বাচন করা হয়।
prompt_expansion_modeঐচ্ছিক
ধরনstring | null
ডিফল্টbalanced
জেনারেশনের আগে প্রম্পট পুনর্লিখনের প্রচেষ্টা: প্রায় 30 সেকেন্ড পর্যন্ত সময় নিয়ে সমৃদ্ধ প্রম্পটের জন্য 'quality', প্রায় এক সেকেন্ডে ফলাফলের জন্য 'fast' বেছে নিন। 'balanced' হলে প্রতিটি রিকোয়েস্টে সিদ্ধান্ত নেওয়া হয়; 'disabled' সম্প্রসারণ বন্ধ করে।
target_audio_urlঐচ্ছিক
ধরনurl · audio
HTTP(S) URL বা base64 data URI-এর মাধ্যমে দেওয়া ঐচ্ছিক বিকল্প সাউন্ডট্র্যাক; ক্লিপটি কমপক্ষে 2 সেকেন্ডের এবং সর্বাধিক 15 MB-এর হতে হবে। সরবরাহ করা অডিও অপরিবর্তিত প্লেব্যাক গতিতে জেনারেট করা সাউন্ডট্র্যাক প্রতিস্থাপন করে: অতিরিক্ত দৈর্ঘ্য শেষ থেকে বাদ যায়, আর ছোট ক্লিপগুলো ভিডিওর সঙ্গে মেলাতে নীরবতা দিয়ে পূরণ করা হয়। অস্বাভাবিকভাবে বেশি স্যাম্পলিং রেট হলে 96 kHz-এ রিস্যাম্পলিং হতে পারে।
image_urlঐচ্ছিক image
ধরনurl · image
শুরুর ফ্রেম ও আউটপুট ক্যানভাস নির্ধারণকারী ঐচ্ছিক ছবির URL। শুধুমাত্র end_image_url দেওয়া হলে তার শেষ ফ্রেম ক্যানভাস নির্ধারণ করে। কোনো ছবিই না থাকলে জেনারেশন 16:9-এর ডিফল্ট অ্যাসপেক্ট রেশিওসহ text-to-video ব্যবহার করে।
end_image_urlঐচ্ছিক end_image
ধরনurl · image
ঐচ্ছিক শেষ-ফ্রেম ছবির URL, শুরুর ছবি ছাড়াও ব্যবহার করা যায়। শুধুমাত্র শেষ-ফ্রেমের keyframe মোডে এই ছবি আউটপুট ক্যানভাস নির্ধারণ করে।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক 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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?storage= অনুযায়ী বিনামূল্যে ৭ দিন পর্যন্ত।
প্রতিটি মডেলে একই গঠনছবি, ভিডিও এবং অডিও—সব ক্ষেত্রেই type, url, content_type, width, height এবং duration। output হলো মডেলের নিজস্ব ফলাফল অবজেক্ট।
আউটপুটের ফিল্ড
video
object {url, content_type, file_name, file_size}মডেল দ্বারা তৈরি ভিডিও।
expanded_prompt
string | nullমডেলের জন্য প্রস্তুত সম্প্রসারিত প্রম্পট, অথবা সম্প্রসারিত টেক্সট উপলভ্য না থাকলে null। সম্প্রসারণ বন্ধ থাকা, সম্প্রসারণে কোনো পরিবর্তন না হওয়া এবং মডেলের hosted API অভ্যন্তরীণভাবে সম্প্রসারণ পরিচালনা করা—এই ক্ষেত্রে null ফেরত আসে।

আরও মডেল: ছবি থেকে ভিডিও

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/minimax/h3/image-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt