

A vibrant, colorful scene at a lively amusement park during the day,featuring a cheerful young girl (around 10-12 years old) with a bright smile, wearing a colorful t-shirt and shorts, standing in the foreground. She's holding a cotton candy in one hand and pointing excitedly toward the background. Behind her a large, eye catching amusement park sign reads '{{appName}} Al' in bold, playful neon letters with a futuristic yet whimsical design, glowing in bright colors like pink, blue, and yellow. The background includes classic amusement park elements: a Ferris wheel, roller coaster tracks looping in the sky, colorful balloons, and a bustling crowd. The atmosphere is joyful, sunny, and energetic, with vivid colors and a sense of fun.

A serene natural landscape at sunrise, featuring a tranquil alpine meadow nestled between towering, snow-capped mountains. The meadow is filled with vibrant wildflowers in shades of purple, yellow, and red, swaying gently in the breeze. A crystal-clear stream winds through the scene, reflecting the golden hues of the rising sun. In the background, a dense pine forest stretches toward the horizon, and a soft morning mist adds a mystical touch. The sky is a gradient of warm orange and pink, with a few scattered clouds. The atmosphere is peaceful, crisp, and untouched, evoking a sense of calm and wonder.

A high school student walking home after school, carrying a backpack, wearing a casual school uniform with a skirt and jacket, walking away from the camera down a bustling street at dusk. The scene is filled with other students walking in the same direction, their figures slightly blurred in the background. City lights are beginning to glow, with neon signs and street lamps illuminating the path. The sky is a deep blue transitioning to night, and the atmosphere conveys a sense of relief and freedom at the end of the day.
Create images from text with Alibaba's Qwen Image, with an emphasis on English and Chinese lettering and a range of visual styles.
Qwen Image is an image generation model in Alibaba's Qwen series. Alibaba describes strengths in English and Chinese text rendering and styles ranging from photorealistic scenes to illustrations.
UniRoute offers the qwen/text-to-image variant with a text prompt and an aspect ratio option. Choose a format and review the request budget cap before submitting; the final charge depends on actual usage.
This page covers the original Qwen Image family. Later Qwen Image versions are linked below so you can compare the available models and their catalog options.
What you can do with Qwen Image through UniRoute today.
Describe a scene, illustration or graphic, including the words you want in the image. Choose an aspect ratio and generate a new image from your prompt.

Other Qwen Image modes (image-to-image editing and transformations from reference images) are not available on UniRoute yet.
The variants you can call, with their options and prices.
| Variant | Model ID | Modes | Inputs | Output | Price |
|---|---|---|---|---|---|
| Qwen Image | qwen/text-to-image | Text to image | Text prompt and an option for aspect ratio | Aspect ratio: 1:1, 16:9, 9:16 | Budget cap $0.05 / request |
Budget caps limit the maximum charge; the final charge follows actual usage.
| Qwen Image | |
|---|---|
| 1:1 | Budget cap $0.05 / request |
| 16:9 | Budget cap $0.05 / request |
| 9:16 | Budget cap $0.05 / request |
Rounded to the cent; the live quote in the workspace shows the exact amount. Prices updated 2026-11-25.
Pay as you go from a single USD wallet balance. You see the quote before each request.
Call Qwen Image from your own code with the media API.
# Requires bash, curl and jq. Set API_KEY to your own unified UniRoute Key.set -euo pipefail: "${API_KEY:?Set API_KEY first}"BASE='https://api.uniroute.app/v1/media'MODEL='qwen/text-to-image'OPTION='square_hd'PROMPT='A calm sunrise over a mountain lake'curl -fsS --max-time 60 "$BASE/catalog" -H "Authorization: Bearer $API_KEY" | jq -e '.data.models'BODY=$(jq -n --arg model "$MODEL" --arg option "$OPTION" --arg prompt "$PROMPT" '{model:$model,option:$option,prompt:$prompt}')QUOTE_BODY=$(printf '%s' "$BODY" | jq '{model,option}')QUOTE=$(curl -fsS --max-time 60 "$BASE/quote" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' -d "$QUOTE_BODY")CAP=$(printf '%s' "$QUOTE" | jq -er '.data.quoted_usd')BODY=$(printf '%s' "$BODY" | jq --arg cap "$CAP" '. + {max_cost_usd:$cap}')IDEMPOTENCY="example-$(date +%s)-$$"create() { curl -fsS --max-time 60 "$BASE/tasks" -H "Authorization: Bearer $API_KEY" -H "Idempotency-Key: $IDEMPOTENCY" -H 'Content-Type: application/json' -d "$BODY"; }TASK_ID=$(create | jq -er '.data.task_id')# The same request and idempotency key must return the original task without charging again.REPLAY_ID=$(create | jq -er '.data.task_id')[ "$TASK_ID" = "$REPLAY_ID" ]for attempt in $(seq 1 120); do TASK=$(curl -fsS --max-time 60 "$BASE/tasks/$TASK_ID" -H "Authorization: Bearer $API_KEY") printf '%s' "$TASK" | jq -e '.data | {task_id,status,billing}' if printf '%s' "$TASK" | jq -e '.data.status == "success" and .data.billing.state == "charged"' >/dev/null; then index=0 while IFS= read -r url; do index=$((index+1)) curl -fL --max-time 120 "$url" -o "$TASK_ID-$index.bin" done < <(printf '%s' "$TASK" | jq -er '.data.urls[].url') break fi if printf '%s' "$TASK" | jq -e '.data.status == "failed" and .data.billing.state == "released"' >/dev/null; then exit 1; fi if [ "$attempt" = 120 ]; then echo "Polling limit reached. Keep task ID $TASK_ID and query it later; do not create a new task." >&2 exit 1 fi sleep 5donecurl -fsS --max-time 60 "$BASE/tasks?limit=20" -H "Authorization: Bearer $API_KEY" | jq -e '.data'# Check this task and the caller Key in Console usage; billing.charged_usd is the actual USD charge.| Name | In | Description |
|---|---|---|
model | Body | Model ID to run. |
option | Body | One of the options offered for the model: square_hd, landscape_16_9, portrait_16_9. |
prompt | Body | Text prompt describing what to generate. |
max_cost_usd | Body | Maximum cost in USD for this task, taken from the quote. |
Idempotency-Key | Header | A unique key per task, so a repeated request returns the original task instead of charging again. |
Typical ways to put Qwen Image to work.
Describe English or Chinese wording and the surrounding visual layout for a marketing concept.
Explore illustrated or photorealistic scenes for social posts from a written idea.
Describe subjects, colors and composition to explore a new artwork without a reference image.
Common questions about Qwen Image.
Qwen Image is an image generation model in Alibaba's Qwen series. Alibaba describes strengths in English and Chinese text rendering and styles ranging from photorealistic scenes to illustrations.
Choose an aspect ratio from the workspace. A separate resolution setting, editing controls and reference-image inputs are not exposed for this variant.
Budget cap $0.05 / request. The displayed amount is a maximum request budget, and the final charge depends on actual usage. The Pricing section lists the budget caps (prices updated 2026-11-25).
The variants listed here generate new images from text prompts. The workspace shows the options exposed by the current catalog.
Use the media API: request a quote for your model and option, create a task with an Idempotency-Key and a maximum cost, then poll the task until the result is ready. The API section shows a complete example and the parameters.
No. Generation is paid from your wallet balance. You can open the workspace and review the price without paying, create an account to see a live quote for your exact settings, and you are charged only for requests that are accepted.