OpenAI image format
Developing
Enter the model name for model, for example: nano-banana.
Request
Body Params application/json
{
"model": "dall-e-3",
"prompt": "A cute little sea otter",
"n": 1,
"size": "1024x1024"
}
Request Code Samples
curl --location '/v1/images/generations' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--data '{
"model": "dall-e-3",
"prompt": "A cute little sea otter",
"n": 1,
"size": "1024x1024"
}'
Responses
application/json
Modified at 2026-10-19 10:10:04