Usage > V1 > OpenAI-compatible
Create image
Creates an image given a prompt.<br> This route is mostly OpenAI-compliant, see the OpenAI documentation.<br> Supports English primarily, with limited understanding of French (FR), German (DE), Spanish (ES), and Italian (IT).
post/1/ai/{product_id}/openai/images/generations
Path parameters
product_idinteger required
AI Tools product identifier: use GET /1/ai to retrieve your product identifier.
Request body
Example request
{
"model": "sdxl_lightning",
"negative_prompt": "asymmetry, worst quality, low quality",
"prompt": "A cute cat",
"quality": "standard",
"response_format": "b64_json",
"size": "1024x1024",
"style": "neonpunk"
}Response
OK
Changes
No recorded changes to this endpoint across all 2 revisions of this API.