Dev.to AI 🤖 Ai 👁 0 📖 10 min read

How to Generate Images with the MiniMax H3 Image API

Introduction The useapi.net MiniMax API runs MiniMax H3 Image, MiniMax's newest image model, on your Hailuo AI subscription: one REST call, POST images/create, makes 1 to 4 images at 1K, 2K or 4K from a prompt and up t

How to Generate Images with the MiniMax H3 Image API

Introduction

The useapi.net MiniMax API runs MiniMax H3 Image, MiniMax's newest image model, on your Hailuo AI subscription: one REST call, POST images/create, makes 1 to 4 images at 1K, 2K or 4K from a prompt and up to 16 reference images. H3 Image Highspeed, the faster variant, takes the same parameters.

Every image on this page was made through the API by the call shown above it. You need a useapi.net API token and a Hailuo AI account added once, see Setup MiniMax. useapi.net is a third-party API, not affiliated with MiniMax.

MiniMax H3 Image also runs on the useapi.net PixVerse API as minimax-h3-image, on a PixVerse subscription. See Other new PixVerse image models.

Pricing

Model 1K or 2K 4K 4K on Master ($89 a month) 4K on MiniMax's own API
H3 Image 3 credits 6 credits $0.051 $0.069
H3 Image Highspeed 5 credits 12 credits $0.102 $0.130

A 4K image on each Hailuo AI plan, against MiniMax's own developer platform, which bills the model by tokens (as of November 2026):

Model Official API Max $216/m
27,000 cr/mo
Master $89/m
10,500 cr/mo
Pro $38/m
4,500 cr/mo
Standard $10.50/m
1,000 cr/mo
H3 Image
4K
$0.069
an image
$0.048 / 6 cr
4,500 images/mo
$0.051 / 6 cr
1,750 images/mo
$0.051 / 6 cr
750 images/mo
$0.063 / 6 cr
166 images/mo
H3 Image Highspeed
4K
$0.130
an image
$0.096 / 12 cr
2,250 images/mo
$0.102 / 12 cr
875 images/mo
$0.101 / 12 cr
375 images/mo
$0.126 / 12 cr
83 images/mo
  • The same Hailuo credits also run Midjourney V7, Nano Banana Pro, GPT Image 2, Seedream and Veo 3.1, none of which MiniMax's platform sells, and they need no prepaid developer balance.
  • The credits calculator on the overview has every resolution, and GET features shows the credits left on each account.

开始使用

每月 15 美元的订阅即可使用 useapi.net 上的所有 API:一个 Token,所有服务。每个服务最多绑定 3 个你自己的账号,useapi.net 负责 REST 接口、负载均衡和轮询。需要更多账号?每增加一个订阅每月 10 美元,每个服务再多 3 个账号。

订阅(每月 15 美元) 用加密货币支付

没有国际信用卡?可以用加密货币订阅(加密货币付款不退款)。价格与批量方案见订阅页面。用 Stripe 付款,首次购买 14 天内、且成功生成少于 50 次可全额退款。已经订阅?请在 Stripe 客户门户 修改数量,无需重新购买。

API を使い始める

月額15ドルのサブスクリプション1つで、useapi.net のすべての API を使えます。トークン1つで、すべてのサービスに対応します。各サービスにご自身のアカウントを最大3つまで接続でき、REST API、負荷分散、ポーリングは useapi.net が担当します。アカウントを増やしたい場合は、サブスクリプションを1つ追加するごとに月額10ドルで、各サービスのアカウントが3つずつ増えます。

月額15ドルで登録する 暗号資産で支払う

海外で使えるクレジットカードがない場合は、暗号資産で登録することもできます(暗号資産での支払いは返金できません)。料金とボリュームプランはサブスクリプションのページをご覧ください。Stripe でお支払いの場合、初回購入から14日以内で、成功した生成が50回未満であれば全額返金されます。すでに登録済みの場合は、新たに購入せず Stripe カスタマーポータルで数量を変更してください。

Comece a usar a API

Uma assinatura de US$ 15 por mês dá acesso a todas as APIs da useapi.net: um token, todos os serviços. Você conecta até 3 contas suas por serviço, e a useapi.net cuida da API REST, do balanceamento de carga e do polling. Precisa de mais contas? Cada assinatura extra custa US$ 10 por mês e acrescenta mais 3 contas por serviço.

Assinar por US$ 15/mês Pagar com cripto

Não tem cartão de crédito internacional? Você também pode assinar com criptomoedas (pagamentos em cripto não são reembolsáveis). Preços e planos de volume estão na página de assinatura. Pagando pelo Stripe, você recebe reembolso integral em até 14 dias após a primeira compra, se tiver menos de 50 gerações bem-sucedidas. Já é assinante? Altere a quantidade no portal do cliente Stripe em vez de comprar de novo.

Bắt đầu dùng API

Một gói đăng ký $15/tháng dùng được mọi API trên useapi.net: một token cho tất cả dịch vụ. Mỗi dịch vụ bạn kết nối tối đa 3 tài khoản của riêng mình, còn useapi.net lo REST API, cân bằng tải và polling. Cần thêm tài khoản? Mỗi gói đăng ký thêm giá $10/tháng và cho thêm 3 tài khoản ở mỗi dịch vụ.

Đăng ký gói $15/tháng Thanh toán bằng tiền mã hóa

Không có thẻ thanh toán quốc tế? Bạn có thể đăng ký bằng tiền mã hóa (thanh toán bằng tiền mã hóa không được hoàn tiền). Giá và các gói số lượng lớn có trên trang đăng ký. Nếu thanh toán qua Stripe, bạn được hoàn tiền toàn bộ trong 14 ngày kể từ lần mua đầu tiên khi có dưới 50 lượt tạo thành công. Đã đăng ký rồi? Hãy đổi số lượng trong Stripe Customer Portal thay vì mua lại.

Mulai memakai API

Satu langganan US$15/bulan mencakup semua API di useapi.net: satu token untuk semua layanan. Di setiap layanan Anda bisa menghubungkan hingga 3 akun milik Anda sendiri, dan useapi.net menangani REST API, load balancing, dan polling. Butuh lebih banyak akun? Setiap langganan tambahan US$10/bulan dan menambah 3 akun lagi per layanan.

Berlangganan US$15/bulan Bayar dengan kripto

Tidak punya kartu kredit internasional? Anda bisa berlangganan dengan kripto (pembayaran kripto tidak bisa di-refund). Harga dan paket volume ada di halaman langganan. Jika membayar lewat Stripe, Anda mendapat refund penuh dalam 14 hari sejak pembelian pertama, selama jumlah generasi yang berhasil kurang dari 50. Sudah berlangganan? Ubah jumlahnya di Stripe Customer Portal, tidak perlu membeli lagi.

เริ่มใช้งาน API

การสมัครสมาชิกเดือนละ $15 ใช้ได้กับทุก API บน useapi.net ใช้ Token เดียวกับทุกบริการ เชื่อมบัญชีของคุณเองได้สูงสุด 3 บัญชีต่อบริการ แต่ละบัญชีใช้แพ็กเกจของเว็บไซต์นั้นเอง ส่วน useapi.net ดูแล REST API การกระจายโหลด และการ polling ให้ ต้องการบัญชีมากกว่านี้? สมัครเพิ่มแต่ละครั้งเดือนละ $10 และได้เพิ่มอีก 3 บัญชีต่อบริการ

สมัครสมาชิก $15/เดือน ชำระด้วยคริปโต

ไม่มีบัตรเครดิตที่ใช้จ่ายต่างประเทศได้? สมัครด้วยคริปโตก็ได้ (การชำระด้วยคริปโตขอคืนเงินไม่ได้) ดูราคาและแพ็กเกจสำหรับปริมาณมากได้ที่หน้าการสมัครสมาชิก ถ้าชำระผ่าน Stripe ขอคืนเงินเต็มจำนวนได้ภายใน 14 วันหลังซื้อครั้งแรก หากสร้างงานสำเร็จไม่ถึง 50 ครั้ง สมัครไว้แล้ว? เปลี่ยนจำนวนได้ที่ Stripe Customer Portal โดยไม่ต้องซื้อใหม่

Empieza a usar la API

Una sola suscripción de US$15 al mes cubre todas las API de useapi.net: un token para todos los servicios. Conectas hasta 3 cuentas propias por servicio, cada una con la suscripción de su sitio web, y useapi.net se encarga de la API REST, el balanceo de carga y el polling. ¿Necesitas más cuentas? Cada suscripción adicional cuesta US$10 al mes y suma 3 cuentas más por servicio.

Suscríbete por US$15/mes Pagar con cripto

¿No tienes una tarjeta de crédito internacional? También puedes suscribirte con criptomonedas (los pagos con cripto no se reembolsan). Los precios y los planes por volumen están en la página de suscripción. Si pagas con Stripe, recibes el reembolso completo dentro de los 14 días posteriores a la primera compra, si tienes menos de 50 generaciones exitosas. ¿Ya tienes una suscripción? Cambia la cantidad en el portal de clientes de Stripe en lugar de volver a comprar.

Start using the API

One $15 a month subscription covers every API on useapi.net, with one token. It connects up to 3 of your own accounts per service, and each account keeps its own website subscription. We run the API, share your requests across your accounts and wait for the results. Need more accounts? Each extra $10 a month subscription adds 3 more per service.

Subscribe for $15 a month Pay with crypto

See pricing and volume options. You get a full refund within the first 14 days if you have fewer than 50 successful generations. Already subscribed? Change the quantity in the Stripe Customer Portal instead of buying again.

Example: one person and one motorcycle from two reference images

H3 Image takes up to 16 reference images, and the prompt can say which is which: @Image1 means referenceFileId1, @Image2 means referenceFileId2, and so on. We gave it an old studio portrait of a woman, a photo of a 1920s motorcycle on white, and a seven-word prompt, @Image1 riding the @Image2 at sunset, cinematic.

The two references that went in:

The two reference images for MiniMax H3 Image: @Image1, an old studio portrait of a woman, and @Image2, a 1920s motorcycle on a white background

Upload each image once with POST files, which returns its fileID:

curl --location 'https://api.useapi.net/v1/minimax/files/?account=987654321' \
--header 'Authorization: Bearer user:12345-…' \
--header 'Content-Type: image/jpeg' \
--data-binary '@portrait.jpg'

Then pass the files as referenceFileId1 and referenceFileId2, with the mentions in the prompt. Add account if you have more than one Hailuo account:

curl --location 'https://api.useapi.net/v1/minimax/images/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'model="h3-image"' \
--form 'resolution="2K"' \
--form 'aspectRatio="3:2"' \
--form 'referenceFileId1="user:12345-minimax:987654321-file:111111111111111111"' \
--form 'referenceFileId2="user:12345-minimax:987654321-file:222222222222222222"' \
--form 'prompt="@Image1 riding the @Image2 at sunset, cinematic"'
{
  "imageIds": ["user:12345-minimax:987654321-image:333333333333333333"],
  "code": 200
}

The image that came out, 2K at 3:2, 2496×1664:

MiniMax H3 Image through the useapi.net MiniMax API: a woman from a vintage portrait riding a 1920s motorcycle at sunset, made from two reference images

H3 Image kept her face, hairstyle, dress and rose, kept the motorcycle's black frame and tank, and built a new scene around both. A few rules make references predictable:

  • @Image1 always means referenceFileId1, whatever order the mentions take in the prompt. Case doesn't matter, so @IMAGE1 and @image1 work too
  • Slots start at 1 and have no gaps: referenceFileId3 without 1 and 2 is refused
  • All reference files come from the same Hailuo account, the one the image is made on
  • Mentions are optional. They make each reference's role explicit, which is what turned two separate photos into one rider on one motorcycle

Getting the image

Poll GET images/imageId with each id from imageIds until statusFinal is true, or pass a replyUrl to get the same JSON by callback. The finished image is at downloadURL:

curl --location 'https://api.useapi.net/v1/minimax/images/user:12345-minimax:987654321-image:333333333333333333' \
--header 'Authorization: Bearer user:12345-…'
{
  "imageId": "user:12345-minimax:987654321-image:333333333333333333",
  "modelID": "MiniMax-H3-Image",
  "statusLabel": "completed",
  "statusFinal": true,
  "width": 2496,
  "height": 1664,
  "aspectRatio": "3:2",
  "downloadURL": "https://cdn.hailuoai.video/…/image.jpg"
}

statusFinal is also true when statusLabel is failed or moderated, and then there is no image. A request the API can't accept answers 400 with an error message.

More examples

Text to image with the defaults

Only the model and a prompt. Without aspectRatio and resolution, H3 Image picks the frame (auto) and renders at 1K.

curl --location 'https://api.useapi.net/v1/minimax/images/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'model="h3-image"' \
--form 'prompt="A lone lighthouse on a rocky cliff at dusk, waves crashing, cinematic light"'

The image that came out. H3 Image chose a portrait frame, 880×1184:

MiniMax H3 Image at 1K with the default auto aspect ratio: a lighthouse on a rocky cliff at dusk

H3 Image Highspeed at 1K, 1:1

<!-- Hailuo AI model picker, 2026-11-10 capture: H3 Image "Versatile image creation with visual reasoning and native 4K output", H3 Image Highspeed "Same image quality, faster generation for exploring ideas and iterating quickly". --> h3-image-highspeed takes exactly the same parameters. Hailuo describes it as the same image quality with faster generation, for exploring ideas and iterating quickly. We haven't measured the speed difference, so time a few requests on your account before you pick Highspeed for speed alone.

curl --location 'https://api.useapi.net/v1/minimax/images/create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'model="h3-image-highspeed"' \
--form 'resolution="1K"' \
--form 'aspectRatio="1:1"' \
--form 'prompt="Peaceful forest path with sunlight filtering through tall ancient trees"'

The image that came out, 1024×1024:

MiniMax H3 Image Highspeed at 1K, 1:1: a forest path with sunlight filtering through tall old trees

Parameters

Parameter Values Default
model h3-image, h3-image-highspeed image-01
resolution 1K, 2K, 4K 1K
aspectRatio auto, 21:9, 16:9, 5:4, 4:3, 3:2, 1:1, 2:3, 3:4, 4:5, 9:16 auto
quantity 1 to 4 images per request 1
referenceFileId1 … 16 fileID from POST files none
prompt up to 7,500 characters required

A 4K image at 16:9 came out at 5472×3072 in our tests. quality belongs to GPT Image 2 and is refused here. POST images/create has the full list.

Use it from Claude, ChatGPT or Cursor

The hosted MiniMax MCP server brings these H3 Image calls to Claude Code, Cursor, VS Code and other MCP clients, with nothing to install, and the Claude app and ChatGPT connect to it with a sign-in. It has 38 tools and runs on your own Hailuo AI accounts with your useapi.net API token. In Claude Code:

claude mcp add --transport http useapi-minimax https://api.useapi.net/v1/minimax/mcp --header "Authorization: Bearer YOUR_API_TOKEN"

Then ask, for example, "Upload these two photos and make a 2K H3 Image of @Image1 riding the motorcycle from @image2 at sunset". The assistant uploads them with minimax_upload_file and calls minimax_create_image with h3-image and up to 16 references, the same parameters as above. MiniMax's own MiniMax-MCP has 8 tools and runs locally on a pay-as-you-go developer API key (comparison). The server is listed in the official MCP Registry as net.useapi/minimax.

Questions

Is there a MiniMax H3 Image API?

Yes. The useapi.net MiniMax API runs H3 Image and H3 Image Highspeed on your Hailuo AI subscription, and the same credits also run Midjourney V7, Nano Banana Pro, GPT Image 2 and Seedream, none of which MiniMax's own developer platform sells. One call to POST images/create takes up to 16 reference images with @Image mentions.

How much does MiniMax H3 Image cost?

Through useapi.net, a 4K H3 Image uses 6 Hailuo credits, $0.051 on Master ($89 a month, 1,750 images), against $0.069 on MiniMax's own API, and a 4K Highspeed image $0.102 against $0.130 (as of November 2026). 1K and 2K images use 3 credits, or 5 on Highspeed. GET features shows the credits left.

Can MiniMax H3 Image combine reference images?

Yes. Through the useapi.net MiniMax API you can pass up to 16 reference images as referenceFileId1 to referenceFileId16 and refer to each one in the prompt as @Image1 to @Image16, so one prompt can place a person from one photo into the scene or onto the object of another. The example above shows the full call.

What is the difference between H3 Image and H3 Image Highspeed?

Both run on the useapi.net MiniMax API with the same parameters, resolutions and 16 references. Hailuo describes Highspeed as the same image quality with faster generation. On Hailuo it costs 5 credits an image at 1K or 2K and 12 at 4K, against 3 and 6 for H3 Image.

Conclusion

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.