API Reference
Generate Images
Bailian qwen-image series image generation
POST
/r1/images/generationsAuthorization
BearerAuth
AuthorizationBearer <token>使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx
In: header
Request Body
application/json
model*stringinput*parameters?Response Body
curl -X POST "https://ai-tokens.space/r1/images/generations" \ -H "Content-Type: application/json" \ -d '{ "model": "string", "input": { "messages": [ {} ] } }'{
"created": 0,
"data": [
{
"url": "string",
"b64_json": "string",
"revised_prompt": "string"
}
]
}