VidiaVideoSaver: watermark + ffmpeg-mux + R2 upload + backend notify. V3 API (io.ComfyNode, ComfyExtension, comfy_entrypoint). not_idempotent=True forces re-execution (fixes upload/callback caching bug). Remote log shipping opt-in via VIDIA_REMOTE_LOGGING env. Env-only config (no hardcoded secrets).
17 lines
437 B
Python
17 lines
437 B
Python
from typing_extensions import override
|
|
from comfy_api.latest import ComfyExtension, io
|
|
|
|
from .nodes import VidiaVideoSaver
|
|
|
|
__all__ = ["VidiaOpenStudioNodeExtension"]
|
|
|
|
|
|
class VidiaOpenStudioNodeExtension(ComfyExtension):
|
|
@override
|
|
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
|
return [VidiaVideoSaver]
|
|
|
|
|
|
async def comfy_entrypoint() -> VidiaOpenStudioNodeExtension:
|
|
return VidiaOpenStudioNodeExtension()
|