CivArchive
    โ† All articles
    Published July 10, 2025by AsaTyr

    [Release for Public Testing]โ€“ OneShot Dataset Prep

    328 views15 reactions3 comments on CivitAI14 collected
    announcementtool

    ๐Ÿงฉ 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)


    Archived from CivitAI ยท Updated April 16, 2026View source