# MiniMax H3 Image Edit API

> MiniMax H3 Image Edit edits and composes images from 1 to 16 reference images with MiniMax's H3 image model, following the instruction while keeping subjects consistent, with 1K, 2K or 4K output.

Source: https://www.sandbase.ai/models/minimax/h3-image/edit
API reference: https://www.sandbase.ai/models/minimax/h3-image/edit#api

## Facts

- Provider: MiniMax
- Type: Image model
- Model ID: `minimax/h3-image/edit`
- Price: From $0.04 per run
- Capabilities: image to image, commercial
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "minimax/h3-image/edit",
  "images": [
    "https://storage.googleapis.com/falserverless/example_inputs/dog.png"
  ],
  "prompt": "Put a red knitted scarf on the dog and keep everything else",
  "resolution": "1K",
  "output_format": "png"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call MiniMax H3 Image Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "minimax/h3-image/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate MiniMax account?

No. One SandBase API key and balance gives you access to MiniMax H3 Image Edit and the other models in the catalog; you do not need to sign up with MiniMax separately.
