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

add first draft comfy api example #602

Closed
wants to merge 1 commit into from
Closed

Conversation

kning
Copy link
Contributor

@kning kning commented Feb 27, 2024

Basically modal app version of the comfyUI websockets example.

This passes a comfy workflow json to a running comfyUI server, queues a job, and fetches the image outputs of that job via API.

Chatted with @thundergolfer on how this could be expanded into a more standalone example:

  • Put a simple frontend (like this example) that allows a user to adjust the editable parts of a comfyui json workflow (e.g. text prompts).
  • Use this code as a starting point web endpoint to handle those requests and create the workflow json, spin up a "headless" comfyui server, and return the output

Other thoughts:

  • fal.ai allows you to pass urls of models
  • how would people adapt this if their workflow included plugins?

@thundergolfer thundergolfer mentioned this pull request Mar 5, 2024
13 tasks
@thundergolfer
Copy link
Collaborator

Superseded by #628

@ekzhang ekzhang deleted the kning/comfy_api_example branch August 28, 2024 20:58
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

Successfully merging this pull request may close these issues.

2 participants