qwen-image-2.0
Provider list prices: no platform markup, pay-as-you-go. These are official list prices. Logged-in customers may see effective prices including workspace discounts on /console/pricing.
Use qwen-image-2.0 in 30 seconds
OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/images/generations
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.images.generate(
model="qwen-image-2.0",
prompt="a watercolor lighthouse at dawn",
size="1024x1024",
)
print(resp.data[0].b64_json[:80])import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.images.generate({
model: "qwen-image-2.0",
prompt: "a watercolor lighthouse at dawn",
size: "1024x1024",
});
console.log(resp.data?.[0]?.b64_json?.slice(0, 80));curl https://synthorai.io/v1/images/generations \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2.0",
"prompt": "a watercolor lighthouse at dawn",
"size": "1024x1024"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Images.Generate(context.TODO(), openai.ImageGenerateParams{
Model: "qwen-image-2.0",
Prompt: "a watercolor lighthouse at dawn",
Size: "1024x1024",
})
fmt.Println(resp.Data[0].B64JSON[:80])
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.images.*;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ImagesResponse resp = client.images().generate(
ImageGenerateParams.builder()
.model("qwen-image-2.0")
.prompt("a watercolor lighthouse at dawn")
.size("1024x1024")
.build());
System.out.println(resp.data().orElseThrow().get(0).b64Json().orElseThrow().substring(0, 80));About qwen-image-2.0
Qwen-Image-2.0 is the Qwen team's next-generation foundational image model, unifying image generation and editing in a single system.
- Versus the original Qwen-Image, the official announcement highlights a lighter architecture with faster inference, native 2K-resolution output, and markedly stronger typography: it follows instructions up to 1k tokens to generate professional infographics such as PPT slides, posters, and comics directly.
- Custom width and height are supported within the documented pixel range.
- Synthorai offers it for image generation through its OpenAI-compatible endpoint.
Specs & limits
| Modalities | text + image → image |
| Image capabilities | Native 2K (custom WxH, presets 1:1/16:9/9:16/4:3/3:4); unified generation+editing with professional typography — up to 1k-token instructions for infographics/posters; 1-6 images per request |
| Notable | Accelerated version of qwen-image-2.0-pro balancing quality and speed; API-only (no open-weights release on the official Qwen Hugging Face org) |
FAQ
Is the qwen-image-2.0 API free to try?
Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. That's enough to try qwen-image-2.0 against your real workload before adding a payment method.
What is qwen-image-2.0 best at?
Unifies generation and editing in one system, plus native 2K output with faster inference and typography for infographics, posters, and comics. See the About section for the full picture from the vendor's own release notes.
How much does qwen-image-2.0 cost?
qwen-image-2.0 costs $0.035 per generated image on Synthorai: pay-as-you-go, no platform markup, no subscription.
How do I generate images with the qwen-image-2.0 API?
POST to /v1/images/generations on Synthorai with model="qwen-image-2.0". It follows the OpenAI images API shape, so no vendor SDK is needed.
How do I get access to qwen-image-2.0?
Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="qwen-image-2.0", and you're done. One API key covers every model on the gateway.