Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工作流执行过程中有交互的场景如何支持?比如图片局部重绘 #2

Open
alanpeng opened this issue Dec 18, 2024 · 1 comment

Comments

@alanpeng
Copy link

Is your feature request related to a problem? Please describe.
第三方node在ComfyUI内有用户界面交互比如采用遮罩蒙板来处理图片局部重绘的,不知道如何做简化封装,这个有没有好的思路?
5de286e524974379e4d16fd6b638427
b37ac35d3d177783e1f517bf8e494b2
b76fda92d2ad755b40d3f1c6046b821

Describe the solution you'd like
暂无好的思路

Describe alternatives you've considered
我曾想做一个桌面应用,但是不知道如何把社区作者在ComfyUI内部实现的交互界面用API方式抽离到我的应用界面里来。感觉遮罩的前端交互代码要抽离出来不太容易处理。

Additional context
https://github.com/xingren23/ComfyFlowApp 这个项目也做得挺有参考价值,但是它并不能支持复杂的工作流。

@alanpeng alanpeng closed this as completed Jan 2, 2025
@luckkyzhou luckkyzhou reopened this Jan 2, 2025
@luckkyzhou
Copy link
Owner

我的程序有类似的设计,实现是靠前端用canvas组件进行局部mask绘制,然后将mask转化为image/mask在workflow中作为输入

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants