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.

2.2 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 type { TourStep } from "@/features/tour";

const modeStep: TourStep = {
  id: "mode",
  target: "images-mode",
  title: "Create or Train",
  body: (
    <>
      Create generates images. Train fine-tunes a diffusion LoRA on your own
      pictures. The sidebar workflows, such as edit, inpaint, extend and
      upscale, all run in Create.
    </>
  ),
};

export function buildImagesTourSteps({
  pageMode,
}: {
  pageMode: "create" | "train";
}): TourStep[] {
  if (pageMode === "train") {
    return [
      modeStep,
      {
        id: "train-dataset",
        target: "images-train-dataset",
        title: "Your images",
        body: (
          <>
            Drop in a folder, pick a dataset, or start from an example. Captions
            matter here, so fill gaps in the labeling grid before you train.
          </>
        ),
      },
      {
        id: "train-start",
        target: "images-train-start",
        title: "Start training",
        body: (
          <>
            Runs a LoRA on the base model above. Progress and samples appear on
            the right, and finished LoRAs load back into Create.
          </>
        ),
      },
    ];
  }

  return [
    modeStep,
    {
      id: "model",
      target: "images-model",
      title: "Pick a model",
      body: (
        <>
          Image models you have downloaded, plus anything on Hugging Face. The
          model decides which controls appear below, such as LoRAs and
          ControlNet.
        </>
      ),
    },
    {
      id: "settings",
      target: "images-settings",
      title: "Settings",
      body: (
        <>
          Prompt, aspect ratio, steps, guidance, batch size and seed. Save a
          setup as a preset, and reuse a seed to repeat a result exactly.
        </>
      ),
    },
    {
      id: "preview",
      target: "images-preview",
      title: "Results",
      body: (
        <>
          The selected image fills this pane and everything you make lines up
          below. Save it here, or send it into another workflow like upscale.
        </>
      ),
    },
  ];
}