Generate Image
OpenAI-compatible image generation endpoint.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
prompt
model
n
quality
response_format
size
output_format
output_compression
background
moderation
partial_images
image
seed
sequential_image_generation
sequential_image_generation_options
guidance_scale
watermark
optimize_prompt_options
stream
Response
Successful Response
Errors
401
Unauthorized Error
402
Payment Required Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error