One Click Dataset (Style template) v2

4.5

2 reviews
48
10.4K
2.3K
5
Description

Workflow Updated

Make sure to use the latest version of the workflow.


What this workflow does

πŸ‘‰ Use an image as a base for the "style", and then output a full dataset of images.

πŸ‘‰ The output images will be sorted in sub-folders based on the concept

πŸ‘‰ The output images will be named based on the concept

πŸ‘‰ Matching caption files will be generated with the name and concept pre-captioned


How to use this workflow

πŸ‘‰ Choose a checkpoint of choice. I have been using the TurboVisionXL.

πŸ‘‰ Choose a style image of choice. Multiple ones could be combined with the Batch Images node.

πŸ‘‰ Adjust the IPAdapter settings. This is the hardest thing to get right. The Weight and Start At-setting are the most relevant attributes.

πŸ‘‰ Optionally adjust the list of words in the Concept Names-list, as well as adjust the Positive Prompt-list. Make sure that they match index-wise.

πŸ‘‰ Test and tweak until you're happy with the outcome. Each time you generate you will get the next item from the prompt and concept list.

πŸ‘‰ Set the Batch Count from the Extra Options in the Comfy UI. This is the total number of images you will get. If  you're using the 35 concepts from the sample workflow, and you want 8 images of each concept for your dataset, enter 280 into the batch count.


Tips about this workflow

πŸ‘‰ Based on your concepts and prompts, it's not likely that everything will be output perfectly. You may need to remove the bad generations and re-generate with tweaked IPAdapter settings.

Workflow guide:  https://civitai.com/articles/3406


Video showcasing the workflow

πŸŽ₯ https://www.youtube.com/watch?v=sDjij5riflU

Node Diagram
Discussion
M
Mike Tuffina year ago

When loading the graph, the following node types were not found:

  • IPAdapterApply
  • Save Text File_mneNodes that have failed to load will show as red on the graph.
πŸ€”1
M
MNeMiCa year ago

It looks like a few nodes has been updated (one was mine).

IPAdapter Advanced (from the ComfyUI_IPAdapter_plus-pack)

and Save Text File With Path (from the MNeMiC pack.)

I'm updating the workflow now, will add the fixed version.

(Edited)
M
MNeMiCa year ago

It should now be updated.

t
tortoise wang5 months ago

Is there a latest version of this workflow?

M
MNeMiC5 months ago

This is the latest published version.

I have a flux version but it's yet to be published.


Is there a problem with this one?

Author

4
4.3K
92
20.1K

Resources (2)

    workflow.png (4.8 MB)
    One Click Dataset.json (86 kB)

Reviews

Once you have it dialled in it is a clever setup. It is not clear to begin with that there are multiple prompt boxes to change. It would be better if the nodes were grouped based on things you might change once e.g. models, things you might change more e.g. prompts and the outputs. I got it working with SDXL-turbo and 512x512 images

j

jags

a year ago

amazing and wonderful way to go about making a dataset, labeling and all else to make a perfectly usable concept lora. Awesome work and nice share.

Versions (2)

  • - latest (a year ago)

  • - v20231216-011102

Primitive Nodes (29)

Anything Everywhere (2)

Anything Everywhere3 (1)

Anything Everywhere? (20)

Note (3)

Prompts Everywhere (1)

Reroute (2)

Custom Nodes (53)

  • - CR String To Combo (1)

  • - CR Select Model (1)

ComfyUI

  • - CLIPTextEncode (2)

  • - PreviewImage (1)

  • - VAEDecode (1)

  • - EmptyLatentImage (1)

  • - FreeU_V2 (1)

  • - KSampler (1)

  • - LoadImage (1)

  • - CLIPVisionLoader (1)

  • - ImpactWildcardProcessor (1)

  • - IPAdapterModelLoader (1)

  • - IPAdapterAdvanced (1)

  • - Int (3)

  • - Float (3)

  • - String (2)

  • - πŸ’Ύ Save Text File With Path (1)

  • - ConcatStringSingle (6)

  • - LoraTagLoader (2)

  • - String Literal (7)

  • - Sampler Selector (1)

  • - Scheduler Selector (1)

  • - Save Image w/Metadata (1)

  • - Cfg Literal (1)

  • - Int Literal (1)

  • - Seed Everywhere (1)

  • - Text to Console (1)

  • - Text Multiline (2)

  • - Text Load Line From File (2)

Checkpoints (0)

LoRAs (0)