Skip to main content
Generate images from prompts or edit an existing image. Generation and editing use separate endpoints. POST /v1/images/generations

Quick Example

Set MIXROUTE_API_KEY before running the request.
Decode data[].b64_json to save the generated image.

Parameters and Limits

API Reference