Bailian Qwen-Image series
Use Qwen-Image-Edit (Tongyi Qwen Bailian) to generate or edit images from reference images (such as depth maps or edge maps) plus prompts.Model preview
Qwen models
Basics
- Endpoint:
POST /v1/images/edits - Auth:
Bearer Token(Authorization: Bearer sk-xxxxxx) - Content-Type:
application/json
Request headers
Content-Typestring (required)
Must be application/json.
Authorization string (required)
Bearer API key auth. Example: Bearer sk-xxxx.
Request body
Qwen format.Response
Status: 200 OKRequest example
Developer tips
- Reference-image mode: Unlike OpenAI alpha-mask editing, Qwen edit is often used for structural control (e.g. depth maps/line art), then generation follows your prompt.
- Multimodal input:
contentmust include both animageobject and atextobject so the model has both visual and textual guidance.

