How to Train a Custom Image Model in Leonardo.ai

Matthew Berman walks through Leonardo.ai’s 2023 model galleries, training-set guidance, and custom model workflow, then shares results from several experiments.

MBMatthew Bermanホスト · Forward Future
チャンネル
Matthew Berman
公開日
2023年2月20日
動画
7:55
読了時間
4 分
スライド
5
原文
英語
YouTube で開く
スクロールすると動画は右下に小さくなって再生を続けます。字幕は閲覧言語に合わせて切り替わります。
閲覧言語2 言語で読めます
この記事はまだ日本語に翻訳されていないため、英語の原文を表示しています。
要約

30 秒でわかる

Matthew Berman demonstrates how Leonardo.ai users could assemble image datasets, configure a custom model, and use it for generation. He compares platform and community models with his own experiments, including character art and self-portraits. The interface, free allowance and Stable Diffusion choices described are from the video’s 2023 recording. Although its title mentions ten minutes, Berman says training itself takes about 30 minutes; he does not start a new training run in the demonstration.

  1. 1Build a coherent datasetThe 2023 FAQ suggested 8–15 images as a sweet spot and listed 30 as a maximum. Consistent style and framing help define the shared pattern, while variation is learned more loosely.
  2. 2Inspect existing modelsPlatform and community galleries show examples, base models, resolution and generation settings. Berman uses those details to judge what might work in his own images.
  3. 3Configure a custom modelUpload a dataset, choose a resolution and category, and set an instance prompt. In the interface shown, 512 pixels corresponded to Stable Diffusion 1.5 and 768 pixels to 2.1.
  4. 4Allow time for trainingBerman says training takes about 30 minutes and sends an email on completion. His demonstration dataset is not actually submitted for training.
  5. 5Learn from imperfect examplesHe notes duplicates in his Pokémon dataset and varied angles in his self-portrait dataset, then shows results from models he had trained earlier.

ポイント

  1. Leonardo’s FAQ recommended roughly 8–15 images with a consistent theme, while allowing variation across examples.
  2. Berman warns against duplicate training images, a mistake he made in his Pokémon dataset.
  3. In the demonstrated interface, the instance prompt specified during training should also appear in generation prompts.
  4. Platform and community model pages expose example outputs and settings that can inform experiments.
  5. Berman says training takes about 30 minutes and completion is announced by email.
全文

チャプターごとに整えた全文を読む

文字起こしのみ
01

Dataset guidance

Berman introduces Leonardo.ai and reviews its FAQ on image count, consistency, variation and duplicates. He contrasts coherent training examples with a less consistent animal dataset.

After the positive response to my earlier Leonardo.ai video, I want to go deeper into the available models and show how to train your own. At the time of this 2023 demonstration, Leonardo was free with a limit of 200 credits per day; I suspected a paid version might arrive soon.

The FAQ is a useful place to start because it explains what makes a good training set. It also shows examples of generated outputs and mentions a future moving-sprites feature. Rather than just repeat the setup instructions, I want to focus on the quality of the images you supply.

FAQ guidance for dataset size
スライド 1 / 5FAQ guidance for dataset sizeLeonardo’s FAQ presents a suggested range and maximum for training images in the interface shown.

Leonardo recommends a sweet spot of about eight to fifteen images, though I have seen community models with more. The FAQ lists a maximum of 30. The important thing is a common theme or pattern: the examples in its good dataset share a style, camera angle and framing.

Some variation is fine, but the FAQ says features that vary across images are learned more loosely than those that remain consistent. The bad animal dataset mixes different kinds of images and camera distances and includes duplicates. I made the duplicate mistake myself in a Pokémon dataset, which I will show later.

Consistency and variation in a training set
スライド 2 / 5Consistency and variation in a training setThe FAQ contrasts coherent examples with an inconsistent dataset and discusses repeated images.
02

Platform and community models

He explores model galleries and example images. Their metadata includes base model, resolution, guidance scale and step count.

Under fine-tuned models, the platform models are built by the Leonardo team. You can open a model, generate with it, or browse images other people have made. I particularly like Deliberate 1.1 for detailed images. Individual examples also show information such as resolution, guidance scale and step count, so you can see what settings others used.

The model details also identify the Stable Diffusion base. In this interface most examples I saw used version 1.5, with newer version 2 models available too. Community models, meanwhile, are created by users and vary in quality. You can inspect their examples, resolution, category and base model before choosing one to generate with.

03

Creating a custom model

Berman uploads a test dataset and explains the training settings and instance prompt. He describes the training time and checks his existing jobs without starting a new run.

To prepare a custom model, create a dataset and upload or drag in your images. I upload a collection of Marvel character pictures to a test dataset. Once the images finish uploading, the Train Model button opens a form for a name, optional description and training settings.

The interface offers 512 × 512 or 768 × 768 training resolution. At the time, 512 was associated with Stable Diffusion 1.5, which Leonardo recommended, and 768 with version 2.1. I suspect the larger resolution may take longer, but I do not test that here. I leave the smaller option selected and choose the characters category.

Custom model training settings
スライド 3 / 5Custom model training settingsThe training form shows resolution, category and instance prompt settings used in the demonstration.

The instance prompt is especially important: use the phrase you choose here in prompts when generating with the model, or the results may not resemble the training images. My example phrase is “a Marvel character.” The next step would be to start training, but I do not actually train this test dataset. In my experience, training takes about 30 minutes, and Leonardo sends an email when it finishes.

I have already trained several models. My Pokémon dataset accidentally included duplicate images despite the FAQ’s warning. I also trained on photos of myself with different styles and camera angles, and the result does not work particularly well. For another experiment I uploaded work by the Japanese artist Takashi Murakami; I say I do not have rights to that work and am showing it for educational purposes.

The job status tab shows whether training is still in progress or complete. To use a finished model, open image generation and select it from recent models, or choose Select Custom Model if it is not in the dropdown.

04

Generating and browsing results

He selects previously trained models and shows Marvel, self-portrait and Pokémon outputs. He then demonstrates finding and using community models.

I use a prompt created with ChatGPT to generate examples with my Marvel model. My self-portrait model gives me amusing James Bond GoldenEye images that look like retro movie posters. I also use ChatGPT to describe Pokémon, then feed those prompts to the model I trained. Some outputs are highly pixelated; I think that may reflect pixelated images in my training set.

Pokémon model outputs
スライド 4 / 5Pokémon model outputsBerman reviews examples generated with his previously trained model and discusses pixelation.

You can favorite models and browse images created with them; I particularly like a paper-art style model. To try a community model, open Fine-tuned Models, select the Community Models tab, choose one, and click Generate with This Model. The model page also shows its instance prompt. Platform and community models provide alternatives to training your own.

Choosing a community model
スライド 5 / 5Choosing a community modelThe community model interface shows how to select an existing model for generation.

同じチャンネルの記事

スライド 12 枚34:21EN
Matthew Berman· 2026年10月27日Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI Safetyエンタープライズ AI+2
0:26EN
Matthew Berman· 2026年10月25日Sam Altman on Human Values and Problem-Solving in an AI WorldSam Altman · OpenAIIn a short interview excerpt, Altman considers the enjoyment of solving hard problems and the human role in interpreting results.Human-AI CollaborationFuture of WorkAI Strategy
スライド 2 枚0:36EN
Matthew Berman· 2026年10月25日Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.評価(Evals)コーディングエージェントOpen-weight models
スライド 2 枚0:21EN
Matthew Berman· 2026年10月24日An AI-Generated Kimi Benchmark Chart Used Invented ScoresMatthew Berman · Forward FutureMatthew Berman asks for a graph of Kimi K3.1 Pro benchmarks, then discovers that the displayed figures are illustrative placeholders.Benchmarks評価(Evals)Generative media
スライド 6 枚25:50EN
Matthew Berman· 2026年10月24日Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
スライド 2 枚32:20EN
Matthew Berman· 2026年10月23日Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1