You're looking at a specific version of this model. Jump to the model overview.
usamaehsan /ernie-image-turbo-fast-h100:8f6e8497
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
|
2
Min: 1 Max: 8 |
Denoising steps (the draft's steps when hires_from is set)
|
| sigma_shift |
number
|
4
Min: 1 Max: 12 |
Flow-matching timestep shift; the model card uses 4
|
| hires_from |
integer
|
0
Max: 2048 |
0 = off. Otherwise draft at this long side, upscale, then refine at full size
|
| hires_steps |
integer
|
1
Min: 1 Max: 4 |
Full-size refine steps when hires_from is set
|
| hires_strength |
number
|
0.35
Min: 0.05 Max: 1 |
Noise level the refine restarts from (before shift)
|
| hires_mode |
None
|
latent
|
Upscale the draft in latent space or through a VAE decode/encode
|
| seed |
integer
|
Random seed
|
|
| output_format |
None
|
jpg
|
None
|
| output_quality |
integer
|
90
Min: 1 Max: 100 |
None
|
| eager |
boolean
|
False
|
Debug: skip torch.compile (compare speed)
|
| dump_compile_cache |
boolean
|
False
|
Debug: return the torch.compile cache instead of the image
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'format': 'uri', 'title': 'Output', 'type': 'string'}