zf-kbot/z-image-turbo
Public
1
run
Run zf-kbot/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 |
|---|---|---|---|
| seed |
integer
|
Random seed. Leave blank to randomize the seed
|
|
| width |
integer
|
1024
|
Image width
|
| height |
integer
|
1024
|
Image height
|
| prompt |
string
|
Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights.
|
Input prompt
|
| guidance_scale |
number
|
0
Max: 10 |
Guidance scale (Keep at 0.0 for Turbo models)
|
| num_inference_steps |
integer
|
9
Min: 1 Max: 50 |
Number of denoising steps (Turbo model needs very few)
|
{
"type": "object",
"title": "Input",
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"description": "Random seed. Leave blank to randomize the seed"
},
"width": {
"type": "integer",
"title": "Width",
"default": 1024,
"description": "Image width"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1024,
"description": "Image height"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (\u26a1\ufe0f), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (\u897f\u5b89\u5927\u96c1\u5854), blurred colorful distant lights.",
"description": "Input prompt"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 0,
"maximum": 10,
"minimum": 0,
"description": "Guidance scale (Keep at 0.0 for Turbo models)"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 9,
"maximum": 50,
"minimum": 1,
"description": "Number of denoising steps (Turbo model needs very few)"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output",
"format": "uri"
}