# ComfyUI KMP Mobile Kotlin Multiplatform (Android/iOS, ARM) App using Compose Multiplatform to connect to a remote ComfyUI server, import workflow JSON, edit existing nodes/params, run, and display generated images. ## Features - Import ComfyUI workflow JSON (paste) - Edit existing node parameters (string fields) - Connect to remote ComfyUI server and run - Poll history and fetch generated images - Display images in a responsive grid (MD3) ## Setup 1. ComfyUI server: ensure reachable from device, default ports (e.g. `http://:8188`). 2. Android: INTERNET permission included. 3. iOS: ATS relaxed in `iosApp/iosApp/Info.plist` for dev. For production, configure proper HTTPS. ## Build Android: run `:composeApp:assembleDebug` or use Android Studio run configuration. iOS: open `iosApp/iosApp.xcodeproj`, run on a device/simulator. ## Usage 1. Open Settings, set Base URL of ComfyUI server. 2. Import a workflow JSON via Import page. 3. Edit string parameters in Editor page. 4. Run, wait for results, view images in Gallery. ## Notes - Only editing of existing parameters is supported; adding nodes is not supported. - Networking via Ktor; JSON via kotlinx.serialization. - For non-ARM devices, compatibility is not targeted.