cog-comfyui-sdxl-txt2img icon indicating copy to clipboard operation
cog-comfyui-sdxl-txt2img copied to clipboard

Attempt at cog wrapper using ComfyUI to run a SDXL txt2img workflow config

ComfyUI SDXL txt2img Cog model

This is an implementation of the ComfyUI text2img workflow as a Cog model. Cog packages machine learning models as standard containers.

First, download the pre-trained weights:

cog run script/download-weights

Then, you can run predictions:

cog predict -i input_prompt="beautiful scenery nature glass bottle landscape, pink galaxy bottle"

The workflow used for this repo is found under:

custom_workflows/sdxl_txt2img.json

Example:

"beautiful scenery nature glass bottle landscape, pink galaxy bottle"

alt text