Qwen-Image
Alibaba の Qwen-Image を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- プロバイダー
- 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"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。