Skip to main content
Generate an image from a text prompt. Use input.prompt, not input.messages. POST /v1/images/generations

Quick Example

Set MIXROUTE_API_KEY before running the request.
Read the image URL from output.results[].url after output.task_status becomes SUCCEEDED.

Parameters and Limits

API Reference