CivArchive
    F2\K Q XL Ernie Dataset Creation - SFW/NSFW - v2
    NSFW
    Preview 131307634

    Version 2 coming soon...


    This flow is for making character dataset images, using Face Swap, for Lora creation. (A fancy way of saying 'lots of pictures'.)

    It will take your loaded image, generate a front and back view, generate multi angle shots from those, then go on to take your character and put them in different clothes, poses, and lighting conditions, face swapping along the way.


    This flow is dedicated to Lonecat as I used his flows for ideas and for all of my learning. Thanks bud, for all you contribute to the community.


    Version 1.6

    Just some minor prompt and detailer tweaks.

    Should be a wee bit faster now. (Even put in a render timer. Quite handy!)


    Versions 1.5
    I started playing with AI image generation less than a year ago at the time of writing this. Like many people, I jumped straight into ComfyUI and immediately got lost in a sea of nodes, spaghetti workflows, and “wait... what does this node even do?” moments.

    A lot of my early learning came from studying workflows created by Lonecat. The outputs were incredible, but the workflows themselves were absolute chaos to a newcomer — which honestly made them a fantastic way to learn. Nothing teaches ComfyUI faster than trying to untangle someone else’s 400-node masterpiece.

    Over time, I became interested in training my own LoRA models, specifically to create a realistic representation of my recently deceased father using decades of family photos and old recordings of conversations we had before he passed away. Yeah... maybe a little creepy, maybe a little emotional, but it became a huge motivator to really understand how all of this worked.

    The biggest challenge quickly became dataset creation. I could find workflows that got “close enough,” but I kept running into issues with consistency, angles, expressions, anatomy cleanup, identity preservation, or just workflows that were nearly impossible for newer users to follow or modify.

    So I started building my own.

    At first, it was just a handful of borrowed ideas mashed together while I learned. Then it slowly evolved into something much larger:

    • * staged dataset generation

    • * angular generation

    • * optional NSFW refinement

    • * face swapping

    • * automated detailers

    • * reusable latent/model systems

    • * modular switches

    • * cleaner workflow organization

    • * educational layout design

    At some point, it stopped being “someone else’s workflow with edits” and became its own thing entirely.

    This workflow is designed to be both production-usable AND educational. I intentionally kept many sections visually separated and organized so newer users can follow the logic, disable stages, experiment safely, and learn how the pipeline works without needing a PhD in node spaghetti.

    The workflow is heavily modular:

    • * Front/Back generation

    • * Angular generation

    • * Dataset stages

    • * Optional NSFW refinement

    • * Face swap systems

    • * Detailer systems

    • * Switch-controlled sections

    You can run sections individually as you progress through dataset creation instead of generating everything all at once.

    This workflow was built through months of experimentation, failure, rebuilding, optimization, and learning-by-doing. Hopefully it helps someone else who is starting that same journey.

    Description

    Version 2 of this workflow became less about “adding more stuff” and more about rebuilding the architecture after finally understanding how ComfyUI actually works under the hood.

    This flow is dedicated to Lonecat as I used his flows for ideas and for all of my learning. Thanks bud, for all you contribute to the community.

    Major V2 changes include:

    • Shared SAM model loading instead of repeated SAM loaders

    • Shared face model loading for all face swap stages

    • Consolidated latent reuse systems using Set/Get nodes

    • Reduced unnecessary VAE encode/decode operations

    • Reworked detailer structure and optimization

    • Reduced over-processing in anatomy refinement stages

    • Improved face swap quality and reintegration

    • Cleaner modular execution paths

    • Better workflow grouping and organization

    • Simplified dependency chains

    • Improved stage-by-stage dataset generation flow

    • Expanded and reworked optional NSFW refinement system

    • Additional dataset generation stages

    • Updated prompts and model selections

    • Improved readability and educational structure

    One of the biggest goals for Version 2 was maintaining visual readability while still improving performance and modularity. Many sections remain intentionally separated and grouped so newer users can follow the workflow logic more easily instead of trying to decipher a giant wall of node spaghetti.

    The workflow is still designed around staged execution:

    • build front/back references

    • generate angular references

    • generate dataset stages

    • optionally run refinement/detailer passes

    • progressively improve consistency and identity preservation

    The result is a workflow that is significantly cleaner, more modular, easier to troubleshoot, and considerably more efficient than the original versions while still remaining approachable for people learning ComfyUI.

    The original versions were functional, but very much built during the “learn by brute force and experimentation” phase. Over time, I started understanding:

    • latent reuse

    • VAE encoding/decoding overhead

    • model loading efficiency

    • detector/detailer costs

    • modular execution

    • workflow dependency cleanup

    • face swap optimization

    • memory management

    • switch-controlled execution paths

    Version 2 is a major cleanup and optimization pass focused on keeping the workflow educational while dramatically improving how the pipeline was structured internally.

    FAQ

    Workflows
    Flux.2 Klein 9B

    Looks like we don't have an active mirror for this file right now.

    CivArchive is a community-maintained index — we catalog mirrors that volunteers upload to HuggingFace, torrents, and other public hosts. Looks like no one has uploaded a copy of this file yet.

    Some files do get recovered over time through contributions. If you're looking for this one, feel free to ask in Discord, or help preserve it if you have a copy.

    Details

    Downloads
    10
    Platform
    CivitAI
    Platform Status
    Deleted
    Created
    5/20/2026
    Updated
    5/22/2026
    Deleted
    5/20/2026

    Files

    f2KQXLErnieDataset_v2.json

    Mirrors

    CivitAI (1 mirrors)