---
title: "Generate 1-9 images from a text prompt, optionally guided by a subject reference image (image-to-image). Model fixed to image-01. URLs expire after 24h."
method: POST
path: "/minimax-08853f/v1/image_generation"
tags: ["MiniMax"]
---

# Generate 1-9 images from a text prompt, optionally guided by a subject reference image (image-to-image). Model fixed to image-01. URLs expire after 24h.

`POST /minimax-08853f/v1/image_generation`

## Request

- Base URL: `https://api.orthogonal.com/mpp`
- URL: `https://api.orthogonal.com/mpp/minimax-08853f/v1/image_generation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/docs/minimax-08853f/v1/image_generation/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `prompt` string, required: Image description, max 1500 chars.
  - `aspect_ratio` string: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9. Default 1:1.
  - `width` integer: Width px [512,2048], divisible by 8 (with height).
  - `height` integer: Height px [512,2048], divisible by 8 (with width).
  - `n` integer: Number of images [1,9], default 1.
  - `response_format` string: url (default) or base64.
  - `seed` integer: Random seed for reproducibility.
  - `prompt_optimizer` boolean: Auto-optimize the prompt.
  - `subject_reference` string[]: Image-to-image: [{type:"character", image_file:"<public URL or data URI>"}].

## Response `200`

Successful response

## Other responses

- `402`: Payment Required (x402 / MPP / np)

## Changes

- **2026-11-08** `857e915717f4`: 1 breaking
  - added required request body
- **2026-10-11** `f8378892a608`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/changes/minimax-08853f/v1/image_generation/post.md)

---

[API](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace.md) - [All operations](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/llms.txt) - [OpenAPI document](https://skmtc.dev/orthogonal/apis/orthogonal-api-marketplace/revisions/f89fb77710bc?raw)
