Create an OpenAI-compatible image generation

post/images/generations

Request

  • Base URL: https://api.routerplex.com/v1
  • URL: https://api.routerplex.com/v1/images/generations
  • Auth: HTTP bearer

Request body

modelstring required

A supported image-generation model ID, such as gpt-image-2.

promptstring required
sizestring

An image size supported by the selected model.

qualitystring

An image quality supported by the selected model.

Response

Image response with base64 image data.

Changes

No recorded changes to this operation across all 1 revision of this API.