qwen / qwen-image
An image generation foundation model in the Qwen series that achieves significant advances in complex text rendering.
- Price: $0.005 per image, billed from prepaid credit. Failed runs are free.
- License: Apache-2.0
- Source: https://github.com/QwenLM/Qwen-Image
- Collection: Generate images
- Status: available now
Run qwen/qwen-image with the API
curl -s https://binerai.biner.dev/v1/predictions \
-H "Authorization: Bearer $BINERAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen-image","input":{"prompt":"a red fox in a snowy forest"}}'
Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.
Input
| Field | Type | Description |
|---|---|---|
prompt | string | What to generate. Qwen-Image is strong at rendering text in images. |
negative_prompt | string, default "" | What to avoid |
aspect_ratio | string, default "1:1" | Aspect ratio at the native 1328 px budget |
num_outputs | integer, default 1 | Number of images to generate |
go_fast | boolean, default true | Lightning 4-step mode (about 10x faster). Turn off for the full-quality 40-50 step sampler. |
num_inference_steps | integer | Sampling steps when go_fast is off (default 50 for generation, 40 for editing) |
guidance_scale | number, default 4 | Classifier-free guidance when go_fast is off |
seed | integer | Random seed for reproducible results |
Examples
Example runs from Replicate.
- Bookstore window display. A sign displays “New Arrivals This Week”. Below, a shelf tag with the text “Best-Selling Novels Here”. To the side, a colorful poster advertises “Author Meet And Greet on Saturday” with a central portrait of the author. There are four books on the bookshelf, namely “The… output
- A cinematic photograph of a London Underground tube station platform with the main focus on a large TfL red roundel sign reading "REPLICATE STATION" in white Johnston typeface, below it are four classic blue and white enamel directional signs in a horizontal row reading "Qwen Image," "Runway… output
- A dynamic portrait photo of a woman, unusual lighting, creative composition, cyan and purple uplighting output
- a photo of a woman standing next to a poster, the poster is a beautiful typographical poster that says "Qwen-Image is now on Replicate" against a solid pink and gold background. Behind the woman it is twilight and a beach scene. output
- A man in a suit is standing in front of the window, looking at the bright moon outside the window. The man is holding a yellowed paper with handwritten words on it: “A lantern moon climbs through the silver night, Unfurling quiet dreams across the sky, Each star a whispered promise wrapped in… output
- A coffee shop entrance features a chalkboard sign reading "Qwen Coffee 😊 $2 per cup," with a neon light beside it displaying "通义千问". Next to it hangs a poster showing a beautiful Chinese woman, and beneath the poster is written "π≈3.1415926-53589793-23846264-33832795-02384197". Ultra HD, 4K,… output
Description via replicate.