Skip to content
Trang này chưa có bản dịch sang ngôn ngữ của bạn, nên hiện đang được hiển thị bằng tiếng Anh.
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.

Tạo videoVideoTác vụ bất đồng bộ
ID model
MiniMax-H3-Context-IR

Bảng giá API MiniMax-H3-Context-IR

Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.

Loại tokenAPISeaChính thứcTiết kiệm
Đầu vào mỗi 1M token$0.7292$0.8286−12%
Đầu ra mỗi 1M token$2.89$3.29−12%

Chi phí ước tính cho mỗi đầu ra

Tùy chọnAPISeaChính thức
Mặc định≈ $0.088$0.10

MiniMax-H3-Context-IR là gì?

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.

Điểm nổi bật của 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.

Cách gọi API MiniMax-H3-Context-IR trong 4 bước

  1. 01

    Tạo API key

    Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.

  2. 02

    Đặt base URL

    Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.

  3. 03

    Gửi request

    Gọi POST /v1/videos/generations với "model": "MiniMax-H3-Context-IR" và các tham số bên dưới.

  4. 04

    Xử lý phản hồi

    Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.

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"
  }'

Tham số

Tham sốLoạiBắt buộcMặc địnhMô tả
modelstringBắt buộc—Fixed value: `MiniMax-H3-Context-IR`
nsfw_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the Context-IR task.
promptstringBắt buộc—Original idea text, **≤ 7000 characters**
durationintegerTùy chọn5Target video duration (seconds), **4\~15**, default `5`. Affects pacing language in the enhanced prompt.
aspect_ratiostringTùy chọn—Target aspect ratio. **Required for text-only input**, and cannot be `adaptive`.
first_frame_imagestringTùy chọn—First-frame image URL
last_frame_imagestringTùy chọn—Last-frame image URL
image_urlsstring[]Tùy chọn—Reference images (always treated as references), ≤ **9**
image_with_rolesobject[]Tùy chọn—Role-tagged images: `first_frame` / `last_frame` / `reference_image`
video_urlsstring[]Tùy chọn—Reference videos, ≤ **3**; each 2\~15s, total ≤ 15s
audio_urlsstring[]Tùy chọn—Reference audio, ≤ **3**; cannot be used alone — pair with image or video

Bạn có thể xây dựng gì với 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.

Mẹo để có kết quả tốt hơn

  • 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.

Giới hạn và những điều cần biết

  • 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.

Câu hỏi thường gặp về 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.

Model liên quan

Hệ sinh thái gồm 250+ mô hình · Nạp tối thiểu $50

Bắt đầu xây dựng với MiniMax-H3-Context-IR

Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.