Qwen-Image
通过 Advanced Computing API 调用 Alibaba 的 Qwen-Image,一个 API key,预付费计价。
- 输入
- 文本
- 厂商
- Alibaba
- 输出
- 图像
- 输入
- 文本
Qwen-Image is billed per generated image: $0.075 per image at 1K, the resolution it generates at.
- Aspect ratio doesn't change the price.
- A failed generation costs nothing.
实际扣费以定价页为准。 查看定价
与其他 Advanced Computing 模型共用同一套 API 和密钥。复制请求,填入你的密钥即可发送。
input 字段
mode 字段必填:它指定生成方式,每种模式有各自的字段。以 _url 或 _urls 结尾的字段是输入素材。
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
mode必填 | string | — | How to generate. Each mode takes its own fields. One of: text |
prompt必填 | string | — | What to generate, in natural language. 1 to 2000 characters |
negative_prompt可选 | string | — | What the output should avoid. Up to 2000 characters |
resolution可选 | string | 1K | Resolution of the output. One of: 1K |
aspect_ratio可选 | string | 1:1 | Width to height ratio of the output. One of: 1:1, 4:3, 3:4, 16:9, 9:16 |
seed可选 | integer | — | Fixes the random seed, so the same input repeats its output. 0 to 2147483647 |
mode必填string
How to generate. Each mode takes its own fields.
One of: text
prompt必填string
What to generate, in natural language.
1 to 2000 characters
negative_prompt可选string
What the output should avoid.
Up to 2000 characters
resolution可选string = 1K
Resolution of the output.
One of: 1K
aspect_ratio可选string = 1:1
Width to height ratio of the output.
One of: 1:1, 4:3, 3:4, 16:9, 9:16
seed可选integer
Fixes the random seed, so the same input repeats its output.
0 to 2147483647
curl https://advanced-computing.com/api/v1/generations \
-H "Authorization: Bearer $AC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2512",
"input": {
"mode": "text",
"prompt": "A poster with the words \"Summer Sale\" over a beach at sunset",
"aspect_ratio": "3:4"
}
}'用你自己的参数试用这个模型。每次生成按标价从余额扣费。