Skip to main content
POST
/
generate
/
bailian
/
qwen-image-plus
Qwen Image Plus Text-to-Image
curl --request POST \
  --url https://api.sinancode.com/v1/generate/bailian/qwen-image-plus \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "negative_prompt": "<string>",
  "prompt": "<string>",
  "prompt_extend": true,
  "seed": 1073741823,
  "size": "1664*928"
}'
{
  "task_id": "01234567-89ab-cdef-0123-456789abcdef"
}
Alibaba Cloud’s Qwen image generation model, with native support for Chinese prompts and intelligent rewriting features.

Authorizations

Authorization
string
header
required

Please use your API Token for authentication

Body

application/json

Task parameters

prompt
string
required

Positive prompt (required, max 800 characters)

Maximum length: 800
negative_prompt
string

Negative prompt (optional, max 500 characters)

Maximum length: 500
prompt_extend
boolean

Enable smart prompt rewriting (optional, default true)

seed
integer

Random seed (optional, range 0-2147483647)

Required range: 0 <= x <= 2147483647
size
enum<string>

Image size (optional, default 13281328) Options: 1664928, 14721140, 13281328, 11401472, 9281664

Available options:
1664*928,
1472*1140,
1328*1328,
1140*1472,
928*1664

Response

OK

task_id
string
required

Task ID

Example:

"01234567-89ab-cdef-0123-456789abcdef"