new in v2
Multi-API Vision
Switch between Gemini, OpenAI and Grok vision APIs. Optimize for cost (Gemini at $0.14/1K images) or quality. Smart routing gets you the best results for your workflow.
$ ./dataset-prep --version → v2.0 · multi-api · model-optimized
Upload images and get trainer-ready datasets: multi-API captioning and checkpoint-specific optimization for SDXL, Flux, SD-1.5, Qwen and more, with full control over caption quality and style.
$ cat CHANGELOG.md
Built from the ground up for LoRA training, with intelligence at every step.
new in v2
Switch between Gemini, OpenAI and Grok vision APIs. Optimize for cost (Gemini at $0.14/1K images) or quality. Smart routing gets you the best results for your workflow.
new in v2
Model-specific captioning strategies for SDXL, Flux, SD-1.5, Qwen-Image and WAN-2.2. Each checkpoint gets tailored prompts for maximum training effectiveness.
new in v2
Fine-tune quality levels, temperature, token limits and caption scoring. Balanced captions for character, style, concept and product LoRAs.
export
Files renamed for Kohya format with bucket/repeat awareness. Compatible with all popular trainers. No manual renaming.
output
Trainer-friendly .txt files per image. Goal-aligned phrasing, consistent token ordering, ready for immediate training.
debug
Full transparency into every step: API responses, caption generation and scoring. Debug and optimize with confidence.
$ ls ./use-cases
$ cat faq.txt
Gemini is the most cost-effective at ~$0.14 per 1,000 images. OpenAI is ~$2.16/1K and Grok ~$4.05/1K. The tool recommends an API for your checkpoint type, but you can override it. On a budget, Gemini is unbeatable; for maximum quality, try OpenAI.
It includes optimized configurations for SDXL, Flux, SD-1.5, Qwen-Image and WAN-2.2, each with model-specific captioning strategies. For other checkpoints, customize the settings or send a feature request.
Kohya format with proper filename patterns for bucket and repeat awareness, compatible with Kohya, AI Toolkit and Civitai Trainer. Each image gets a matching .txt caption file.
Yes. Adjust quality level (standard, detailed, expert), temperature, token limits and quality/token scoring, with different controls per LoRA goal (character, style, concept and more).
Images are sent to your chosen API (Gemini, OpenAI or Grok) for captioning, under that provider's terms. The tool itself doesn't store or log your images — everything runs in your browser session.
$ ./dataset-prep --start
Start building LoRA datasets today.