{
"model": "gpt-image-2",
"prompt": "A kind cartoon animal doctor gently pressing a shiny stethoscope against the fluffy chest of a small baby otter lying on a soft blue examination table, warm clinic lighting, storybook illustration style, soft pastel colors, friendly and tender atmosphere.",
"n": 1,
"image": [
""
],
"size": "1024x1024",
"quality": "high"
}curl --location '/v1/images/generations' \
--header 'Authorization: {{Authorization}}' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "A kind cartoon animal doctor gently pressing a shiny stethoscope against the fluffy chest of a small baby otter lying on a soft blue examination table, warm clinic lighting, storybook illustration style, soft pastel colors, friendly and tender atmosphere.",
"n": 1,
"image": [
""
],
"size": "1024x1024",
"quality": "high"
}'{
"data": [
{
"url": "string"
}
],
"created": 0,
"usage": {
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_details": {
"cached_tokens": 0,
"text_tokens": 0,
"audio_tokens": 0,
"image_tokens": 0
},
"completion_tokens_details": {
"text_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 0
}
}
}