Reference drawing
Endpoint: POST https://4zapi.com/ent/v2/reference2image
Generate images from reference pictures.
Request body (application/json)
model(string, required): Model name Value: vidu-image-q2 Supports text-to-image (no images) and reference-to-image (1–7 images) Note: viduq2 is also accepted and treated as vidu-image-q2prompt(string, required)aspect_ratio(string)callback_url(string)images(array)payload(string): Pass-through parameter. Not processed; forwarded as-is. Max 1048576 characters.resolution(string)seed(string)
Request example
{
"model": "vidu-image-q2",
"prompt": "一只可爱的小猫坐在窗台上,阳光洒在它的身上,温馨的画面"
}