e5ad53af42
Update model options in Leon_Google_Image_API_Node to include new variants: imagen-4-ultra, imagen-4-fast, and maintain existing models. Adjust default model to imagen-4-ultra for enhanced performance.
Leon Wong2025-06-25 14:20:59 +08:00
a72fae76b7
Add Leon_Hypr_Upload_Node for uploading images and videos to HyprLab. This node supports multiple input types including image tensors, local file paths, remote URLs, and base64 data. It handles API requests and responses, ensuring proper error management. Updated NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS for integration into the system.
Leon Wong2025-06-16 15:53:51 +08:00
19c3ac50cd
Refactor and reorganize node structure by splitting leon_api_node.py into api_nodes.py and utility_nodes.py for improved maintainability. Update __init__.py to consolidate node mappings and import necessary classes. Delete the original leon_api_node.py file. Enhance image input handling for Luma and FLUX nodes by prioritizing socket inputs over string URLs. This restructuring facilitates easier management and extension of node functionalities.
Leon Wong2025-06-11 16:53:33 +08:00
a5924316f3
Add Leon_ImgBB_Upload_Node for uploading images to ImgBB. This node accepts an image tensor and API key, with optional parameters for expiration. It converts the tensor to a PIL image, encodes it, and posts to the ImgBB API, handling errors and responses appropriately. Updated NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in __init__.py for integration.
Leon Wong2025-05-29 17:54:41 +08:00
5930c73033
Refactor Leon_Luma_AI_Image_API_Node to ensure aspect_ratio is always included in the API payload. Update input type definitions for clarity and remove unnecessary comments. Clean up __pycache__ by deleting outdated compiled files.
Leon Wong2025-05-28 16:39:14 +08:00
77fb947311
Add Leon_Flux_Image_API_Node for generating images using FLUX models, including support for multiple model variants and dynamic API payload construction. Update NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in __init__.py for ComfyUI integration. Modify input types for Leon_String_Combine_Node to improve usability.
Leon Wong2025-05-28 14:47:27 +08:00
446f169493
Add new utility nodes: Leon_Image_Split_4Grid_Node for splitting images into quadrants and Leon_String_Combine_Node for concatenating strings. Update Leon_Midjourney_Proxy_API_Node to include message_hash in outputs. Ensure all nodes are registered in NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in __init__.py for ComfyUI discovery.
Leon Wong2025-05-28 10:34:35 +08:00