Skip to main content
POST
Generate image with MiniMax H3 Image

MiniMax H3 Image on BudgetPixel

Examples, prompts and pricing.

Authorizations

Authorization
string
header
required

API key as a bearer token: Authorization: Bearer bpx_live_xxx

Body

application/json
prompt
string
required

Text description of the image to generate, or of the edit to apply to the reference images. The model expands the prompt before it renders. Write @handle to cast a character: a BudgetPixel AI influencer or one of your own (GET /v1/characters).

aspect_ratio
enum<string>
default:auto

Output aspect ratio. "auto" (default) keeps the first reference image's shape when editing, or lets the model pick a shape from the prompt for text-to-image.

Available options:
auto,
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3,
5:4,
4:5,
2:1,
1:2,
21:9,
9:21
num_images
integer
default:1

Number of images to generate, all made in one request. Each image returned is billed; one the model's safety check withholds is not.

Required range: 1 <= x <= 4
reference_images
string[]

Optional reference images (up to 10) for image editing and multi-reference composition. Each item is a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads. Omit for text-to-image. Each reference image bills 12 credits per generated image; images over 2 megapixels are scaled down to 2 megapixels first.

Maximum array length: 10
size
enum<string>
default:2K

Output size: 2K is about 4 MP (2048x2048, or 2720x1536 at 16:9) and bills 34 credits per image; 4K is about 16 MP (4096x4096) and bills 100.

Available options:
2K,
4K

Response

Job accepted.

characters
object[]

The characters the prompt cast with @handle mentions. Absent when none.

id
string

Opaque job id — use it to poll status.

Example:

"img_a1b2c3d4e5f6"

message
string
model
string
status
enum<string>

Lifecycle state. succeeded/failed/timeout are terminal.

Available options:
pending,
starting,
processing,
completing,
succeeded,
failed,
timeout