HTTP API for ComfyUI workflow submission with: - POST /api/webhook endpoint for workflow submission - Real-time progress events via callback URL - Automatic output collection (no re-encoding) - Input/Output nodes for webhook data access
17 lines
442 B
Python
17 lines
442 B
Python
"""Utility functions for webhook functionality."""
|
|
|
|
from .mime import guess_mime_type, get_extension_for_mime, MIME_TYPES
|
|
from .files import get_output_path, get_image_dimensions, get_temp_directory
|
|
from .helpers import format_size, run_async
|
|
|
|
__all__ = [
|
|
"guess_mime_type",
|
|
"get_extension_for_mime",
|
|
"MIME_TYPES",
|
|
"get_output_path",
|
|
"get_image_dimensions",
|
|
"get_temp_directory",
|
|
"format_size",
|
|
"run_async",
|
|
]
|