OpenAI-compatible

Generate images (OpenAI-compatible)

Returns data[].b64_json. Charged per image after delivery.

post/api/v1/images/generations

Request

  • Base URL: https://api.llm-broker.net
  • URL: https://api.llm-broker.net/api/v1/images/generations
  • Auth: API key in header Authorization

Request body

ninteger
promptstring required
response_format'b64_json'
sizestring

Example request

{
  "size": "1024x1024"
}

Response

Images

object required

Changes

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