Skip to content

GraftingRayman/ComfyUI_QueueTube

Repository files navigation

ComfyUI QueueTube

These nodes allow your YouTube LiveStream viewers to create on your local ComfyUI, you can make this a members only feature with a screen behind you displaying your members creations

Running

1: Start your YT LiveStream

2: Start YTChatListen.py

3: Use the GRPromptText Node

Settings

1: Edit the following line in GRQueueTube.py and change the path to where the YTChatListen.py is saving the chat log, this is usually a folder in the ComfyUI custom_nodes directory

    base_folder = r"H:\ComfyUI\custom_nodes\ComfyUI_QueueTube\Chat"

2: Put your Google API client secret in a file called client_secrets.json

try not to change the following line in YTChatListen:

time.sleep(30)

if you set it too low, you will use up all your API credits in an hour or so, 30 seconds is a good value, as usually takes 25-30 seconds to generate a 1024x1024 image, but that would depend on your hardware

a file called nsfwwords.txt contains words that are blocked, this should prevent your channel from getting banned, but don't count on it, you need to monitor what users are typing and what is being accepted.

The chat/prompt logs are kept in a folder with the Date, Time, YT handle and the message it self

Users need to type "PROMPT:" and the prompt itself ie:

"PROMPT: A man on a boat fishing, wearing a blue cap and red jacket"

"PROMPT: A cat in a hat wearing a blue jersey"

That's it, enjoy prompting

About

Queue Prompts from YouTube LiveStream

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published