- Full OpenAI-compatible API integration for ComfyUI - Support for Text, Image, Video, and Speech generation - Works with OpenAI, Venice.ai, OpenRouter, Together.ai, Ollama, and any OpenAI-compatible API - Modern comfy_api.latest node format - 10 nodes: 4 basic + 4 advanced + 2 utility - Complete documentation and examples - Model discovery and caching system - Server routes for API management
21 lines
398 B
Python
21 lines
398 B
Python
"""Utility modules for OpenAI-compatible API integration"""
|
|
|
|
from .api_client import OpenAIAPIClient
|
|
from .converters import (
|
|
image_to_base64,
|
|
base64_to_tensor,
|
|
url_to_tensor,
|
|
tensor_to_pil,
|
|
)
|
|
from .model_manager import ModelManager
|
|
|
|
__all__ = [
|
|
"OpenAIAPIClient",
|
|
"image_to_base64",
|
|
"base64_to_tensor",
|
|
"url_to_tensor",
|
|
"tensor_to_pil",
|
|
"ModelManager",
|
|
]
|
|
|