Skip to main content

Overview

This schema is used for fine-tuning models with text to video capabilities.

Schema Type

When creating a fine-tune with this schema, use:
Key Parameters:
  • script_type: text_to_video (the fine-tune type)
  • base_model: One of the supported model canonical names below

Supported Models

  • Wan2.1 1.3B - Text to Video (Wan-AI/Wan2.1-T2V-1.3B-Diffusers)
  • Wan2.2 A14B - Text to Video (Wan-AI/Wan2.2-T2V-A14B-Diffusers)
  • Wan2.1 14B - Text to Video (Wan-AI/Wan2.1-T2V-14B-Diffusers)

Request Schema

Required Fields

Example Request

Field Details

batch_size

Type: integer Default: 1 Minimum: 1

caption_column

Type: string

gradient_accumulation

Type: integer Default: 1 Minimum: 1

image_column

Type: string

learning_rate

Type: number Default: 0.0002

lora_alpha

Type: integer Default: 16 Minimum: 1

lora_rank

Type: integer Default: 16 Minimum: 1

sample_every

Type: integer Default: 200 Minimum: 1

samples

Samples Type: array Used to show progress during the fine-tuning process Default: [{"prompt": "an ox holding a sign that says 'Oxen.ai'"}, {"prompt": "a herd of oxen running in a field"}]

steps

Type: integer Default: 3000 Minimum: 1

timestep_type

Type: string Default: "weighted" Options: weighted, linear, sigmoid

use_lora

Type: boolean