Skip to main content

Overview

Fine-tune image editing models to learn specific transformations: style transfer, object manipulation, background changes, or any image-to-image task.

Your Data

Your training data needs three columns:
  • Control/Input image - The original image
  • Target/Output image - The transformed image
  • Caption - Text describing the transformation
Example data in edits.parquet:

Minimal Example

Key Parameters

Only these fields are required to start: All other parameters use sensible defaults.

Supported Models

Popular choices for image editing:
  • black-forest-labs/FLUX.1-Kontext-dev - High quality, versatile
  • Qwen/Qwen-Image-Edit - Fast, good for quick iterations
See the full model list for all available options.

Data Requirements

For best results:
  • Quantity: 20-100 image pairs minimum
  • Quality: High resolution, aligned transformations
  • Captions: Clear descriptions of what changed between input and output
  • Consistency: Transformations should follow a consistent pattern or style

Sample During Training

Add sample prompts to see progress during training:

Monitor Progress

Next Steps

Common Issues

Ensure input and output images show the same scene/subject. The model learns the transformation between them.
Adjust learning_rate (lower for subtle, higher for stronger). Default is 0.0002.
Reduce batch_size to 1 and sample_height/sample_width to 512 or 768.
Ensure your captions consistently describe the transformation. Train for more steps (4000-5000) or increase dataset size.