Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"model": "grok-imagine-image",
"prompt": "一只可爱的小猫",
"n": 1,
"size": "720x1280",
"response_format": "url"
}
Request Code Samples
curl --location 'https://www.aiide.com/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "grok-imagine-image",
"prompt": "一只可爱的小猫",
"n": 1,
"size": "720x1280",
"response_format": "url"
}'
Responses
application/json
{
"created": 1776253122,
"data": [
{
"url": "https://grok-cdn.tuchuang.win/v1/files/image?id=18b17591-2182-4efa-9d2e-8a3ea0211ddd"
}
]
}
Modified at 2026-05-29 06:00:42