lightweight-ai / test_ip

  • Public
  • 58 runs
Iterate in playground
Run with an API

Run lightweight-ai/test_ip 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
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
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}