You're looking at a specific version of this model. Jump to the model overview.
prunaai /z-image-turbo-img2img:09ba19cb
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Text prompt for image generation
|
|
| image |
string
|
Input image for img2img
|
|
| strength |
number
|
0.6
Max: 1 |
Strength of the img2img transformation. 0.0 is no change, 1.0 is full transformation
|
| height |
integer
|
1024
Min: 64 Max: 1440 |
Height of the generated image
|
| width |
integer
|
1024
Min: 64 Max: 1440 |
Width of the generated image
|
| num_inference_steps |
integer
|
8
Min: 1 Max: 50 |
Number of inference steps. This actually results in (num_inference_steps - 1) DiT forwards
|
| guidance_scale |
number
|
0
Max: 20 |
Guidance scale. Should be 0 for Turbo models
|
| seed |
integer
|
Random seed. Set for reproducible generation
|
|
| output_format |
None
|
jpg
|
Format of the output images
|
| output_quality |
integer
|
80
Max: 100 |
Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}