by MiniMax

MiniMax H3 Image LoRA edit API: restyle a photo with an H3 LoRA or put one person into new scenes from up to 9 references, 1K or 2K, about 25 s.

minimax/h3-image-lora/edit
MiniMax H3 Image LoRA AI Image Generator online
  • Up to 2K
  • Up to 9 reference images
  • 15 aspect ratios
  • Loads your own LoRA
  • Create Image
  • Edit Image

About MiniMax H3 Image LoRA

MiniMax H3 Image LoRA edit takes a prompt, up to nine image_urls and optional loras, typically in about 25 seconds.

Call it with the model name minimax/h3-image-lora/edit on POST /jobs/createTask, from $0.054.

Introduction

MiniMax H3 Image LoRA Image editing re-renders the people and things in your reference images into a new scene, outfit, pose or style, using the open-weights MiniMax H3 with up to three of your own LoRA files. Send one to nine images, refer to them as Picture 1, Picture 2 and so on, and get one image at 1k or 2k in the first reference's shape or any of fifteen aspect ratios.

Choose a mode by starting material

What you haveMode
a written descriptionMiniMax H3 Image LoRA Text to image
one to nine images to changeMiniMax H3 Image LoRA Edit
a still you want to animateMiniMax H3 LoRA Image to video

Key features

Identity carried over from the references

Faces, hairstyles and distinctive clothing details carry over while everything else changes. In our test a single portrait went into a completely different setting and pose, and the face and hair stayed recognisably the same person.

Up to nine numbered sources

Combine a person, an outfit, an object and a place from separate images in one request. Numbering them in the prompt tells the model which picture does which job.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · 2:1 · 1:2 · 3:1 · 1:3 · 5:4 · 4:5
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
lorasNoAdd LoRA weights compatible with this model to guide its style or character. Default: []
output_formatNoFile type of the result. jpeg · png · webp · Default: jpeg
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 1k · 2k · Default: 1k
seedNoUse the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per image
resolution 1K$0.054
resolution 2K$0.126

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

New scenes for the same person

One clean portrait is enough to place someone on a balcony, in a hotel room or on a stage. Change the light and the clothes in the prompt and keep the face from the picture.

Wardrobe and product swaps

Send the person as Picture 1 and a garment or product as Picture 2, and ask for the person wearing or holding it. Useful for catalogues and for keeping a character's outfit consistent.

Restyle with a LoRA

Load an anime, film-stock or VHS LoRA and ask for the same image in that style. The composition and the person stay; the medium changes.

Prompt guide & pro tips

Map the pictures, then describe the change

Start with one short sentence per reference, then describe only what should be different. Describing the face again tends to fight the reference rather than help it.

Fewer, clearer references

Crop references so the part you care about fills the frame.

API quick start

Call the MiniMax H3 Image LoRA API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model minimax/h3-image-lora/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "minimax/h3-image-lora/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "resolution": "1k",
    "output_format": "jpeg"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the MiniMax H3 Image LoRA Edit Image endpoint

A style LoRA plus "redraw Picture 1" restyles a photo while keeping its subject, outfit and pose.

One plain portrait is enough to place the same person into a new scene; adding more references costs extra and can weaken the face match.

Use the output as image_url for minimax/h3-lora image to video with the same loras to animate it in the same style.

seed is supported for consistent series.

MiniMax H3 Image LoRA API questions

How much does the MiniMax H3 Image LoRA API cost?

MiniMax H3 Image LoRA starts at $0.054 per image with Edit Image, its lowest-priced task. Prices by option: 1K $0.054 per image, 2K $0.126 per image. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the MiniMax H3 Image LoRA · Edit Image API?

Resolutions: 1K · 2K; Aspect ratios: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 +9; Reference images: 9; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

More about MiniMax H3 Image LoRA