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 Image

minimax-h3-image API

Generate and edit photorealistic images, posters, and product visuals with minimax-h3-image on APISea.

Tạo ảnhẢnhTác vụ bất đồng bộ
ID model
minimax-h3-image

Bảng giá API minimax-h3-image

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
Văn bản đầu vào mỗi 1M token$2.36$2.68−12%
Văn bản đầu vào từ bộ nhớ đệm mỗi 1M token$0$0—
Ảnh đầu vào mỗi 1M token$1.57$1.79−12%
Ảnh đầu vào từ bộ nhớ đệm mỗi 1M token$0$0—
Văn bản đầu ra mỗi 1M token$0$0—
Ảnh đầu ra mỗi 1M token$3.93$4.46−12%

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

Tùy chọnAPISeaChính thức
1K≈ $0.0264$0.03
2K≈ $0.0264$0.03
4K≈ $0.088$0.10

minimax-h3-image là gì?

minimax-h3-image is MiniMax’s standard image model for photorealistic photography, posters, product images, and images with text. On APISea, developers can use it for batch generation or reference-based editing through the image generation endpoint. It accepts Chinese and English prompts; adding image_urls switches the request to editing mode with up to 16 reference images. Each request can generate up to 10 images, with automatic prompt enhancement enabled by default.

Output controls include aspect ratios, exact pixel dimensions up to 20 megapixels, 1K / 2K / 4K resolution tiers, and JPEG, PNG, or WebP formats. Requests run asynchronously and return a task_id for status queries. APISea offers pay-as-you-go, token-based billing and charges only for successful requests. Estimated per-image costs are about $0.0264 at 1K, about $0.0264 at 2K, and about $0.088 at 4K; the default configuration is about 12% below the provider list price.

Điểm nổi bật của minimax-h3-image

Generation and Editing

Create images from text or pass up to 16 reference images through image_urls to switch into editing mode.

Flexible Output Sizing

Choose 1K, 2K, or 4K tiers with aspect ratios, or specify exact pixel dimensions up to 20 megapixels.

Batch Image Requests

Generate from 1 to 10 images per request. The standard model is recommended for batch generation.

Automatic Prompt Enhancement

The model expands prompts into detailed scene descriptions by default. The expanded text is available in revised_prompt in the query result.

Cách gọi API minimax-h3-image 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/images/generations với "model": "minimax-h3-image" 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/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "minimax-h3-image",
    "prompt": "A seaside cafe at dusk, photorealistic, warm tones",
    "size": "16:9",
    "resolution": "2K",
    "n": 1
  }'

Tham số

Tham sốLoạiBắt buộcMặc địnhMô tả
modelstringBắt buộc—Image generation model name. Must be `minimax-h3-image`.
nsfw_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the image task.
promptstringBắt buộc—Text description for image generation or editing.
image_urlsstring[]Tùy chọn—Array of reference images, up to `16`. Passing this field automatically switches to editing mode.
sizestringTùy chọnautoAspect ratio or exact pixel dimensions of the output image.
resolutionstringTùy chọn4KResolution tier. Combined with the aspect ratio, it determines the actual output pixels.
nintegerTùy chọn1Number of images to generate, from `1` to `10`.
prompt_optimizerbooleanTùy chọntrueWhether to automatically expand the prompt.
output_formatstringTùy chọnjpegOutput file format.
output_compressionintegerTùy chọn95Compression quality, from `0` to `100`. Has no effect on `png`.
watermarkbooleanTùy chọnfalseWhether to add a visible AI-generated watermark to the image. Does not affect the implicit marker in the image metadata.

Bạn có thể xây dựng gì với minimax-h3-image

Product Visual Workflows

Build tools that generate product images or accept reference images for editing existing visuals.

Poster Creation Tools

Create posters and images with text, specifying the desired layout and wording in the prompt.

Photorealistic Image Generation

Offer text-driven photography generation with output sizing controls for different compositions.

Batch Creative Production

Generate multiple images per request for teams producing sets of campaign or catalog visuals.

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

  • 01

    Set Resolution Explicitly

    Pass resolution as 2K when you do not need 4K. Omitting it defaults to 4K, with estimated per-image costs of about $0.088 versus about $0.0264 at 2K.

  • 02

    Choose One Sizing Method

    Use size with an aspect ratio and resolution, or use exact pixel dimensions without resolution. Combining exact dimensions with resolution returns a 400 error.

  • 03

    Control Prompt Expansion

    Set prompt_optimizer to false to generate from your original text. This works only for text-to-image and requires an explicit size.

  • 04

    Query Task Status

    Store the returned task_id and use it for status queries. Read revised_prompt in the query result when you need to inspect automatic prompt expansion.

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

  • Prompts must contain 1–32,000 characters after trimming; editing accepts up to 16 reference images.

  • Processing is asynchronous, and each request supports 1–10 output images.

  • The quality, style, seed, negative_prompt, background, and mask_url parameters are unsupported and ignored.

Câu hỏi thường gặp về API minimax-h3-image

How much does minimax-h3-image cost on APISea?

Estimated per-image pricing is about $0.0264 at 1K, about $0.0264 at 2K, and about $0.088 at 4K. Billing is token-based rather than a fixed per-image fee, and the default configuration is about 12% below the provider list price.

How do I call minimax-h3-image?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer Token authentication, model set to minimax-h3-image, and a required prompt. The asynchronous response returns a task_id for status queries.

Does minimax-h3-image support image editing?

Yes. Passing image_urls automatically switches to editing mode and accepts up to 16 references as publicly accessible HTTP(S) direct links or inline Base64 image data.

Which output parameters are supported?

Use size for an aspect ratio or exact pixel dimensions, resolution for 1K / 2K / 4K tiers, and n for 1–10 images. Output formats include JPEG, PNG, and WebP; do not pass resolution when specifying exact pixel dimensions.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Check the applicable MiniMax terms before using outputs in commercial products or campaigns.

How does the standard model compare with the high-speed version?

The standard minimax-h3-image has a lower unit price and is recommended for batch generation. The high-speed version generates faster for latency-sensitive scenarios, but its image input and output unit prices are 2 times those of the standard version.

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-image

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.