diff --git a/.junie/models/local-devstral24b.json b/.junie/models/local-devstral24b.json deleted file mode 100644 index 95e549c..0000000 --- a/.junie/models/local-devstral24b.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "id": "devstral24b-junie:latest", - "baseUrl": "http://localhost:11434/v1/chat/completions", - "apiType": "OpenAICompletion", - "temperature": 0.05, - "primaryModel": { - "id": "devstral24b-junie:latest", - "temperature": 0.05 - }, - "fasterModel": { - "id": "devstral24b-junie:latest", - "temperature": 0.05 - } -} diff --git a/.junie/models/local-ollama.json b/.junie/models/local-ollama.json deleted file mode 100644 index eb42966..0000000 --- a/.junie/models/local-ollama.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "baseUrl": "http://localhost:11434/v1/responses", - "id": "qwen2.5-coder:32b", - "apiType": "OpenAIResponses", - "temperature": 0.1, - "primaryModel": { - "id": "qwen2.5-coder:32b", - "temperature": 0.1 - }, - "fasterModel": { - "id": "qwen2.5-coder:1.5b" - } -} diff --git a/.junie/models/local-qwen25.json b/.junie/models/local-qwen25.json deleted file mode 100644 index 80d70dc..0000000 --- a/.junie/models/local-qwen25.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "baseUrl": "http://localhost:11440/v1/responses", - "id": "qwen3-coder:30b", - "apiType": "OpenAIResponses", - "temperature": 0.3, - "primaryModel": { - "id": "qwen3-coder:30b", - "temperature": 0.3 - }, - "fasterModel": { - "id": "qwen2.5-coder:1.5b" - } -} diff --git a/.trash/architecture.svg b/.trash/architecture.svg new file mode 100644 index 0000000..6f5a34e --- /dev/null +++ b/.trash/architecture.svg @@ -0,0 +1,151 @@ + \ No newline at end of file diff --git a/tour-comfy/deploy_api.sh b/.trash/deploy_api.sh similarity index 100% rename from tour-comfy/deploy_api.sh rename to .trash/deploy_api.sh diff --git a/.trash/table-1781832877269.csv b/.trash/table-1781832877269.csv new file mode 100644 index 0000000..a993ab2 --- /dev/null +++ b/.trash/table-1781832877269.csv @@ -0,0 +1,11 @@ +#,Pose,Base,Key Action,Mood +9,**The Bridge**,Supine,"Hips lifted high, body arched","Strong, open" +10,**The Lotus (recline)**,Supine,"Legs crossed in lotus, knees open","Centered, tranquil" +11,**The Archer**,Side-lying,"Top leg bent, hand grasps ankle, bow shape","Tense, focused" +12,**The Crescent**,Kneeling/standing,"Deep backbend, arms overhead, hips forward","Expansive, vulnerable" +13,**The Cocoon**,Side-lying,"Fetal curl, arms wrapped around legs","Protected, intimate" +14,**The Swan Dive**,Prone,"Chest and legs lifted, arms forward","Graceful, soaring" +15,**The Suspended Split**,Supine,Legs vertical and spread wide in full split,"Flexible, exposed" +16,**The Embrace**,Seated,"Folded forward over legs, arms wrapped around","Intimate, yielding" +17,**The Cascade**,Seated,Twisted fold over one extended leg,"Fluid, surrendered" +18,**The Flame**,Standing,"One-legged balance, arms overhead","Poised, burning" \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..707fa70 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,57 @@ +# Agents in Qwen-Image-Edit Rapid-AIO v23 + +This document describes the agents and components that make up the Qwen image editing system running on A6000 hardware. + +## System Overview + +The Qwen-Image-Edit Rapid-AIO v23 system is a headless image editing API that runs Phr00t's Rapid-AIO NSFW v23 model as a Q8 GGUF. The system consists of two main components: +1. ComfyUI backend that executes the Qwen models +2. FastAPI service that provides HTTP API endpoints + +## Key Agents and Components + +### 1. ComfyUI Backend Agent +- **Role**: Core image editing backend that executes the Qwen models +- **Service Name**: `comfyui-backend` +- **Port**: 8188 +- **Components**: + - Qwen model (Qwen-Rapid-NSFW-v23_Q8_0.gguf) + - Text encoder (qwen_2.5_vl_7b_fp8_scaled.safetensors) + - VAE decoder (qwen_image_vae.safetensors) + - Workflow execution engine + +### 2. FastAPI Edit Agent +- **Role**: Provides HTTP API endpoint for image editing requests +- **Service Name**: `comfyui-api` +- **Port**: 8500 +- **Functionality**: + - Accepts image and prompt input via POST request + - Processes edits using ComfyUI backend + - Returns edited PNG output + +## Communication Flow + +1. Client sends POST request to FastAPI Edit Agent (port 8500) with image and prompt +2. FastAPI Edit Agent forwards request to ComfyUI Backend Agent (port 8188) +3. ComfyUI Backend Agent processes the image using Qwen models via workflow +4. Result is returned through FastAPI Edit Agent to client + +## Service Management + +### Backend Service +- **Service Name**: `comfyui-backend` +- **Port**: 8188 +- **Command**: `/home/mike/dev/qwen-image-edit-rapid-aio-nsfw-v23/a6000-comfy/run_comfyui.sh` + +### API Service +- **Service Name**: `comfyui-api` +- **Port**: 8500 +- **Command**: `/home/mike/dev/qwen-image-edit-rapid-aio-nsfw-v23/a6000-comfy/start_api.sh` + +## Configuration Notes + +The system uses the following environment variables: +- COMFY_URL: Set to "http://127.0.0.1:8188" +- HOST: Set to "0.0.0.0" +- PORT: Set to "8500" +- MAX_AREA: Default 1048576 (1MP output budget) \ No newline at end of file diff --git a/architecture2.svg b/architecture2.svg new file mode 100644 index 0000000..ae0e736 --- /dev/null +++ b/architecture2.svg @@ -0,0 +1,93 @@ + + \ No newline at end of file diff --git a/architecturev2.svg b/architecturev2.svg new file mode 100644 index 0000000..87aa518 --- /dev/null +++ b/architecturev2.svg @@ -0,0 +1,235 @@ + \ No newline at end of file diff --git a/backlog.md b/backlog.md new file mode 100644 index 0000000..44a4168 --- /dev/null +++ b/backlog.md @@ -0,0 +1 @@ +privacy feature not work when overlay \ No newline at end of file diff --git a/gfpgan/weights/parsing_parsenet.pth b/gfpgan/weights/parsing_parsenet.pth new file mode 100644 index 0000000..a786d16 Binary files /dev/null and b/gfpgan/weights/parsing_parsenet.pth differ diff --git a/tour-comfy/car.html b/tour-comfy/car.html index 433e79a..d040a02 100644 --- a/tour-comfy/car.html +++ b/tour-comfy/car.html @@ -3,7 +3,7 @@
-Place images in the output folder and refresh.
-Place images in the output folder and refresh.
+