Z-Image LoRA Trainer

Train custom LoRA models for Z-Image Turbo. Upload your training images and configure the settings below.

Important: This Space requires an L4 GPU ($0.80/hr) for training. Upgrade in Settings before starting.

Training Images

Tips for best results:

  • Use 6-20 high quality images
  • Consistent lighting and style
  • Square or similar aspect ratios
  • Clear subjects, not too busy

Training Settings

500 5000
0.00001 0.0005
4 32
256 1024
1 4

Usage Instructions

  1. Upload Images: Drag and drop 6-20 training images
  2. Set Trigger Word: Choose a unique trigger word (e.g., <mychar>)
  3. Configure Settings: Adjust training parameters (defaults work well for most cases)
  4. Start Training: Click the button and wait (1-2 hours for 2000 steps)
  5. Download: Get your LoRA file when training completes

Estimated Costs (L4 GPU at $0.80/hr)

  • 1000 steps: ~$0.40-0.60
  • 2000 steps: ~$0.80-1.20
  • 3000 steps: ~$1.20-1.80

After Training

Use your LoRA with ComfyUI or diffusers:

pipe.load_lora_weights("your_lora.safetensors")
image = pipe("<trigger_word>, your prompt here").images[0]