Qwen-Image
The open source Qwen-Image model for generating images from text and editing images by instruction (image→image). Served in optimized mode (few steps) to deliver results in seconds.
id | qwen-image |
| Type | Image generation & editing |
| Recommended size | 1024x1024 |
| Billing | Monthly quota by plan + additional usage |
When to use
Section titled “When to use”- Illustrations, visual concepts, and mockups from a description
- Instruction-based editing: change an existing image while preserving the rest of the scene (e.g. “make the apple blue”, “add glasses”)
- Image generation and editing inside your product, via API
Example
Section titled “Example”curl https://app.norlen.io/api/v1/images/generations \ -H "Authorization: Bearer $NORLEN_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image","prompt":"A brass compass on a nautical chart","size":"1024x1024"}'import base64, requests
r = requests.post( "https://app.norlen.io/api/v1/images/generations", headers={"Authorization": "Bearer SEU_TOKEN"}, json={"model": "qwen-image", "prompt": "A brass compass on a nautical chart"}, timeout=120,)open("imagem.png", "wb").write(base64.b64decode(r.json()["data"][0]["b64_json"]))To edit an image, send the file + the instruction to POST /api/v1/images/edits — see Editing.