Z Image Turbo LoRA Image Generation
Images
Z Image Turbo LoRA Image Generation
POST
Z Image Turbo LoRA Image Generation
This is an asynchronous API and only returns an async task_id. You need to use the task_id to call the task result query API to get the generated result.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Mask image URL for inpainting. White areas are repainted, while black areas remain unchanged. Must be used with image_url.
Random seed for generation. -1 means using a random seed.Value range: [-1, 2147483647]
Pixel dimensions of the generated image (width*height).
List of LoRAs to apply (up to 3).Array length: 0 - 3
Positive prompt for generation.
Transformation strength for image-to-image (img2img). 0.0-0.3 enhancement mode, 0.3-0.6 balanced transformation, 0.6-0.8 style transfer, 0.8-1.0 creative repainting. Must be used with image_url.Value range: [0, 1]
Reference image URL for image-to-image (img2img).
Output image format. Supports jpeg, png, webp.Allowed values:
jpeg, png, webpIf enabled, the output will be encoded as a BASE64 string instead of a URL.
Response Information
Use the task_id to request the Query Task Result API to retrieve the generated output.