vidu/vidu-image_reference2image generates images from text, edits an existing image, or generates an image from one or more reference images. It renders Chinese and English text precisely and reproduces UI, chart, and design details at the pixel level, which makes it suitable for posters and infographics.
Supported regions: Singapore only. Use an API key created in that region and the https://ap-southeast-1.maas.qwencloudapi.com endpoint. See Regions and endpoints.
- Prompt: up to 5,000 characters. At least one non-empty
textis required. - Reference images: up to 14 images. PNG, JPG, or WEBP; aspect ratio 1:4 to 4:1; total size up to 50 MB.
- Output: one PNG image per task. Supported sizes are 1K, 2K, and 4K.
task_id, and you poll Query the result until the task finishes. Image generation typically takes 10 to 60 seconds.Authorizations
string
header
required
QwenCloud API key. See Get an API key.
Header Parameters
enum<string>
required
The content type of the request. Must be application/json.
application/json
enum<string>
required
Enables asynchronous processing. HTTP requests support only asynchronous calls, so this must be enable. If the header is missing, the request fails with current user api does not support synchronous calls.
enable