Authorization: Bearer ********************{
"model": "gpt-image-2",
"prompt": "A full-body portrait photo of an adult woman standing in a modern studio, realistic skin texture, natural pose, soft cinematic lighting, sharp focus, high detail, clean background",
"n": 1,
"size": "1024x1024",
"quality": "high",
"response_format": "url"
}curl --location '/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2",
"prompt": "A full-body portrait photo of an adult woman standing in a modern studio, realistic skin texture, natural pose, soft cinematic lighting, sharp focus, high detail, clean background",
"n": 1,
"size": "1024x1024",
"quality": "high",
"response_format": "url"
}'{
"created": 1782660000,
"data": [
{
"url": "https://api.aiyxgaw.com/image-proxy/xxxx?exp=1783264800&sig=xxxx",
"upstream_url_proxied": true
}
],
"usage": {
"total_tokens": 1
}
}