ComfyUI_QueueTube

ComfyUI_QueueTube
★ 0

直播互动YouTube观众生成成员专属
把YouTube直播观众的生成请求接入本地ComfyUI,支持会员专属并将观众作品实时显示在直播画面,提高互动性。
💡 让直播观众通过聊天在本地ComfyUI生成并实时展示作品
🍴 1 Forks💻 Python🔄 2025-01-08
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📄 README

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 1024×1024 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