images

POST /v1/images/generations

Generate an image synchronously using the provided input and model parameters.

Request

  • Base URL
    https://api.distribute.ai
  • URL
    https://api.distribute.ai/v1/images/generations
  • Auth
    API key in header authorization

Request body

n1
seednumber
sizestring
stylestring
model'Flux.1 [dev]' required
streamboolean
promptstring required
guidance_scalenumber
inference_stepsnumber
response_format'url' | 'b64_json'

Response

Returns the generated image url or base64 string.

urlstring
b64_jsonstring
revised_promptstring required

Changes

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