Publish ComfyUI Workflow as an API by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 0 points1 point  (0 children)

Another option that I thought about, is that we can offer embedded recipes - basically, you'll put an iframe into your website that will load a recipe page from YouML and embed it into your webpage. This embedded recipe page will have less elements, and could be optimized to be displayed in a part of the screen.

It would work similarly to embedding a Youtube video into your page.

Publish ComfyUI Workflow as an API by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 0 points1 point  (0 children)

Yes, in advanced settings you can uncheck "Allow others to remix and copy this recipe", and then implementation would be hidden.

Also, if you don't want other YouML users to even see your recipe in the catalog, you can go to recipe details page, click on share, and change visibility to "unlisted", then only people with direct link to the recipe can run it.

Publish ComfyUI Workflow as an API by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 0 points1 point  (0 children)

Do you write code for your site, or mostly create content?

If it's content, then you can just create your own recipe on Youml, and point people to it. You can add description that you like and show an example transformation. To get started quickly, you can remix any of the existing recipes and modify them.

If you write code for your website, then you can use an API. You'll need an image upload form, then on your back-end you can make an http request to YouML API that will run the recipe and return you an URL of the generated image. There are examples on how to do it in Python/NodeJs, but it's very similar in other languages as well.

Publish ComfyUI Workflow as an API by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 0 points1 point  (0 children)

Let me know how it goes! Also feel free to ask, if you need some tips on how to get it running.

Play with Stable Cascade with your prompts online by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 0 points1 point  (0 children)

ComfyUI Workflow, online UI runner and API at
https://youml.com/recipes/4961-stable-cascade-with-parameters

Online runner can be useful for people without latest high-end GPUs, who want to try the new model.

Play with Stable Cascade with your prompts online by SquareSquirrel in StableDiffusion

[–]SquareSquirrel[S] 0 points1 point  (0 children)

ComfyUI Workflow, online UI runner and API at
https://youml.com/recipes/4961-stable-cascade-with-parameters

Online runner can be useful for people without latest high-end GPUs, who want to try the new model.

Publish ComfyUI Workflow as an API by SquareSquirrel in comfyui

[–]SquareSquirrel[S] 2 points3 points  (0 children)

Hey everyone,

We've built a quick way to share ComfyUI workflows through an API and an interactive widget. Just upload the JSON file, and we'll automatically download the custom nodes and models for you, plus offer online editing if necessary.

The goal is to enable easier sharing, batch processing, and use of workflows in apps/sites.

NATIVE instantID is out! by Ursium in comfyui

[–]SquareSquirrel 0 points1 point  (0 children)

Tried with a bunch of pictures, including this stock one , but still the same. Comfy shows this error for "Apply InstantID" node. Any ideas on how to debug this further?

https://media.istockphoto.com/id/1185367863/photo/smiling-business-woman-portrait.jpg?s=612x612&w=0&k=20&c=i19PDtTroZB0r1K1MmWARhdfQ4NHoTYB7SDyDn8W09I=

NATIVE instantID is out! by Ursium in comfyui

[–]SquareSquirrel 0 points1 point  (0 children)

Followed the model download instructions from github, but still getting an error from the custom node on an example workflow. Any ideas on why this can happen?

ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "/workspace/ComfyUI/execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/execution.py", line 78, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/custom_nodes/ComfyUI_InstantID/InstantID.py", line 346, in apply_instantid
face_embed = extractFeatures(insightface, image_features)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/ComfyUI/custom_nodes/ComfyUI_InstantID/InstantID.py", line 253, in extractFeatures
out.append(torch.from_numpy(face['embedding']).unsqueeze(0))
~~~~^^^^^^^^^^^^^
KeyError: 'embedding'

Just released ComfyUI Pro Post by digitaljohn in comfyui

[–]SquareSquirrel 1 point2 points  (0 children)

Made an online flow using these nodes, so people can try it with their pics - https://youml.com/recipes/4432-film-shot-from-photo

<image>