Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

1.6 KB
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0

import { buildImagesTourSteps } from "@/features/images/tour/steps";
import type { TourStep } from "@/features/tour";

const modeStep: TourStep = {
  id: "mode",
  target: "video-mode",
  title: "Create or Train",
  body: (
    <>
      Create generates videos. Train fine-tunes a diffusion LoRA with the same
      trainer as Images, and finished image LoRAs load in Images.
    </>
  ),
};

export function buildVideoTourSteps({
  pageMode,
}: {
  pageMode: "create" | "train";
}): TourStep[] {
  return pageMode === "train"
    ? [
        modeStep,
        ...buildImagesTourSteps({ pageMode: "train" }).filter(
          (step) => step.id !== "mode",
        ),
      ]
    : [modeStep, ...createSteps];
}

const createSteps: TourStep[] = [
  {
    id: "model",
    target: "video-model",
    title: "Pick a model",
    body: (
      <>
        Video models run locally, so check the size before you download. What
        the model supports decides which controls appear below.
      </>
    ),
  },
  {
    id: "settings",
    target: "video-settings",
    title: "Settings",
    body: (
      <>
        Prompt, resolution, duration in frames, steps, guidance and seed.
        Duration and resolution drive VRAM and time most, so start small.
      </>
    ),
  },
  {
    id: "preview",
    target: "video-preview",
    title: "Results",
    body: (
      <>
        The selected clip plays here and every clip lines up below. Download it,
        or reuse its settings for the next run.
      </>
    ),
  },
];