Replies: 1 comment
-
I have added a Pull Request that allows to add custom extra_data with prompts: In case there is no other way to do this and the PR can be merged, I can mark this as accepted answer. @comfyanonymous would you care to check if that is a good addition? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My extension adds some ui dialog with some settings.
That data is basically a server and some user-info for another service.
This information is stored in localstorage, i.e. specific to the comfy-ui browser session.
Now I need to somehow access this information within the execution function of a custom node.
The server only should know this data when a prompt is being executed from the comfyui interface - the server shouldn't store that information.
Is there a way to send it together with the request to the prompt endpoint - maybe in extra_data?
Is there a way to somehow attach it as metadata or hidden input for a custom node?
Is there any way to send the info to the backend - without having to define an extra endpoint, that would have to at least temporarily persiste the data somehow.
How do I best go about this?
Beta Was this translation helpful? Give feedback.
All reactions