Skip to main content

Bailian Qwen-Image series

Edit or generate from a reference (depth, edges, etc.) plus a prompt using Qwen-Image-Edit on Bailian.

Basics

  • Endpoint: POST /v1/images/edits
  • Auth: Bearer Token (Authorization: Bearer sk-xxxxxx)
  • Content-Type: application/json

Request body


Response

200 OK

Request example


Tips

  1. Reference mode: Unlike OpenAI alpha-mask editing, Qwen edit is often used for structure control—depth maps, line art, etc.—then generate to match the text.
  2. Multimodal input: content should include both an image object and a text object so the model has visual and textual guidance.