Skip to content

CyberTimon/RapidRAW-AI-Connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RapidRAW Editor

Python FastAPI License

RapidRAW AI Connector

A lightweight middleware that connects RapidRAW to a ComfyUI backend for fast, self-hosted generative AI edits.

Warning: This project is a work in progress and considered unstable for the average user. Official support will begin with the release of RapidRAW v1.4.9.


What It Does

This server acts as an intelligent cache between RapidRAW and ComfyUI to make generative edits fast.

Instead of sending a huge source image for every prompt change, the full image is sent only once. For all subsequent edits, only the tiny mask and text prompt are transferred. The connector sends the full job to ComfyUI and returns only the cropped, edited patch. This minimizes network traffic and makes the editing experience feel instant.

Getting Started

1. Prerequisites

  • A running instance of ComfyUI.
  • Python 3.10+

2. Installation

git clone https://github.com/CyberTimon/RapidRAW-AI-Connector.git
cd RapidRAW-AI-Connector
pip install -r requirements.txt

3. Configuration

All settings are managed via environment variables. The defaults should work for a standard local ComfyUI setup. You can change them by setting variables like COMFY_HOST and COMFY_PORT before running the script.

4. Run It

python main.py

5. Connect RapidRAW

In RapidRAW's settings, point the Self-Hosted AI Backend to the connector's address (e.g., http://127.0.0.1:5000).

Customization

Tweak your generative process by editing the workflow.json file. You can use custom models, nodes, and samplers by updating the workflow and corresponding node IDs in engine.py.

License

This AI Connector is licensed under the Apache License 2.0. See the LICENSE file for more details.

About

A middleware that bridges RapidRAW and ComfyUI. It's purpose is to manage image caching, workflow injection, and AI coordination.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages