curl --location 'https://aiapi.gway.dev/v1/images/generations?async=' \
--header 'X-Async;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "YOUR_IMAGE_MODEL",
"prompt": "花园中的猫",
"n": 1,
"size": "1024x1024"
}'{
"created": 0,
"data": [
{
"url": "string",
"b64_json": "string",
"revised_prompt": "string"
}
]
}