コードから呼び出す
タスクを送信して ID を取得します。結果をポーリングするか、Webhook URL を指定して完了したタスクを受け取ります。
curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "alibaba/qwen-image-2.0",
"input": {
"prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
"size": "2048x2048"
}
}'レスポンス例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "alibaba/qwen-image-2.0",
"status": "processing"
}送信できる項目
すべてのパラメータは、モデル間で共通の統一名称を使用します。
| パラメータ | 種別 | 必須 | デフォルト | 値 | 説明 |
|---|---|---|---|---|---|
prompt | string | 必須 | — | — | Prompt |
images | string | string[] | — | — | — | Reference images |
size | string | — | — | — | Exact size |
seed | integer | — | -1 | -1–2147483647 | Seed |
n | integer | — | 1 | 1 | Number of outputs |
現在未対応: negative_prompt, prompt_extend, watermark
料金
画像1枚
$0.0298
$0.0350公式価格より14%オフ
よくある利用例
| 出力 | 公式価格 | Kerox | 節約分 |
|---|---|---|---|
| 画像1枚 | $0.0298 | 14% | |
| $10の利用目安 | 335枚の画像 | ||
| ティア | 公式価格 | Kerox |
|---|---|---|
| 1枚あたり | $0.0298 |
タスク送信前の見積もりには、POST /v1/estimateをご利用ください。
Qwen Image 2.0で作成

The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters "老街面馆" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph

A grand old library reading room with tall arched windows, long oak tables with green banker's lamps, towering bookshelves and a spiral staircase, soft morning light falling across the floor, symmetrical composition, architectural photograph

A fleet of white sailboats racing across a deep blue sea on a bright windy day, sails taut, sparkling spray at the bows, a rocky coastline with a lighthouse in the distance, aerial view, crisp vivid photograph
Qwen Image 2.0 について
Qwen Image 2.0は、Alibabaの画像生成モデルです。
よくある質問
Qwen Image 2.0の料金はいくらですか?
KeroxでのQwen Image 2.0の料金は$0.0298/枚からです(公式価格より14%オフ)。生成ごとに課金され、失敗した場合は請求されません。このページの料金表にすべてのオプションを記載しています。
Qwen Image 2.0はAPIに対応していますか?
はい。モデルID「alibaba/qwen-image-2.0」を指定してKerox APIにタスクを送信し、ポーリングで確認するか、完了時にWebhookで通知を受け取れます。Qwen Image 2.0のAPIドキュメントに、すべてのパラメータとコード例を記載しています。
コードを書かずにオンラインでQwen Image 2.0を使えますか?
はい。このページの生成パネルで設定を選ぶと料金が表示されます。生成するにはサインインしてください。 試す
Qwen Image 2.0の利用にサブスクリプションは必要ですか?
いいえ。定額プランや月額料金はありません。$5からチャージでき、生成した分だけ課金されます。
Qwen Image 2.0 の使い方は?
Kerox にサインインし、Studio で Qwen Image 2.0 を開いてプロンプトを入力すれば、ブラウザ上で生成できます。コードから利用する場合は、API キーを作成し、モデル ID alibaba/qwen-image-2.0 を指定してタスクを送信してください。
Qwen Image 2.0 は無料で使えますか?
Qwen Image 2.0 は Kerox の有料モデルです。生成に成功するたびにこのページに記載の料金がかかり、失敗した生成は無料です。月額料金はなく、$5 のチャージから始められます。
