usamaehsan/z-image-turbo
Z-Image-Turbo text-to-image, 8 steps
Run usamaehsan/z-image-turbo with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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
|
|
| width |
integer
|
1024
Min: 256 Max: 2048 |
Rounded down to a multiple of 16
|
| height |
integer
|
1024
Min: 256 Max: 2048 |
Rounded down to a multiple of 16
|
| num_inference_steps |
integer
|
Min: 1 Max: 50 |
Blank = the model's default
|
| guidance_scale |
number
|
Max: 10 |
Blank = the model's default
|
| seed |
integer
|
Random seed
|
|
| output_format |
None
|
jpg
|
None
|
| output_quality |
integer
|
90
Min: 1 Max: 100 |
None
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 5,
"description": "Random seed"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"maximum": 2048,
"minimum": 256,
"x-order": 1,
"description": "Rounded down to a multiple of 16"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"maximum": 2048,
"minimum": 256,
"x-order": 2,
"description": "Rounded down to a multiple of 16"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt"
},
"output_format": {
"enum": [
"jpg",
"png",
"webp"
],
"type": "string",
"title": "output_format",
"description": "An enumeration.",
"default": "jpg",
"x-order": 6
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"maximum": 10,
"minimum": 0,
"x-order": 4,
"description": "Blank = the model's default"
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 90,
"maximum": 100,
"minimum": 1,
"x-order": 7
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"maximum": 50,
"minimum": 1,
"x-order": 3,
"description": "Blank = the model's default"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "string",
"title": "Output",
"format": "uri"
}