comfyui_sdk_dart 0.1.0
comfyui_sdk_dart: ^0.1.0 copied to clipboard
A comprehensive Dart SDK for interacting with ComfyUI's machine learning workflow API. Create, validate, and execute ML workflows with type safety and real-time event handling.
example/README.md
ComfyUI SDK Dart Examples #
This directory contains examples demonstrating how to use the ComfyUI SDK for Dart.
Examples #
basic_workflow.dart- Shows how to create and queue a basic image generation workflowwebsocket_events.dart- Demonstrates how to handle WebSocket events and track workflow progresserror_handling.dart- Examples of proper error handling and validation
Running the Examples #
Make sure you have ComfyUI running locally on port 8188 (default), then run:
dart run example/basic_workflow.dart
dart run example/websocket_events.dart
dart run example/error_handling.dart