Comfy-Org / Comfy-Org/ComfyUI_frontend

[Question] How to add the "slider" or any other effect on a custom_node workflow template?

Open
#4,155 3 comments 0 reactions 0 assignees View on GitHub
area:templates question
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

Hi! You know the workflow templates, right? So the official ones have effects like this:

![Image](https://github.com/user-attachments/assets/d73bf9e8-926e-4686-a90f-ad9f8a239979)

How would I add an effect like the slider to a custom_node workflow template under \example_workflows ?
I know the core ones [have this index.json](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/index.json) file, but I don't know how or if it's even possible to add effects to a custom node workflow template.

I have recently released my [workflow on the manager](https://registry.comfy.org/publishers/diogod/nodes/inpainting-works) and I would love to do this.

I I know for the slider it expects the image to be the same name of the workflow with a "-1" and "-2" appended to the name. But it does not work. I think the index file is what makes the official ones work. But I could not make it work for me. I woul love some tips!

Thanks!

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4155-Question-How-to-add-the-slider-or-any-other-effect-on-a-custom_node-workflow-templ-2126d73d365081b99670fe0104a28d3a) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.