Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"model": "gpt-image-2",
"prompt": "masterpiece, best quality, ultra detailed, anime style, young cute girl, soft lighting, smooth skin, big expressive eyes,long hair, delicate face, small nose, gentle smile,dynamic pose, looking at viewer",
"size": "1024x1024",
"n": 1,
"response_format": "b64_json"
}
Request Code Samples
curl --location 'https://www.aiide.com/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "masterpiece, best quality, ultra detailed, anime style, young cute girl, soft lighting, smooth skin, big expressive eyes,long hair, delicate face, small nose, gentle smile,dynamic pose, looking at viewer",
"size": "1024x1024",
"n": 1,
"response_format": "b64_json"
}'
Responses
application/json
{
"data": [
{
"url": "",
"b64_json": "base64图片",
"revised_prompt": ""
}
],
"created": 1776824208
}
Modified at 2026-09-09 02:57:19