๐งฉ OneShot Dataset Prep โ Minimal Input, Maximal Output
OneShot Dataset Prep is a lightweight, web-based tool that transforms a single image into a complete, structured dataset โ ideal for one-shot LoRA training, quick concept sets, and testing workflows.
Upload your image โ smart crop & flip augmentation โ instant ZIP download with 14 labeled images.
All processing happens locally on your server โ
no GPU required, no cloud tricks, no nonsense.
โFrom one image to one dataset โ minimal input, maximal output.โ
โ Project Status
All core features are finished and production-ready.
The project is now fully public and open-source:
โ๏ธ Core Image Processing (Crop & Flip Logic)
โ๏ธ Backend API (Flask-based ZIP generation)
โ๏ธ Frontend UI (Tailwind uploader with matrix-style aesthetics)
โ๏ธ Teamspace Support (Archive separation, access control, quota management)
๐ค Teamspace โ Built for Collaboration
OneShot Dataset Prep includes integrated team archives โ designed for shared projects, dev groups, and collaborative dataset pooling:
โ Create and manage teams (permission-based)
โ Upload directly into team storage via dropdown
โ Each team can store up to 50 datasets, separate from personal quotas
โ Team members automatically share access to team archives
โ Visual feedback when storage limits are reached (upload lockout & highlight)
โ Dedicated Team Archive page for clean management
โNo more sharing by hand โ just upload once and the whole teamโs got it.โ
๐ง Best Practice: One-Shot That Works
Yes, 1 image = 14 crops.
But for better real-world LoRA results, use two angles:
๐ Recommended Setup:
1x front-facing view
1x back-facing or alternate angle
This gives you 30 images (2 originals + 28 variants), improving generalization and spatial consistency โ especially for characters.
โTwo views, one dataset โ double the context, double the performance.โ
๐ Public Release โ Get Started Now!
The testing phase is over โ
the tool is now fully public and available on GitHub.
๐ GitHub Repo
Includes Docker support, maintainer scripts, and full documentation.
Feedback, bug reports, and ideas are welcome โ just open an issue or drop a PR!
๐งฐ Key Features
Drag & drop upload interface
Automatic generation of 14 image variants (crop & flip)
Instant ZIP packaging โ ready for training
Clean file naming (_top_left_flip, bottomhalf, etc.)
Multi-user system with login, admin panel & registration control
Quota system:
Personal archive = up to 10 datasets
Team archive = up to 50 datasets
Dynamic upload lockout when quota is reached
Matrix-style dark UI with Tailwind CSS ๐
๐ Example Output (from sample.jpg)
sample_original.jpg
sample_original_flip.jpg
sample_top_half.jpg
sample_top_half_flip.jpg
...
sample_bottom_right_flip.jpg
๐ ๏ธ Tech Stack
Component Technology Backend Flask 3.x Image Processing Pillow (PIL) Packaging zipfile + io.BytesIO Frontend HTML5 + Tailwind CSS Temp Handling tempfile Runtime Env Python 3.12
๐ฎ Roadmap
At this point, future development depends on community feedback.
If you have ideas, features, or improvements youโd like to see โ just let us know!
Previews:
Overview:

Selection of Personal or Team Space

User and Permissions Admin

Team Management (WIP)



![[Release for Public Testing]โ OneShot Dataset Prep](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d987204d-4e91-4852-befe-ddd45d1ff0e2/width=1320/Zwischenablagebild.jpeg)