Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
MiniMax · MiniMax H3

MiniMax-H3-Context-IR API

MiniMax-H3-Context-IR turns ideas and reference media into structured video prompts on APISea—not finished videos.

יצירת וידאווידאומשימה אסינכרונית
מזהה מודל
MiniMax-H3-Context-IR

תמחור API של MiniMax-H3-Context-IR

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$0.7292$0.8286−12%
פלט לכל 1M tokens$2.89$3.29−12%

עלות משוערת לכל פלט

אפשרותAPISeaרשמי
ברירת מחדל≈ $0.088$0.10

מהו MiniMax-H3-Context-IR?

MiniMax-H3-Context-IR is MiniMax’s multimodal prompt-enhancement model for video workflows. Send an original idea with optional images, reference videos, or audio paired with visual media, and receive a richer, structured text prompt—not a generated video. It supports first- and last-frame images, role-tagged images, target aspect ratio, and a target duration that guides pacing language. Use it independently or pass the returned result.prompt as-is to MiniMax-H3 for generation.

On APISea, call MiniMax-H3-Context-IR through the video generations endpoint using your API key. Requests are asynchronous and typically complete in 20–40 seconds. Billing is token-based: input costs $0.7292 per 1M tokens and output costs $2.89 per 1M tokens. Multimodal inputs can significantly increase input token usage. APISea offers pay-as-you-go access and bills only successful requests; the Default configuration is about 12% below the provider list price.

המאפיינים הבולטים של MiniMax-H3-Context-IR

Structured Prompt Output

Receive an enhanced text prompt in result.prompt rather than a video. Pass that prompt as-is to MiniMax-H3 for generation.

Multimodal Reference Inputs

Supply reference images, videos, and audio to inform prompt enhancement. Audio must be paired with an image or video.

Pacing and Framing

Set a target duration from 4–15 seconds to guide pacing language. Specify a target aspect ratio, which is required for text-only input.

Optional Content Moderation

Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission. Moderation is off by default.

איך לקרוא ל-API של MiniMax-H3-Context-IR ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/videos/generations עם "model": "MiniMax-H3-Context-IR" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "MiniMax-H3-Context-IR",
    "prompt": "Epic space-opera trailer: a female captain alone before a huge viewport as the last fleet gathers and jumps away.",
    "duration": 5,
    "aspect_ratio": "16:9"
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרש—Fixed value: `MiniMax-H3-Context-IR`
nsfw_checkbooleanאופציונליfalseWhether to run content moderation before submitting the Context-IR task.
promptstringנדרש—Original idea text, **≤ 7000 characters**
durationintegerאופציונלי5Target video duration (seconds), **4\~15**, default `5`. Affects pacing language in the enhanced prompt.
aspect_ratiostringאופציונלי—Target aspect ratio. **Required for text-only input**, and cannot be `adaptive`.
first_frame_imagestringאופציונלי—First-frame image URL
last_frame_imagestringאופציונלי—Last-frame image URL
image_urlsstring[]אופציונלי—Reference images (always treated as references), ≤ **9**
image_with_rolesobject[]אופציונלי—Role-tagged images: `first_frame` / `last_frame` / `reference_image`
video_urlsstring[]אופציונלי—Reference videos, ≤ **3**; each 2\~15s, total ≤ 15s
audio_urlsstring[]אופציונלי—Reference audio, ≤ **3**; cannot be used alone — pair with image or video

מה אפשר לבנות עם MiniMax-H3-Context-IR

Video Brief Expansion

Build a tool that turns a short creative idea into a structured prompt ready for MiniMax-H3 video generation.

Reference-Based Prompting

Let users attach visual references or frame images so prompt enhancement can incorporate multimodal context.

Preview-to-Final Workflows

Use Context-IR as the first step before a MiniMax-H3 768P preview and optional regeneration to 2K.

Audio-Informed Creative Briefs

Pair reference audio with images or video to produce an enhanced prompt informed by both visual and audio inputs.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Set Text-Only Framing

    For text-only requests, provide aspect_ratio and do not use adaptive. Keep the original prompt at or below 7000 characters.

  • 02

    Match Your Target Duration

    Set duration to the intended video length within 4–15 seconds; the default is 5. This controls pacing language, not a video output.

  • 03

    Manage Reference Costs

    Include media that contributes useful context: multimodal inputs significantly increase input tokens. Actual billing is settled against prompt_tokens and completion_tokens.

  • 04

    Poll and Reuse

    Poll task status every 3–5 seconds while the asynchronous request runs. Once complete, pass result.prompt as-is to MiniMax-H3.

מגבלות ודברים שכדאי לדעת

  • This model produces text only; requests typically complete asynchronously in 20–40 seconds.

  • The original prompt is limited to 7000 characters, with up to 9 reference images and 3 reference videos; videos must each be 2–15 seconds and total no more than 15 seconds.

  • Up to 3 reference audio inputs are supported, but audio cannot be used alone; frame and reference inputs follow H3’s mutual-exclusion rules.

שאלות נפוצות על API של MiniMax-H3-Context-IR

What does MiniMax-H3-Context-IR do?

It uses your idea and optional media to produce an enhanced, structured video prompt. The output is text in result.prompt, not a generated video.

How much does MiniMax-H3-Context-IR cost on APISea?

APISea charges $0.7292 per 1M input tokens and $2.89 per 1M output tokens. Billing is based on actual token usage, and the Default configuration is about 12% below the provider list price.

How do I call MiniMax-H3-Context-IR through APISea?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer authentication, model set to MiniMax-H3-Context-IR, and a required prompt. Submission returns a task_id; poll task status to retrieve the completed result.

Which parameters are required for text-only requests?

Provide model, prompt, and aspect_ratio; aspect_ratio cannot be adaptive. The prompt must be at most 7000 characters, and optional duration accepts 4–15 seconds with a default of 5.

How is Context-IR different from MiniMax-H3 video generation?

Context-IR enhances prompts and returns text, while MiniMax-H3 generates video. Context-IR can run alone or precede a 768P preview and 2K regeneration workflow.

Can I use MiniMax-H3-Context-IR commercially?

Commercial use is subject to the provider's terms. Review the applicable terms and rights for any reference media before deploying a commercial workflow.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם MiniMax-H3-Context-IR

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.