Generate image with Wan 2.7 Pro
Alibaba Wan 2.7 Pro — professional edition of Wan 2.7 with 4K output support, thinking mode, and multi-reference composition from up to 9 reference images.
Asynchronous. Returns a job id (the image is not in this response). Poll GET /v1/images/{id} until status is succeeded — the generated image URLs are in that response’s images array (each { url, position }).
Authorizations
API key as a bearer token: Authorization: Bearer bpx_live_xxx
Body
Text description of the image to generate.
Output aspect ratio.
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, match_input_image Number of images to generate.
1 <= x <= 4Optional reference images (up to 9) for image editing and multi-reference composition. Each item is a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads. Omit for text-to-image. Use aspect_ratio "match_input_image" to keep the input's aspect ratio.
9Seed for reproducible generation. Omit for random.
Output resolution tier. 4K applies to text-to-image only — with reference images the output falls back to 2K.
1K, 2K, 4K Enable the model's thinking mode for stronger prompt planning. Text-to-image only — ignored when reference images are provided.