Open-source tool to seamlessly connect multiple AI model APIs in repeatable flow.
🚀 New Nodes : Claude 3, StabilityAI API, Data Splitter update
✨ Layout Mode Updated
AI Flow is an open source, user-friendly UI application that empowers you to seamlessly connect multiple AI models together, specifically leveraging the capabilities of multiples AI APIs such as OpenAI, StabilityAI and Replicate.
In a nutshell, AI Flow provides a visual platform for crafting and managing AI-driven workflows, thereby facilitating diverse and dynamic AI interactions.
- 🎨 It offers a drag-and-drop interface to design these workflows
- 📊 Monitors their execution in real-time
- 🚀 Nodes are launched in parallel whenever possible
- 🗂️ AI models can be conveniently managed and organized
- 💾 Workflows can be exported or imported for sharing or backup purposes
- Every model hosted on Replicate (LLaMa, Mistral, FaceSwap, InstantMesh, MusicGen, ...)
- OpenAI GPT-4o, GPT-4, GPT-4 vision, GPT-3.5, TTS
- StabilityAI entire API (Stable Diffusion 3, SDXL, Stable Video Diffusion, Search and Replace, Remove background, ...)
- Claude 3
Whether you encounter bugs, have enhancements to propose, or want to add entirely new functionalities, we welcome your involvement.
Getting Started:
- Report Issues: Spot a problem? Help us improve by opening an issue.
- Submit Pull Requests: Have a fix or a new feature? Submit a pull request and contribute directly to the codebase.
Expanding AI-FLOW:
- Interested in adding new nodes? Check out our comprehensive Contributor Documentation to learn how you can build and integrate new nodes.
For a quick local setup, grab the Desktop App from the repository's releases section.
You'll need to set REPLICATE_API_KEY in your env to use the Replicate Node. This API key is used exclusively for fetching model data.
Before getting started, make sure you have the following dependencies installed on your system:
- Clone the repository:
git clone https://github.com/DahnM20/ai-flow.git
- Change to the project directory:
cd ai-flow
- Go to the UI directory:
cd packages/ui
- Install dependencies:
npm install
- Go to the backend directory:
cd packages/backend
- Install Python dependencies:
poetry install
- Launch poetry shell :
poetry shell
- Install the windows requirements in the poetry shell :
pip install -r requirements_windows.txt
You'll need to update the REPLICATE_API_KEY in the .env file to use the Replicate Node. This API key is used exclusively for fetching model data.
- Start the server:
cd backend && poetry run python server.py
- Start the ui application:
cd ui && npm start
- Open your browser and navigate to
http://localhost:3000
- Use the drag-and-drop interface to design your AI workflow
- Connect AI models and define data flow between them
- Click "Run" to execute the AI workflow
- Monitor the execution progress and results in real-time
- Go to the docker directory:
cd ./docker
- You'll need to update the REPLICATE_API_KEY in the .yml file to use the Replicate Node. This API key is used exclusively for fetching model data.
- Launch
docker-compose up
ordocker-compose up -d
- Open your browser and navigate to
http://localhost:80
- Use
docker-compose stop
when you want to stop the app.
This project is licensed under the MIT License. See the LICENSE file for more details.