# FLUX.2 Klein 4B 360 ERP Outpaint LoRA
[](https://github.com/nomadoor/ComfyUI-Panorama-Stickers)
[](https://huggingface.co/nomadoor/flux-2-klein-9B-360-erp-outpaint-lora)
[](./README_ja.md)
This is a LoRA for FLUX.2 Klein 4B for 360-degree panorama outpainting.
It uses an ERP (`2:1`) control image with green empty regions as input, and is designed to fill the surrounding area while preserving the visible reference regions. It is trained to favor horizon continuity and reduce left-right seam breakage.
## Examples
### Example 1
| Input | Output |
| --- | --- |
|  |  |
### Example 2
| Input | Output |
| --- | --- |
|  |  |
## Usage
1. Prepare a `2:1` ERP control image with projected reference images placed on a green canvas.
2. Put the trigger words below at the beginning of your prompt.
3. Add any extra prompt text you want after the trigger words.
Notes:
- The reference image is expected to be projected into ERP from a **pinhole view** based on its intended panorama placement.
- A UI for this workflow is available as a Gradio app / ComfyUI custom node, so please make use of it.
- [nomadoor/ComfyUI-Panorama-Stickers](https://github.com/nomadoor/ComfyUI-Panorama-Stickers)
## Trigger Words
```text
Fill the green spaces according to the image. Outpaint as a seamless 360 equirectangular panorama (2:1). Keep the horizon level. Match left and right edges.
```
## Recommended Resolution
- Generation: `2048x1024` (2K ERP)
- For panorama use, 2K may still look coarse in some cases, so use upscaling if needed
## Notes
- 🚨Distilled models do not produce good results in most cases. I am still looking for a solution, but for now you should use it with the base model.
- Most of the training data is realistic scenery, so non-photoreal domains may be less stable.
- Perfect seam matching is still difficult, and some outputs may benefit from post-processing such as inpainting.
## Training Setup
- [TRAINING_NOTES.md](./TRAINING_NOTES.md)
## Workflow
- [flux-2-klein-4B-360-erp-outpaint.json](./workflow/flux-2-klein-4B-360-erp-outpaint.json)
- `Upsace_Seam-inpainting (WIP)`
## License
Please follow the license and usage terms of the base model:
- ModelScope: [`flux-community/FLUX.2-klein-base-4B`](https://www.modelscope.ai/models/flux-community/FLUX.2-klein-base-4B)
- Hugging Face: [`black-forest-labs/FLUX.2-klein-base-4B`](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4B)
## Support
I ended up spending a bit too much on GPU rentals 🫠
If you would like to support the project, I would really, really appreciate it if you use [☕Ko-fi](https://ko-fi.com/nomadoor) or [❤GitHub Sponsors](https://github.com/sponsors/nomadoor/).
Description
A LoRA for FLUX.2 Klein base 4B for 360-degree ERP panorama outpainting.
Details
Downloads
6
Platform
Civision
Platform Status
Available
Created
6/11/2026
Updated
6/11/2026
Deleted
-
Trigger Words:
Fill the green spaces according to the image Outpaint as a seamless 360 equirectangular panorama 2-1 Keep the horizon level Match left and right edges
