Skip to main content

UNLIMITED

Flux 3 Klein, H3 Image, Qwen 2.1, MiniMax H3 Video, 310+ effectsSee plans

WAN 3 prices drop again! 40% off @1080p, 30% @480P, 25% @4K!

All API models

Image generation API

MiniMax H3 Image API

MiniMax H3 Image: natural photoreal images up to 16 MP that follow long, detailed prompts closely, with accurate text, and edits from up to 8 images.

From$0.094an image

Pay as you go, no subscription.

  • Image to image
  • Editing
  • LoRA
Handsome man in his thirties with a short beard and a white linen shirt on a Mediterranean balcony at golden hour, warm backlight, sea behind him, editorial photo
Made with this API. Handsome man in his thirties with a short beard and a white linen shirt on a Mediterranean balcony at golden hour, warm backlight, sea behind him, editorial photo

Quickstart

Three steps from zero to a finished file.

  1. 1

    Get a key

    Create an API key. It works for every model on Pixel Dojo.

    Create a key
  2. 2

    Send one request

    POST your input to the endpoint. You get a job ID back right away.

  3. 3

    Collect the result

    Poll the status URL or pass a webhook. The finished file arrives as a link.

  4. Or let your AI coding tool do it

    Copy this prompt into Claude Code, Cursor or Codex. It reads our docs and writes the code.

    Add the Pixel Dojo MiniMax H3 Image API to this project. Read https://pixeldojo.ai/llm/minimax-h3-image.txt for the endpoint, inputs and prices, and https://pixeldojo.ai/llm.txt for auth, job status and webhooks. Read the key from the PIXELDOJO_API_KEY environment variable. Write one function that submits a job, waits for it to finish and returns the file URL, with errors handled.

POSThttps://pixeldojo.ai/api/v1/models/minimax-h3-image/run
bash
curl -X POST "https://pixeldojo.ai/api/v1/models/minimax-h3-image/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A documentary photograph of a fishmonger laughing behind a crowded ice counter at dawn, steam in the cold air",
    "aspect_ratio": "3:2"
  }'

Want the file in one call? Add ?wait=60 to the URL. The request waits for the job and returns the result.

Pricing

You pay per result. Every setting is in the table.

SettingPer image
2K$0.094
4K$0.25
  • Pay as you go

    Top up from $5. No subscription and no minimum.

  • Failed runs cost nothing

    If a run fails, you get the money back on its own.

  • Know the price first

    Add ?dry_run=true to any request to get its price. Nothing is charged.

Try it

Run a real request and see the exact input and output your code will handle. It is charged like any API call.

Made with this API

Real outputs. Open one to see the request that made it.

MiniMax H3 Image example: Handsome man in his thirties with a short beard and a white linen shirt on a Mediterranean balcony at golden hour, wa...
See the request

Handsome man in his thirties with a short beard and a white linen shirt on a Mediterranean balcony at golden hour, warm backlight, sea behind him, editorial photo

30.8s

Reference

Every input the endpoint takes, and what comes back.

Parameters

Parameter
promptrequiredstringWhat to generate, or the edit to make to image 1 (refer to the others as picture 2, picture 3, ...)
aspect_ratioenum · default auto"auto" keeps the shape of image 1 when editing, else 1:1auto1:14:33:43:2+3 more
resolutionenum · default 2k2k or 4k2k4k
num_imagesinteger · default 1Images to generate (1-4)min: 1 | max: 4
reference_imagesarrayUp to 8 image URLs. The first is the image to edit; the others are references the prompt can name as picture 2, picture 3, ...items: urlmax items: 8
prompt_upsamplingboolean · default falseExpand a short prompt into a long, detailed one before rendering (off by default). It adds about 90 seconds to the render.
seedintegerRandom seed for reproducibilitymin: 0 | max: 2147483647
output_formatenum · default jpegjpeg, png or webpjpegpngwebp
lora_weightsstringURL or array of up to 3 MiniMax H3 Image LoRA .safetensors URLs (https)
lora_scalesnumberStrength of each LoRA (0-2), a number or an array matching lora_weights

What comes back

When you submit (202)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "priceUsd": 0.0938,
  "creditCost": 1.5,
  "creditsRemaining": 95,
  "expiresAt": "2026-12-02T05:20:39Z"
}

When it finishes

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 1.5,
  "expiresAt": "2026-12-02T05:20:39Z"
}

priceUsd is what the run cost, in dollars. The credit fields show the same charge and your balance in account credits.

Use saved characters (@Name)

Write @Name in the prompt to use a character, product, outfit, location, prop or style saved in the account's Character Studio, for example "@Mara on a beach at sunset". Its photos are added to reference_images automatically, after any images you send yourself, so your own image numbering is unchanged. List saved names with GET /api/v1/characters and save new ones with POST /api/v1/characters. An @word that names nothing saved stays plain text.

Aspect ratios

1:1
4:3
3:4
3:2
2:3
16:9
9:16

Other endpoints for this model

Image editing and generation can use different model IDs.

Built for AI agents

Hand these to a coding assistant and it can write the integration for you.

Questions

How much does the MiniMax H3 Image API cost?

From $0.094 an image. The table above has the price for every setting, and each job's response shows what it cost.

Do I need a subscription?

No. Top up from $5 and pay only for what you run.

Can I see the price before I run something?

Yes. Add ?dry_run=true to the request. You get its price back. Nothing is charged and no job starts.

Do I pay for a run that fails?

No. If a run fails, you get the money back on its own.

How long do output links last?

One hour. Download the file in that time, or call the save endpoint to keep it in your library.

Can an AI assistant use this model?

Yes. Connect Claude, ChatGPT or any agent to our MCP server at https://pixeldojo.ai/mcp. Or give it the docs file for this model.

More image APIs

Same key, same request shape. Switch models by changing one word in the URL.

All 77 image APIs

Start building

Try MiniMax H3 Image in the app