Skip to content
Halaman ini belum tersedia dalam bahasa anda, jadi kandungannya dipaparkan dalam bahasa Inggeris.
MiniMax · MiniMax Image

minimax-h3-image API

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

Penjanaan imejImejTugas tak segerak
ID model
minimax-h3-image

Harga API minimax-h3-image

Semua harga dalam USD. Kadar APISea dibandingkan dengan harga senarai rasmi bagi unit yang sama.

Jenis tokenAPISeaRasmiJimat
Input teks bagi setiap 1M token$2.36$2.68−12%
Input teks dalam cache bagi setiap 1M token$0$0—
Input imej bagi setiap 1M token$1.57$1.79−12%
Input imej dalam cache bagi setiap 1M token$0$0—
Output teks bagi setiap 1M token$0$0—
Output imej bagi setiap 1M token$3.93$4.46−12%

Anggaran kos bagi setiap output

PilihanAPISeaRasmi
1K≈ $0.0264$0.03
2K≈ $0.0264$0.03
4K≈ $0.088$0.10

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

Sorotan 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

  1. 01

    Dapatkan API key

    Log masuk ke APISea, tambah nilai sekurang-kurangnya $50 dan cipta kunci sk-sea dalam konsol.

  2. 02

    Tetapkan base URL

    Gunakan https://api.apisea.ai/v1 sebagai base URL dalam SDK atau klien HTTP anda.

  3. 03

    Hantar permintaan

    Panggil POST /v1/images/generations dengan "model": "minimax-h3-image" dan parameter di bawah.

  4. 04

    Urus respons

    Respons mengandungi task_id. Lakukan tinjauan berkala menggunakan GET /v1/tasks/{task_id} sehingga status menjadi completed, kemudian muat turun URL hasil.

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

Parameter

ParameterJenisWajibLalaiPenerangan
modelstringWajib—Image generation model name. Must be `minimax-h3-image`.
nsfw_checkbooleanPilihanfalseWhether to run content moderation before submitting the image task.
promptstringWajib—Text description for image generation or editing.
image_urlsstring[]Pilihan—Array of reference images, up to `16`. Passing this field automatically switches to editing mode.
sizestringPilihanautoAspect ratio or exact pixel dimensions of the output image.
resolutionstringPilihan4KResolution tier. Combined with the aspect ratio, it determines the actual output pixels.
nintegerPilihan1Number of images to generate, from `1` to `10`.
prompt_optimizerbooleanPilihantrueWhether to automatically expand the prompt.
output_formatstringPilihanjpegOutput file format.
output_compressionintegerPilihan95Compression quality, from `0` to `100`. Has no effect on `png`.
watermarkbooleanPilihanfalseWhether to add a visible AI-generated watermark to the image. Does not affect the implicit marker in the image metadata.

Perkara yang boleh anda bina 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.

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

Had dan perkara 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.

Soalan lazim 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 berkaitan

Pilihan: 250+ model · Tambah nilai minimum $50

Mula membina dengan minimax-h3-image

Satu kunci, bayar mengikut penggunaan bermula daripada $50, hanya dicaj untuk permintaan yang berjaya.