You're looking at a specific version of this model. Jump to the model overview.
lightweight-ai /test_ip:af053bf8
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 |
|---|---|---|---|
| huggingface_token |
string
|
Paste huggingface token
|
|
| prompt |
string
|
A bohemian-style female travel blogger with sun-kissed skin and messy beach waves
|
Prompt for generated image
|
| num_inference_steps |
integer
|
28
Min: 1 Max: 50 |
Number of inference steps
|
| input_img |
string
|
Path to input image
|
|
| mask_img |
string
|
Path to mask image
|
|
| coords_type |
string
|
key_in
|
Type of coordinate input
|
| width |
integer
|
1408
|
Width of output image
|
| height |
integer
|
784
|
Height of output image
|
| dilate_kernel_size |
integer
|
20
|
Size of dilation kernel
|
| output_dir |
string
|
./results
|
Output directory
|
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'}