OutofAi/OutofFocus

An AI focused photo manipulation tool based on Gradio

184

stars

73

commits

Python

primary language

Jun 28, 2025

updated

ai-photo-editor
diffusion-inversion
gradio
gradio-interface
photo-editing
photo-editor

README

8d7a77ba-52b3-427b-8d6b-6e9d570f5939-removebg-preview (2) (1)

Out of Focus v1.0

Open In Colab

Twitter Twitter

Out of AI presents a flexible tool in Gradio to manipulate your images. This is our first version of Image modification tool through prompt manipulation by reconstruction through diffusion inversion process.

Download the project

git clone https://github.com/OutofAi/OutofFocus.git
cd  OutofFocus

🚀 Run Gradio Demo locally

After downloading the project and navigating to the correct folder

Install dependencies:

pip install -r requirements.txt

Run the app

python app_turbo.py

You can also run the SD 2.1 version that requires A100 GPU for efficient editting

Run the app

python app.py

🚀 Run Gradio Demo locally in Virtual Environment

If you face any dependency, token or cuda issues we higly recommend running it in a virtual environment.

To run it in a virtual environment use these commands instead, after downloading the project and navigating to the correct folder

Create a virtual environment:

python -m venv venv

Activate the environment:

Windows:

.\venv\Scripts\activate

macOS/Linux:

source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Run the app in virtual environment:

python app_turbo.py

🚀 Run Gradio Demo on Google Colab (GPU based)

If you want to run it on Colab either click on the badge below

Open In Colab

or create your own notebook, make sure you got a GPU notebook enabled (Views->Notebook Info) a A100 GPU or a L4 GPU and run the following commands

!git clone https://github.com/OutofAi/OutofFocus
%cd OutofFocus
!pip install -r requirements.txt
!python app.py --share

https://github.com/user-attachments/assets/1f71553d-d41d-45d6-a256-df3e06f93182

Disclaimer

This project aims to contribute positively to the field of AI-based image generation. While users are encouraged to explore its creative capabilities, they are responsible for adhering to local regulations and using the tool responsibly. The developers are not liable for any misuse by users.

More Examples:

image image image image

Contributors

OutofAi

73 commits

OutofAi/OutofFocus

An AI focused photo manipulation tool based on Gradio

184

stars

73

commits

Python

primary language

Jun 28, 2025

updated

ai-photo-editor
diffusion-inversion
gradio
gradio-interface
photo-editing
photo-editor

README

8d7a77ba-52b3-427b-8d6b-6e9d570f5939-removebg-preview (2) (1)

Out of Focus v1.0

Open In Colab

Twitter Twitter

Out of AI presents a flexible tool in Gradio to manipulate your images. This is our first version of Image modification tool through prompt manipulation by reconstruction through diffusion inversion process.

Download the project

git clone https://github.com/OutofAi/OutofFocus.git
cd  OutofFocus

🚀 Run Gradio Demo locally

After downloading the project and navigating to the correct folder

Install dependencies:

pip install -r requirements.txt

Run the app

python app_turbo.py

You can also run the SD 2.1 version that requires A100 GPU for efficient editting

Run the app

python app.py

🚀 Run Gradio Demo locally in Virtual Environment

If you face any dependency, token or cuda issues we higly recommend running it in a virtual environment.

To run it in a virtual environment use these commands instead, after downloading the project and navigating to the correct folder

Create a virtual environment:

python -m venv venv

Activate the environment:

Windows:

.\venv\Scripts\activate

macOS/Linux:

source venv/bin/activate

Install dependencies:

pip install -r requirements.txt

Run the app in virtual environment:

python app_turbo.py

🚀 Run Gradio Demo on Google Colab (GPU based)

If you want to run it on Colab either click on the badge below

Open In Colab

or create your own notebook, make sure you got a GPU notebook enabled (Views->Notebook Info) a A100 GPU or a L4 GPU and run the following commands

!git clone https://github.com/OutofAi/OutofFocus
%cd OutofFocus
!pip install -r requirements.txt
!python app.py --share

https://github.com/user-attachments/assets/1f71553d-d41d-45d6-a256-df3e06f93182

Disclaimer

This project aims to contribute positively to the field of AI-based image generation. While users are encouraged to explore its creative capabilities, they are responsible for adhering to local regulations and using the tool responsibly. The developers are not liable for any misuse by users.

More Examples:

image image image image

Contributors

OutofAi

73 commits

Languages

Python

93.1%

Jupyter Notebook

6.9%