Create an image
Generate images from a text prompt.
/v1/images/generationsGenerate images from a text prompt.
Authorization
bearerAuth Use a platform API key in the format Authorization: Bearer your-api-key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Streaming response events
These fields describe the JSON in one data: event, not the complete SSE text stream.
Set the client timeout to at least 600 seconds. Generation may continue after a timeout or disconnection; sending again creates a new request.
MiniMax image generation APISee request parameters and response structure.