Alibaba圖片

Qwen Image 2.0

alibaba/qwen-image-2.0

Qwen Image 2.0 是阿里巴巴推出的圖片生成模型。

Qwen Image 2.0 是 Alibaba 推出的 AI 圖片生成模型。可透過 Kerox API 以模型 ID alibaba/qwen-image-2.0 呼叫,或在 Studio 中直接生成,無需撰寫程式碼。在 Kerox 上的價格為 $0.0298 / 圖片,比官方價格低 14% 起,無需訂閱。

$0.0298每張圖片$0.0350比官方價格低 14%
輸出
圖片
影片長度
—
一般生成時間
15 秒
輸入
文字, 圖片

試用 Qwen Image 2.0

0 / 800
登入以新增參考檔案
預估費用 —
登入以生成

開始時先暫時保留款項,完成後才結算。執行失敗會退款。

輸出

範例
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

2688×1536

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

預估費用 ≈ $0.0298

請求本文
{
  "model": "alibaba/qwen-image-2.0",
  "format": "unified",
  "input": {
    "prompt": "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",
    "size": "2688x1536"
  }
}

從程式碼呼叫

提交任務以取得任務 ID。輪詢結果,或傳入 Webhook URL 以接收已完成的任務。

端點POST https://api.kerox.ai/v1/tasks
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"
}

可傳送的內容

所有參數皆使用統一名稱,各模型通用。

參數類型必填預設值可用值用途
promptstring必填——Prompt
imagesstring | string[]———Reference images
sizestring———Exact size
seedinteger—-1-1–2147483647Seed
ninteger—11Number of outputs

尚未支援: negative_prompt, prompt_extend, watermark

定價

  • 1 張圖片

    $0.0298

    $0.0350比官方價格低 14%

常見用量
輸出官方價格Kerox可省下
1 張圖片$0.0350$0.029814%
$10 可以生成335 張圖片
等級官方價格Kerox
每張圖片$0.0350$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

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

2688×1536使用提示詞
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 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

2688×1536使用提示詞
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

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

2688×1536使用提示詞

關於 Qwen Image 2.0

Qwen Image 2.0 是阿里巴巴推出的圖片生成模型。

常見問題

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 即可開始使用。

類似模型