fofr / cog-comfyui

Run ComfyUI with an API
https://replicate.com/fofr/any-comfyui-workflow
MIT License
544 stars 124 forks source link

Replicate output is null #164

Closed yuesam closed 2 months ago

yuesam commented 2 months ago

I've sent the default workflow json to the Replicate api, but my output is null.

Here's the workflow: {"3":{"inputs":{"seed":156680208700286,"steps":10,"cfg":2.5,"sampler_name":"dpmpp_2m_sde","scheduler":"karras","denoise":1,"model":["4",0],"positive":["6",0],"negative":["7",0],"latent_image":["5",0]},"class_type":"KSampler","_meta":{"title":"KSampler"}},"4":{"inputs":{"ckpt_name":"SDXL-Flash.safetensors"},"class_type":"CheckpointLoaderSimple","_meta":{"title":"Load Checkpoint"}},"5":{"inputs":{"width":1024,"height":1024,"batch_size":1},"class_type":"EmptyLatentImage","_meta":{"title":"Empty Latent Image"}},"6":{"inputs":{"text":"beautiful scenery nature glass bottle landscape, purple galaxy bottle,","clip":["4",1]},"class_type":"CLIPTextEncode","_meta":{"title":"CLIP Text Encode (Prompt)"}},"7":{"inputs":{"text":"text, watermark","clip":["4",1]},"class_type":"CLIPTextEncode","_meta":{"title":"CLIP Text Encode (Prompt)"}},"8":{"inputs":{"samples":["3",0],"vae":["4",2]},"class_type":"VAEDecode","_meta":{"title":"VAE Decode"}},"9":{"inputs":{"filename_prefix":"ComfyUI","images":["8",0]},"class_type":"SaveImage","_meta":{"title":"Save Image"}}}

Here's my output logs: Checking inputs

Checking weights ⏳ Downloading SDXL-Flash.safetensors to ComfyUI/models/checkpoints ✅ SDXL-Flash.safetensors downloaded to ComfyUI/models/checkpoints in 21.57s, size: 6776.19MB

Randomising seed to 2161905975 Running workflow Executing node 4, title: Load Checkpoint, class type: CheckpointLoaderSimple Executing node 6, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode Executing node 7, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode Executing node 5, title: Empty Latent Image, class type: EmptyLatentImage Executing node 3, title: KSampler, class type: KSampler outputs: {}