vetkastar / comfy-test-test

  • Public
  • 59 runs

Run vetkastar/comfy-test-test 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
workflow_json
string
Your ComfyUI workflow as JSON. You must use the API version of your workflow. Get it from ComfyUI using 'Save (API format)'. Instructions here: https://github.com/fofr/cog-comfyui
input_file
string
Input image, tar or zip file. Read guidance on workflows and input files here: https://github.com/fofr/cog-comfyui. Alternatively, you can replace inputs with URLs in your JSON workflow and the model will download them.
return_temp_files
boolean
False
Return any temporary files, such as preprocessed controlnet images. Useful for debugging.
output_format
string (enum)
png

Options:

png, jpg, webp

Format of the output images
output_quality
integer
100

Max: 100

Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. For PNG, this affects compression level.
randomise_seeds
boolean
True
Automatically randomise seeds (seed, noise_seed, rand_seed)
force_reset_cache
boolean
False
Force reset the ComfyUI cache before running the workflow. Useful for debugging.
lora_urls
string
LoRA URLs to download and add. Enter one URL per line.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}