qwen-image-3.0-pro
qwen/qwen-image-3.0-pro
Per image
From$0.056
Resolutions
1K · 2K
Context
Up to 66K
Max output
Up to 59K
The lowest price across upstreams, for reference. Prices depend on size and are listed per upstream below.
Upstreams & pricing
| Upstream | Resolution · price | Data policy |
|---|---|---|
lune.io/DashScope/CNLowest price | 1K (up to 2.25 MP, about 1500×1500)$0.056 / image 2K (2.25–4.19 MP)$0.105 / image | — |
Routed in real time — you pay the listed price of whichever upstream serves your call. Priced per image by the output's total pixels (width × height): 1K (up to 2.25 MP, about 1500×1500), 2K (2.25–4.19 MP). Any width × height from 512×512 to 2048×2048 pixels in total works, as long as its resolution is listed. Data policies reflect each upstream's own data terms and its agreement with us. We do not independently audit upstream implementations.
How to call
bashrequest.sh
curl https://api.lune.io/v1/images/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen/qwen-image-3.0-pro", "prompt": "A lighthouse at dusk, watercolor"}'pythonrequest.py
from openai import OpenAI
import os
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url="https://api.lune.io/v1",
)
resp = client.images.generate(
model="qwen/qwen-image-3.0-pro",
prompt="A lighthouse at dusk, watercolor",
)
# Some models return a link (download it promptly), others base64 in b64_json
print(resp.data[0].url or resp.data[0].b64_json[:80])tsrequest.ts
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.API_KEY,
baseURL: "https://api.lune.io/v1",
});
const resp = await client.images.generate({
model: "qwen/qwen-image-3.0-pro",
prompt: "A lighthouse at dusk, watercolor",
});
// Some models return a link (download it promptly), others base64 in b64_json
console.log(resp.data[0].url ?? resp.data[0].b64_json?.slice(0, 80));gomain.go
package main
import (
"context"
"fmt"
"os"
"github.com/sashabaranov/go-openai"
)
func main() {
cfg := openai.DefaultConfig(os.Getenv("API_KEY"))
cfg.BaseURL = "https://api.lune.io/v1"
client := openai.NewClientWithConfig(cfg)
resp, err := client.CreateImage(context.Background(), openai.ImageRequest{
Model: "qwen/qwen-image-3.0-pro",
Prompt: "A lighthouse at dusk, watercolor",
})
if err != nil {
panic(err)
}
fmt.Println(resp.Data[0].URL)
}