minimax-h3-image API
Generate and edit photorealistic images, posters, and product visuals with minimax-h3-image on APISea.
minimax-h3-imageHarga API minimax-h3-image
Semua harga dalam USD. Bandingkan tarif APISea dengan harga resmi untuk satuan yang sama.
| Jenis token | APISea | Resmi | Hemat |
|---|---|---|---|
| Input teks per 1 juta token | $2.36 | $2.68 | −12% |
| Input teks dari cache per 1 juta token | $0 | $0 | — |
| Input gambar per 1 juta token | $1.57 | $1.79 | −12% |
| Input gambar dari cache per 1 juta token | $0 | $0 | — |
| Output teks per 1 juta token | $0 | $0 | — |
| Output gambar per 1 juta token | $3.93 | $4.46 | −12% |
Perkiraan biaya per output
| Opsi | APISea | Resmi |
|---|---|---|
| 1K | ≈ $0.0264 | $0.03 |
| 2K | ≈ $0.0264 | $0.03 |
| 4K | ≈ $0.088 | $0.10 |
Apa itu minimax-h3-image?
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.
Keunggulan 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.
Cara memanggil API minimax-h3-image dalam 4 langkah
- 01
Dapatkan API key
Masuk ke APISea, isi saldo mulai dari $50, lalu buat key sk-sea di konsol.
- 02
Atur base URL
Gunakan https://api.apisea.ai/v1 sebagai base URL di SDK atau klien HTTP Anda.
- 03
Kirim permintaan
Panggil POST /v1/images/generations dengan "model": "minimax-h3-image" dan parameter berikut.
- 04
Tangani respons
Respons berisi task_id. Lakukan polling ke GET /v1/tasks/{task_id} sampai statusnya completed, lalu unduh URL hasilnya.
Contoh permintaan
Dokumentasi: MiniMax-H3-Image Image Generationcurl --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
}'Parameter
| Parameter | Jenis | Wajib | Default | Deskripsi |
|---|---|---|---|---|
model | string | Wajib | — | Image generation model name. Must be `minimax-h3-image`. |
nsfw_check | boolean | Opsional | false | Whether to run content moderation before submitting the image task. |
prompt | string | Wajib | — | Text description for image generation or editing. |
image_urls | string[] | Opsional | — | Array of reference images, up to `16`. Passing this field automatically switches to editing mode. |
size | string | Opsional | auto | Aspect ratio or exact pixel dimensions of the output image. |
resolution | string | Opsional | 4K | Resolution tier. Combined with the aspect ratio, it determines the actual output pixels. |
n | integer | Opsional | 1 | Number of images to generate, from `1` to `10`. |
prompt_optimizer | boolean | Opsional | true | Whether to automatically expand the prompt. |
output_format | string | Opsional | jpeg | Output file format. |
output_compression | integer | Opsional | 95 | Compression quality, from `0` to `100`. Has no effect on `png`. |
watermark | boolean | Opsional | false | Whether to add a visible AI-generated watermark to the image. Does not affect the implicit marker in the image metadata. |
Yang bisa Anda buat dengan 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.
Tips untuk hasil yang lebih baik
- 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.
Batasan dan hal yang perlu diketahui
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.
FAQ 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 terkait
minimax-h3-image-highspeed
qwen-image-2.0
qwen-image-2.0-pro
qwen-image-3.0
qwen-image-3.0-pro
wan2.7-image
wan2.7-image-pro
z-image-turbo
Mulai berkarya dengan minimax-h3-image
Satu API key, bayar sesuai penggunaan mulai dari $50, dan hanya dikenai biaya untuk permintaan yang berhasil.