---
datasets:
- CSU-JPG/VisPrompt5M
- CSU-JPG/VPBench
language:
- en
license: apache-2.0
pipeline_tag: image-to-image
tags:
- flow-matching
- image-generation
- image-editing
- vision-centric
---
## Authors
Junchao Yi, Rui Zhao, Jiahao Tang, Weixian Lei, Linjie Li, Qisheng Su, Zhengyuan Yang, Lijuan Wang, Xiaofeng Zhu, Alex Jinpeng Wang.
## About
FlowInOne is a framework that reformulates multimodal generation as a **purely visual flow**, converting all inputs into visual prompts and enabling a clean **image-in, image-out** pipeline governed by a single flow matching model.
This vision-centric formulation naturally eliminates cross-modal alignment bottlenecks, noise scheduling, and task-specific architectural branches, **unifying text-to-image generation, layout-guided editing, and visual instruction following under one coherent paradigm**.
## 🚀 Setup
```bash
# Create conda environment
conda create -n flowinone python=3.10 -y
conda activate flowinone
# Install required packages
git clone https://github.com/CSU-JPG/FlowInOne.git
cd FlowInOne/scripts
sh setup.sh
```
## ✨ Usage
### 1. Download Weights
You can download the model weights and model preparation files using the following commands:
```bash
# model weights
wget -O checkpoints/flowinone_256px.pth https://huggingface.co/CSU-JPG/FlowInOne/resolve/main/flowinone_256px.pth
# model preparation
wget https://huggingface.co/CSU-JPG/FlowInOne/resolve/main/preparation.tar.gz
tar -xzvf "preparation.tar.gz"
```
### 2. Inference
Run inference with the provided script in the repository:
```bash
sh scripts/inference.sh
```
Our training and inference scripts are fully available on [GitHub](https://github.com/CSU-JPG/FlowInOne).
## Citation
If you found our work useful, please consider citing:
```bibtex
@article{yi2026flowinoneunifyingmultimodalgenerationimagein,
title={FlowInOne:Unifying Multimodal Generation as Image-in, Image-out Flow Matching},
author={Junchao Yi and Rui Zhao and Jiahao Tang and Weixian Lei and Linjie Li and Qisheng Su and Zhengyuan Yang and Lijuan Wang and Xiaofeng Zhu and Alex Jinpeng Wang},
journal={arXiv preprint arXiv:2604.06757},
year={2026}
}
```