LLM API
AlibabaImage generationReleased February 10, 2026

Qwen Image 2.0 Pro

Qwen Image 2.0 Pro costs $0.08 per image on LLM API. It generates images from text.

Pricing

Served by Together AI, the only provider.

Qwen Image 2.0 Pro prices on LLM API
Image$0.08/ imageper image

Specifications

  • ModesGenerate
  • Output formatsJPEG, PNG

Call Qwen Image 2.0 Pro

POST /v1/images/generationsSet LLMAPI_KEY to your LLM API key.Generate docs

import base64
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

result = client.images.generate(
    model="qwen-image-2.0-pro",
    prompt="A lighthouse at dawn, watercolor",
    response_format="b64_json",
)
with open(f"image.{result.output_format}", "wb") as f:
    f.write(base64.b64decode(result.data[0].b64_json))

More from Alibaba

All Alibaba image models

Prices synced .

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up