AI model APIImagesQwen OpenAI format
Generate images
Generate images with Bailian Qwen Image models
Authorization
BearerAuth AuthorizationBearer <token>
Authenticate with a Bearer token: Authorization: Bearer sk-xxxxxx.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/images/generations" \ -H "Content-Type: application/json" \ -d '{ "model": "string", "input": { "messages": [ {} ] } }'{ "created": 0, "data": [ { "url": "string", "b64_json": "string", "revised_prompt": "string" } ]}