z-image-turbo-lora
Model Overview
Setup your API Key
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstring · max: 4000Required
The text prompt describing the content, style, or composition of the image to be generated.
image_sizeany ofOptionalDefault:
landscape_4_3or
string · enumOptionalPossible values:
The size of the generated image.
output_formatstring · enumOptionalDefault:
The format of the generated image.
pngPossible values: enable_prompt_expansionbooleanOptionalDefault:
If set to True, prompt will be upsampled with more details.
truenum_inference_stepsinteger · min: 1 · max: 8Optional
The number of inference steps to perform.
seedinteger · min: 1Optional
The same seed and the same prompt given to the same version of the model will output the same image every time.
num_imagesnumber · min: 1 · max: 4OptionalDefault:
The number of images to generate.
1enable_safety_checkerbooleanOptionalDefault:
If set to True, the safety checker will be enabled.
trueaccelerationstring · enumOptionalDefault:
The speed of the generation. The higher the speed, the faster the generation.
regularPossible values: Responses
200Success
application/json
post
/v1/images/generations200Success
Example #1: Standard Text-to-Image

Example #2: Text-to-Image with LoRA Fine-Tuning


Last updated
Was this helpful?