কনটেন্টে যান

MiniMax H3 Text to Video

ইন্টিগ্রেট করুন

মডেল id minimax/h3/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/minimax/h3/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

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

প্রাণবন্ত গতির জন্য MiniMax-এর (Hailuo) ভিডিও মডেল, 5 থেকে 15 সেকেন্ড, সর্বোচ্চ 4K পর্যন্ত।

উদাহরণ

আউটপুট · ~39 s

প্রম্পটCreate a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.

৫ s480P16:9০.২৫$ · ২৫০ API ক্রেডিট

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

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

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

•আবশ্যক 1382 / 50000

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

resolution

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

aspect_ratio

আউটপুট ভিডিওর aspect ratio।

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

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

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

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

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

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

POST /run/minimax/h3/text-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/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a 15-second luxury cinematic product showcase for premium wireless over-ear headphones. 0–4s: Begin with an extreme macro tracking shot moving across the soft memory-foam ear cushion, fine fabric texture, brushed-metal hinge and precision-machined controls. A narrow light band travels across the surface, revealing realistic materials against a deep black studio background. 4–8s: Pull back into a three-quarter hero view. The headphones rotate slowly above a glossy reflective pedestal. The ear cups pivot naturally while the adjustable headband extends slightly, demonstrating flexible construction and comfort. Maintain exact symmetry, stable geometry and consistent proportions. 8–12s: Transition into an elegant exploded-view reveal. The ear cushion, acoustic driver, internal sound chamber, control ring and outer shell separate smoothly in perfect alignment. Subtle luminous sound waves pulse outward from the driver while the camera performs a restrained side orbit. 12–15s: Every component reconnects seamlessly. The headphones settle into a centered front-facing hero composition as soft rim lighting defines the silhouette. Complete a gentle dolly-in toward the ear cups. Premium technology-commercial finish, controlled reflections, realistic shadows, shallow depth of field, crisp surface detail, stable product shape, no hands, no distortion, no onscreen text.",
    "duration": 5,
    "resolution": "480P",
    "aspect_ratio": "16:9"
  }'

# 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 Text to Video সম্পর্কে

MiniMax H3 একটি প্রম্পট থেকে অভিব্যক্তিপূর্ণ চরিত্র ও ক্যামেরার গতি জেনারেট করে। এটি স্বাভাবিকভাবে 480P বা 768P-তে রেন্ডার করে; 2K এবং 4K অপশন 768P ফলাফল আপস্কেল করে। ক্লিপ 6টি অ্যাসপেক্ট রেশিওতে 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-এ রিস্যাম্পলিং হতে পারে।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্ট16:9
21:916:94:31:13:49:16
আউটপুট ভিডিওর aspect ratio।
আবশ্যক

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3/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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A white kitten chases a butterfly across a sunlit garden, gentle tracking camera, soft afternoon light",
    "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/text-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt