تخطّي إلى المحتوى

MiniMax H3 Text to Video

التكامل

معرّف النموذج 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"

هذا الطلب: ⁨‏0.25 $⁩ 250 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
MiniMax من نص إلى فيديو إخراج بدقة 4K5–15 ثحتى 4K #motion#soundtrack

نموذج MiniMax (Hailuo) للفيديو بحركة حيوية، من 5 إلى 15 ثانية، حتى 4K.

أمثلة

المخرجات · ~39 ث

المطالبة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.

5 s480P16:9⁨‏0.25 $⁩ · 250 رصيد API

المطالبة من @LudovicCreator على X

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب 1382 / 50000

تعليمات نصية لتوليد الفيديو.

resolution

اختر دقة الفيديو المولد، حيث يتم الحصول على 2K و4K برفع دقة قاعدة 768P. يؤدي اختيار 480P أو 768P بدلًا من ذلك إلى استخدام التوليد الأصلي.

aspect_ratio

نسبة أبعاد فيديو المخرج.

مدة الفيديو، مقاسة بالثواني.

متقدم prompt_expansion_mode · target_audio_url · seed
الافتراضي balanced

مستوى الجهد لإعادة صياغة الموجّه قبل التوليد: اختر 'quality' للحصول على موجّه أغنى يستغرق إعداده ما يصل إلى نحو 30 ثانية، أو 'fast' للحصول على نتيجة في نحو ثانية. عند اختيار 'balanced'، يُحدَّد الخيار لكل طلب؛ أما 'disabled' فيعطّل توسيع الموجّه.

أفلت ملفًا، أو

مسار صوتي بديل اختياري يُقدَّم عبر عنوان URL ببروتوكول HTTP(S) أو معرّف URI لبيانات base64؛ يجب ألا تقل مدة المقطع عن 2 ثانية وألا يتجاوز حجمه 15 MB. يحل الصوت المقدَّم محل المسار الصوتي المولَّد دون تغيير سرعة التشغيل: تُحذف المدة الزائدة من النهاية، وتُستكمل المقاطع الأقصر بصمت لتطابق مدة الفيديو. قد تُعاد معاينة الصوت إلى 96 kHz إذا كان معدل أخذ العينات مرتفعًا على نحو غير معتاد.

بذرة التوليد العشوائي؛ إذا لم تُحدَّد، تُختار عشوائيًا.

POST /run/minimax/h3/text-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/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"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول MiniMax H3 Text to Video

ينشئ MiniMax H3 حركة تعبيرية للشخصيات والكاميرا من مطالبة. يعرض أصليًا بدقة 480P أو 768P؛ ويُرفع خيارا 2K و4K من نتيجة 768P. تتراوح المقاطع من 5 إلى 15 ثانية بست نسب أبعاد، ويتضمن معيد كتابة للمطالبة اختياريًا أربعة مستويات للجهد، ويمكنك تثبيت مسارك الصوتي كمسار صوتي.

المعاملات

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
≤ 50,000 حرف
تعليمات نصية لتوليد الفيديو.
durationاختياري
النوعinteger
الافتراضي5
5 – 15
مدة الفيديو، مقاسة بالثواني.
resolutionاختياري
النوعenum
الافتراضي2K
480P768P2K4K
اختر دقة الفيديو المولد، حيث يتم الحصول على 2K و4K برفع دقة قاعدة 768P. يؤدي اختيار 480P أو 768P بدلًا من ذلك إلى استخدام التوليد الأصلي.
seedاختياري
النوعinteger | null
بذرة التوليد العشوائي؛ إذا لم تُحدَّد، تُختار عشوائيًا.
prompt_expansion_modeاختياري
النوعstring | null
الافتراضيbalanced
مستوى الجهد لإعادة صياغة الموجّه قبل التوليد: اختر 'quality' للحصول على موجّه أغنى يستغرق إعداده ما يصل إلى نحو 30 ثانية، أو 'fast' للحصول على نتيجة في نحو ثانية. عند اختيار 'balanced'، يُحدَّد الخيار لكل طلب؛ أما 'disabled' فيعطّل توسيع الموجّه.
target_audio_urlاختياري
النوعurl · audio
مسار صوتي بديل اختياري يُقدَّم عبر عنوان URL ببروتوكول HTTP(S) أو معرّف URI لبيانات base64؛ يجب ألا تقل مدة المقطع عن 2 ثانية وألا يتجاوز حجمه 15 MB. يحل الصوت المقدَّم محل المسار الصوتي المولَّد دون تغيير سرعة التشغيل: تُحذف المدة الزائدة من النهاية، وتُستكمل المقاطع الأقصر بصمت لتطابق مدة الفيديو. قد تُعاد معاينة الصوت إلى 96 kHz إذا كان معدل أخذ العينات مرتفعًا على نحو غير معتاد.
aspect_ratioاختياري
النوعenum
الافتراضي16:9
21:916:94:31:13:49:16
نسبة أبعاد فيديو المخرج.
مطلوب

تقبل معاملات الملفات عنوان URL عامًا يبدأ بـ https://، أو URI من نوع data: يصل حجمه إلى 10 MB، أو 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 هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
video
object {url, content_type, file_name, file_size}الفيديو الذي أنشأه النموذج.
expanded_prompt
string | nullموجّه موسّع جاهز للنموذج، أو null إذا لم يتوفر نص موسّع. تشمل حالات null إلغاء التوسيع، والتوسيع الذي لم يغيّر شيئًا، والتوسيع الذي عالجه نموذج عبر API المستضاف الخاص به.

مزيد من النماذج: من نص إلى فيديو

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/minimax/h3/text-to-video.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt