Skip to content

生成图片(qwen-image)

Servers

https://api.rainboxs.com/RAINBOXS API 服务器

绘画模型/Qwen千问


生成图片(qwen-image)

POST
/v1/images/generations

百炼qwen-image系列图片生成

Parameters

Header Parameters

Authorization*

在 Header 添加参数 Authorization
,其值为在 Bearer 之后拼接 Token

Type
string
Required
Example"sk-******"

Request Body

application/json
JSON
{
"model": "string",
"input": {
"messages": [
{
"role": "string",
"content": [
{
"text": "string"
}
]
}
]
},
"parameters": {
"negative_prompt": "string",
"prompt_extend": true,
"watermark": true,
"size": "string"
}
}

Responses

application/json
JSON
{
}

Playground

Headers
Body

Samples

cURL
JavaScript
PHP
Python

Powered by VitePress OpenAPI

RAINBOXS API 文档