qwen-image-2.0 API

Call qwen-image-2.0 through StarseaAPI's single OpenAI-compatible endpoint — no separate account, no multi-key setup.

Intelligence index unavailable

Pricing

Input$0.0000 / 1M tokens
Output$0.0000 / 1M tokens
Output multiplier×1.00
Per image/unit$0.001
Multimodal

This model accepts image input. Use OpenAI-compatible message content blocks to send images.

from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
resp = client.chat.completions.create(
    model="qwen-image-2.0",
    messages=[{"role":"user","content":[
        {"type":"text","text":"Describe this image"},
        {"type":"image_url","image_url":{"url":"https://example.com/cat.png"}}
    ]}]
)
print(resp.choices[0].message.content)

Use qwen-image-2.0 with any OpenAI SDK

from openai import OpenAI
client = OpenAI(
  base_url="https://starseaapi.com/v1",
  api_key="sk-your-key"
)
resp = client.chat.completions.create(
  model="qwen-image-2.0",
  messages=[{"role":"user","content":"Explain quantum computing in one paragraph"}]
)
print(resp.choices[0].message.content)

In Claude Code / Cursor

Point base_url to https://starseaapi.com/v1 and select qwen-image-2.0 as your model. Everything else stays the same.

Why qwen-image-2.0 via StarseaAPI?

Get your API key → Compare all models