vetkastar / image_to_zip

  • Public
  • 112.4K runs

Run vetkastar/image_to_zip 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
image
string
Path to the image. The image will be saved with the name 'image' and the selected format.
mask
string
Path to the mask. The mask will be saved with the name 'mask' and the selected format.
controlnet1
string
Path to the first Control Net image. The image will be saved with the name 'controlnet1' and the selected format.
controlnet2
string
Path to the second Control Net image. The image will be saved with the name 'controlnet2' and the selected format.
controlnet3
string
Path to the third Control Net image. The image will be saved with the name 'controlnet3' and the selected format.
array
string
JSON string containing an array of image URLs for downloading and archiving. Images will be saved with their original filenames and the selected format.
target_format
string (enum)
PNG

Options:

PNG, JPEG, WEBP

Select the target image format. Supported formats: PNG, JPEG, WEBP.

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"
}