Skip to main content

Overview

Fine-tune video generation models to create videos in your specific style. Works for both text-to-video and image-to-video generation.

Your Data

Text-to-Video

Data should have:
  • Video column - Paths to your training videos
  • Caption column - Text descriptions of each video
Example videos.parquet:

Image-to-Video

Data should have:
  • Video column - Output video paths
  • Image column - First frame/reference image
  • Caption column - Description of the motion/action
Example img2vid.parquet:

Minimal Example: Text-to-Video

Minimal Example: Image-to-Video

Key Parameters

Text-to-Video: Image-to-Video:

Data Requirements

Video fine-tuning is resource-intensive:
  • Quantity: 50-200 videos minimum
  • Quality: Consistent resolution, frame rate, duration
  • Length: 2-10 seconds per clip (shorter is better)
  • Format: MP4, WebM, or other common formats
  • Captions: Describe motion, camera movement, and key actions
Video fine-tuning requires significant compute resources and storage. Expect longer training times compared to image or text models.

Monitor Progress

Next Steps

Common Issues

Ensure videos are committed to your Oxen repository. Check file paths are correct and relative to repo root.
Video models need significant GPU memory. Reduce batch_size to 1 and consider shorter video clips.
Video fine-tuning takes hours to days. Start with 1000 steps for testing. Use shorter videos (2-5 seconds) for faster iteration.
Ensure training videos have consistent quality, resolution, and frame rate. Increase training steps to 3000-5000.