Files
ChunkyPanda29-ComfyUI-Polli…/__init__.py
T
Krissy baa66594e3 feat: Add official BYOP authentication module
Implements Pollinations BYOP specification:
- Device Code Flow for browser-free CLI authentication
- App Key attribution for traffic tracking
- User Info endpoint integration
- New PollinationsBYOPLogin node for ComfyUI
- Updated README with BYOP documentation

Reference: https://github.com/pollinations/pollinations/blob/main/BRING_YOUR_OWN_POLLEN.md
2026-03-26 13:26:42 +00:00

22 lines
982 B
Python

from .pollinations_nodes import PollinationsImageGen, PollinationsTextGen, PollinationsVideoGen, PollinationsAudioGen, PollinationsBYOPLogin
NODE_CLASS_MAPPINGS = {
"PollinationsImageGen": PollinationsImageGen,
"PollinationsTextGen": PollinationsTextGen,
"PollinationsVideoGen": PollinationsVideoGen,
"PollinationsAudioGen": PollinationsAudioGen,
"PollinationsBYOPLogin": PollinationsBYOPLogin
}
NODE_DISPLAY_NAME_MAPPINGS = {
"PollinationsImageGen": "🌸🖼️ Pollinations Image Gen (BYOP)",
"PollinationsTextGen": "🌸🤖 Pollinations Text Gen (BYOP)",
"PollinationsVideoGen": "🌸🎞️ Pollinations Video Gen URL (BYOP)",
"PollinationsAudioGen": "🌸🔊 Pollinations Audio Gen (BYOP)",
"PollinationsBYOPLogin": "🔐🌸 Pollinations BYOP Login"
}
# CRITICAL: This tells ComfyUI to load the JavaScript from the /js folder
WEB_DIRECTORY = "./js"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']