cakirilker / cog-comfyui

(Updated 1 year, 1 month ago)

  • Public
  • 47 runs
  • L40S
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run cakirilker/cog-comfyui using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "cakirilker/cog-comfyui:d6d800960f9de010e4d439538e88b3f5b608e3eab9b183e1137942e1559795b8",
    input={
        "workflow_json": "",
        "randomise_seeds": True,
        "return_temp_files": False,
        "optimise_output_images": True,
        "optimise_output_images_quality": 80
    }
)
print(output)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.