> For the complete documentation index, see [llms.txt](https://unsloth.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unsloth.ai/docs/jp/ji-chu/diffusion-image.md).

# Unslothで画像拡散モデルをローカル実行する方法

コードを書かずに、AI画像をローカルで生成・編集できます。Unsloth は以下をサポートしています。 [FLUX.3 Image Klein](https://unsloth.ai/docs/jp/moderu/flux-3.md), [MiniMax-H3-Image](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md), [Qwen-Image-2.1](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md) および [Qwen-Image-2.1-Turbo](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1/qwen-image-2.1-turbo.md)のほか、Z-Image、FLUX.1、SDXL にも対応しています。プロンプトまたは画像から始めて、そのモデルで利用できる生成、編集、参照画像、LoRA の各ワークフローを使用できます。

### 画像の例

以下のガイドで実際に生成された画像を、画像モデルごとにまとめています。各モデルのガイドを開くと、プロンプト、設定、ハードウェアに関する注意事項を確認できます。これらは作例であり、品質を統制条件下で比較したものではありません。

#### FLUX.3 Image Klein

[FLUX.3 Image Klein の実行とファインチューニング →](https://unsloth.ai/docs/jp/moderu/flux-3.md)

<div><figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FAUr9I8myeHeT9jCPPdV3%2Fflux-3-image-klein-out-bison.webp?alt=media" alt="A bison in a misty geothermal landscape at dawn"><figcaption><p>GGUF UD-Q4_K_XL</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fv7aDDYG13wwm4n2gTUCX%2Fflux-3-image-klein-out-cafe.webp?alt=media" alt="A chalkboard sign that reads Unsloth Coffee outside a cafe"><figcaption><p>FP8 リポジトリ、bf16</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FpqnjARNGI1y6IQ7dB6k5%2Fflux-3-image-klein-out-robot.webp?alt=media" alt="A small knitted robot next to a houseplant on a windowsill"><figcaption><p>FP8 リポジトリ、INT8</p></figcaption></figure></div>

#### MiniMax-H3-Image

[MiniMax-H3-Image の実行とファインチューニング →](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md)

<div><figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FdhaLehHOWudDk9TmHJfW%2Fminimax-h3-image-out-valley.webp?alt=media" alt="Misty autumn valley with a wooden footbridge"><figcaption><p>FP8 リポジトリ（INT8）</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FE5iZZZi5oMaVw4Jo3ViS%2Fminimax-h3-image-out-island.webp?alt=media" alt="Isometric floating island city"><figcaption><p>FP8 リポジトリ（INT8）</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FQ8V3wLPL9YacqR4YD5LK%2Fminimax-h3-image-out-ramen.webp?alt=media" alt="Overhead photo of ramen"><figcaption><p>GGUF UD-Q4_K_XL</p></figcaption></figure></div>

#### Qwen-Image-2.1

[Qwen-Image-2.1 の実行とファインチューニング →](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md)

<div><figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F4aoR0eG610P5o96qSn3O%2Fqwen-image-2.1-out-cafe.webp?alt=media" alt="Barista pouring latte art"><figcaption><p>「陽光が差し込むミニマルなカフェで、バリスタがラテアートを注いでいる。朝の光、エディトリアル写真」</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FxjemXJe6MtuxE57IK3bK%2Fqwen-image-2.1-out-astronaut.webp?alt=media" alt="Astronaut on a frozen lake"><figcaption><p>「巨大な環状惑星の下、凍った湖を渡る孤独な宇宙飛行士。青い薄暮、映画のような雰囲気」</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FpVRGxtjLmheo2ahNAmnd%2Fqwen-image-2.1-out-market.webp?alt=media" alt="Watercolor flower market by a canal"><figcaption><p>「アムステルダムの運河沿いにある花市場を描いた水彩画。柔らかな春の色彩」</p></figcaption></figure></div>

#### Qwen-Image-2.1-Turbo

[Qwen-Image-2.1-Turbo を実行 →](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1/qwen-image-2.1-turbo.md)

<div><figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fa5teZGDbqQn7KJGSDa3P%2Fqwen-image-2.1-turbo-out-ramen.webp?alt=media" alt="Neon ramen shop"><figcaption><p>「雨の夜、東京の路地にあるネオンに照らされたラーメン店。濡れた路面に映る光、映画のような写真」（Q4_K_M、13秒）</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FeUgMrARGjaBd9HfVYBNW%2Fqwen-image-2.1-turbo-out-bee.webp?alt=media" alt="Honeybee on a sunflower"><figcaption><p>「ヒマワリにとまるミツバチのマクロ写真。目に見える花粉粒、極めて精細」（Q4_K_M、13秒）</p></figcaption></figure> <figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FOoLevkElFI5ptCbyzKsM%2Fqwen-image-2.1-turbo-out-island.webp?alt=media" alt="Isometric lighthouse island"><figcaption><p>「灯台のある小さな島を描いたアイソメトリックな3Dイラスト。パステルカラー、柔らかな影」（FP8 リポジトリ、7秒）</p></figcaption></figure></div>

動画をお探しですか？ [MiniMax-H3](https://unsloth.ai/docs/jp/moderu/minimax-h3.md) は、動画・音声用の別モデルであり、MiniMax-H3-Image ではありません。動画ページと専用ガイドをご利用ください。LTX も動画モデルです。

画像 LoRA を作成するには、対応するベースモデルを学習させます。 [FLUX.3 Klein Base](https://unsloth.ai/docs/jp/moderu/flux-3.md#train-a-lora), [Qwen-Image-2.1](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md#train-a-lora) または [MiniMax-H3-Image](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md#train-a-lora)。Qwen-Image-2.1 の LoRA は Turbo で実行できますが、Turbo 自体は学習用ベースモデルではありません。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FGg2Q8Jd4doV8TVHuEbdL%2Fflux-3-image-klein-flow.webp?alt=media" alt="Animation: pick FLUX.3 Image Klein (Fast FP8), type a prompt, click Generate and get a lighthouse on a cliff"><figcaption><p>FLUX.3 Image Klein：モデルを選び、プロンプトを入力して生成します。高速再生のデモです。</p></figcaption></figure>

### ⚡ クイックスタート

{% stepper %}
{% step %}

### **インストールまたはアップデート**

デスクトップアプリを使うのが、最も簡単な始め方です。

<a href="https://unsloth.ai/download" class="button primary" data-icon="down-to-bracket">Unsloth Desktop をダウンロード</a>

インストーラーの手順に従ってインストールし、アプリケーションからアプリを起動します。すでにインストール済みの場合は、続行する前に最新版であることを確認してください。

**コマンドライン**

ターミナルを使いますか？お使いのオペレーティングシステムに対応するコマンドを実行してください。同じコマンドで既存のインストールをアップデートできます。

**MacOS、Linux、WSL：**

```bash
curl -fsSL https://unsloth.ai/install.sh | sh
```

**Windows PowerShell：**

```powershell
irm https://unsloth.ai/install.ps1 | iex
```

#### Unsloth を起動

インストールが完了したら、Unsloth を起動します：

```bash
unsloth studio -H 0.0.0.0 -p 8888
```

自動的に開かない場合は、 `http://localhost:8888` を開いてください。
{% endstep %}

{% step %}

### 画像を開く

サイドバーの **画像** を選択します。デフォルトでは、 **作成** ワークフローが開きます。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F8VA0qli15m452CIo2DeL%2Fflux-3-image-klein-images-page.png?alt=media" alt="The Unsloth Images page with the Create workflow open and no model loaded"><figcaption><p>モデルを読み込む前の「画像 → 作成」画面。</p></figcaption></figure>

これで次のステップに進む準備ができました。
{% endstep %}

{% step %}

### モデルを選択する

「画像モデルを選択」を開き、FLUX.3 Image Klein、MiniMax-H3-Image、Qwen-Image-2.1、またはQwen-Image-2.1-Turboを検索します。Kleinは小型の汎用モデルで、Turboは8ステップを使用します。ハードウェアとメモリの要件については、モデルガイドを確認してください。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F7ld8GwJlyKwIf9n0WXy2%2Fflux-3-image-klein-picker-search.png?alt=media" alt="Model picker search results for flux-3-image-klein with the Fast FP8, GGUF and Base entries"><figcaption><p>FLUX.3の検索結果：生成と編集にはKlein、LoRAトレーニングにはKlein Baseを使用します。</p></figcaption></figure>

まずは **おすすめ** タブを確認するとよいでしょう。\
\
GGUFモデルでは、デバイスに最適なサイズにも **推奨**と表示されます。動作が遅くなったり、メモリに収まらなかったりする可能性のあるサイズには、 **厳しい** または **メモリ不足**.
{% endstep %}

{% step %}

### プロンプトを入力する

生成したい画像を説明します。

例えば、

> ゴールデンアワーの海岸の崖に立つ灯台

読み込んだモデルのデフォルト設定をそのまま使用します。Kleinは16ステップ、ガイダンス1、Qwen-Image-2.1は25ステップ、ガイダンス1、Turboは8ステップ、ガイダンス1、MiniMax-H3-Imageは6ステップでCFGを使用しません。これらの設定はモデル間で使い回せません。KleinとMiniMax-H3-Imageでは、別途ダウンロードできるプロンプトエンハンサーも利用できます。
{% endstep %}

{% step %}

### 最初の画像を生成する

「 **生成**」を選択します。初回の生成では、モデルのダウンロードと読み込みに時間がかかる場合があります。

生成結果はギャラリーに表示され、設定の確認やダウンロードができます。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FYBY7Z8KuulG11IHwzyEa%2Fflux-3-image-klein-result.png?alt=media" alt="Finished image of a lighthouse on a rocky coast at sunset, with the enhanced prompt on the left"><figcaption><p>灯台のプロンプトとプロンプトエンハンサーを使用したFLUX.3 Image Kleinの生成結果。</p></figcaption></figure>
{% endstep %}
{% endstepper %}

### ⭐ 機能

利用できるワークフローは、読み込んだモデルによって異なります。サポートされていないワークフローは自動的に非表示になります。

#### 画像の作成と編集

* **作成：** テキストプロンプトから画像を生成します。
* **変換：** 既存の画像を出発点として新しい画像を生成します。
* **インペイント：** 画像の一部を選択して再生成します。
* **拡張：** 元のキャンバスの外側にコンテンツを生成します。
* **アップスケール：** 画像の解像度を上げます。
* **参照：** 1枚以上の参照画像を使って生成結果を調整します。
* **編集：** 画像に加えたい変更を説明します。

指示ベースの編集は、 [FLUX.3 Image Klein](https://unsloth.ai/docs/jp/moderu/flux-3.md#image-editing), [MiniMax-H3-Image](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md#image-editing), [Qwen-Image-2.1](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md#image-editing) および [Turbo](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1/qwen-image-2.1-turbo.md#image-editing)に加え、Qwen-Image-Edit と FLUX.1 Kontext でサポートされています。参照画像の上限と出力サイズについては、各モデルのガイドを確認してください。

#### LoRA と ControlNet

互換性のある LoRA を読み込むと、生成画像にキャラクター、被写体、ビジュアルスタイルを追加できます。LoRA の重みを調整して、結果に与える影響の強さを制御します。

対応モデルでは、ControlNet を使って画像の構造をガイドすることもできます。強度を調整して、結果がガイド画像にどの程度忠実に従うかを制御します。

#### ギャラリー

生成した画像はローカルのギャラリーに保存されます。画像を開くとプロンプトと設定を確認できます。また、 **レシピ** を選択すると生成設定を復元したり、画像をダウンロードしたりできます。

### 対応モデルとワークフロー

| モデル                  | ワークフローと詳細ガイド                                                                                                                                                                     |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| FLUX.3 Image Klein   | [FLUX.3 ガイド](https://unsloth.ai/docs/jp/moderu/flux-3.md): 生成と編集に対応。16 ステップ、ガイダンス 1。Klein Base で LoRA をトレーニングします。                                                                |
| MiniMax-H3-Image     | [MiniMax-H3-Image ガイド](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md): 生成と編集に対応し、最大 16 枚の参照画像を使用できます。6 ステップ、CFG なし、キャンバスは 2048 × 2048 です。大規模モデルのメモリ要件を確認してください。          |
| Qwen-Image-2.1       | [Qwen-Image-2.1 ガイド](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md): 生成と編集に対応し、ネイティブ 2K 解像度で最大 10 枚の参照画像を使用できます。25 ステップ、ガイダンス 1。Qwen の画像 LoRA のトレーニングには、このベースモデルを使用してください。 |
| Qwen-Image-2.1-Turbo | [Turbo ガイド](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1/qwen-image-2.1-turbo.md): 8 ステップ、ガイダンス 1 で生成と編集ができます。メモリ要件はベースモデルと同じで、より小型のモデルではありません。                              |
| その他の画像モデルファミリー       | Z-Image、FLUX.1、FLUX.2 klein、SDXL も引き続き利用できます。変換、インペイント、拡張、アップスケール、ControlNet の対応状況はモデルによって異なります。                                                                                 |

Fast FP8 はモデル選択欄の項目名であり、すべてのコンポーネントが FP8 で動作することを保証するものではありません。Auto は、別の対応精度を選択する場合があります。Qwen と MiniMax-H3-Image は通常 INT8-ConvRot で読み込まれます。対応している場合は、Mac や CPU での使用を含め、GGUF も選択肢のひとつです。ファイルサイズやメモリの推定値を最低要件として扱わず、各ガイドで検証済みの構成を確認してください。

#### 現在の画像ワークフロー

これらのスクリーンショットはモデルごとのガイドから抜粋したものです。モデル間で設定をそのまま使い回すことはできません。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FJDkNG5C6ikli5XD6lIpx%2Fminimax-h3-image-result.png?alt=media" alt="Ginger cat asleep on books in a rainy bookshop window"><figcaption><p>MiniMax-H3-Image の生成画面とギャラリー。メモリ要件についてはガイドを参照してください。</p></figcaption></figure>

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FE4WmS2aVmN1x1uB7Vsi4%2Fqwen-image-2.1-edit.png?alt=media" alt="Edit at 2048 with result"><figcaption><p>2048 解像度での Qwen-Image-2.1 の指示ベース編集。</p></figcaption></figure>

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FStfTvPOPpHeJYXq5d81R%2Fqwen-image-2.1-turbo-result.png?alt=media" alt="Finished boathouse image and gallery"><figcaption><p>8 ステップのスケジュールを使用した、Qwen-Image-2.1-Turbo の生成画面とギャラリー。</p></figcaption></figure>

#### 動画は独立したワークフローです

[MiniMax-H3 動画ガイド](https://unsloth.ai/docs/jp/moderu/minimax-h3.md) では、音声付き動画と動画 LoRA のトレーニングについて説明しています。画像モデル選択欄で MiniMax-H3 を選ぶのではなく、動画ページを開いてください。

<figure><img src="https://735611837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FqCq3GkDxVruGcu5LGHPi%2Fminimax-h3-video-page.png?alt=media" alt="The Unsloth Video page with the Create tab open and no model loaded"><figcaption><p>MiniMax-H3 は画像ワークフローではなく、独立した動画ページで使用します。</p></figcaption></figure>

### 生成設定

デフォルト設定は、よい出発点になります。ただし、最適な結果を得るために設定を調整することもできます。変更を検討する主なパラメーターは次のとおりです。

| 設定             | 変更内容                                             |
| -------------- | ------------------------------------------------ |
| **プロンプト**      | 作成したい画像について説明します。 **編集**では、これが従うべき指示になります。       |
| **アスペクト比と解像度** | 画像の形状とサイズを設定します。大きな画像ほど多くのメモリを使用し、生成にも時間がかかります。  |
| **ステップ数**      | モデルが生成にかける時間を調整します。ステップ数を増やしても、必ず結果が向上するとは限りません。 |
| **ガイダンス**      | プロンプトが結果をどの程度強く誘導するかを設定します。一部のモデルでは、 `0`.        |
| **シード**        | 結果を再現しやすくします。ランダムなシードを使うには、空欄のままにしてください。         |

<details>

<summary>高度な生成設定</summary>

これらの設定は、デバイス上でモデルを実行する方法を変更します。メモリ使用量の削減、パフォーマンスの向上、生成時の問題のトラブルシューティングに調整してください。

| 設定            | 変更内容                                                                           |
| ------------- | ------------------------------------------------------------------------------ |
| **速度**        | コンパイルとパフォーマンス最適化を制御します。コンパイルモードでは、初回の生成に時間がかかることがあります。                         |
| **精度**        | モデルの実行に使う数値形式を変更します。精度を下げると、メモリ使用量を減らせる場合があります。利用できるオプションはモデルとハードウェアによって異なります。 |
| **アテンション**    | 生成時に使用するアテンションの実装を選択します。                                                       |
| **メモリ**       | 生成速度とGPUメモリ使用量のバランスを調整します。メモリの上限に近いモデルでは、 **低VRAM** を試してください。                  |
| **ステップキャッシュ** | 拡散ステップ間で一部の計算を再利用し、生成速度を向上させます。                                                |
| **CPUオフロード**  | モデルの一部をシステムメモリに移動します。GPUメモリの使用量は減りますが、生成速度が低下することがあります。                        |

</details>

### ⚠️ トラブルシューティング

<details>

<summary>画像が表示されない</summary>

最新バージョンに更新してから、アプリを再起動してください。手順については、 [Unslothの更新](https://unsloth.ai/docs/get-started/install/updating) をご覧ください。

</details>

<details>

<summary>モデルをダウンロードまたは読み込めない</summary>

画像モデルにはサイズが大きく、ダウンロードに時間がかかるものがあります。十分な空き容量があり、インターネット接続が安定していることを確認してください。

モデルによっては、ダウンロード前にHugging Faceでライセンスに同意し、Hugging Faceトークンを追加する必要があります。

</details>

<details>

<summary>モデルのメモリが不足する</summary>

より小さいGGUF量子化モデル、または4ビット版のモデルを試してください。GGUFモデルでは、まずサイズに **recommended**.

と記されたものを選んでください。次の方法も試せます。

* 画像の解像度を下げる。
* バッチサイズを `1`.
* GPUを使用している他のアプリケーションを終了する。
* より小さいモデルを選ぶ。

「 **TIGHT** 」と記されたモデルはシステムメモリを使用して、動作が遅くなることがあります。「 **OOM** と記されたモデルは、メモリに収まらない可能性が高いです。

</details>

<details>

<summary>ワークフローが見つからない</summary>

利用できるワークフローは、読み込んだモデルによって異なります。対応していないワークフローは表示されません。

指示に基づいて編集するには、FLUX.3 Image Klein、MiniMax-H3-Image、Qwen-Image-2.1またはTurboを読み込み、［編集］を選択してください。その他のワークフローも、使用するモデルによって異なります。

</details>

### ❓ よくある質問

<details>

<summary>画像生成はローカルで実行されますか？</summary>

はい。モデルをダウンロードすると、画像生成はお使いのデバイス上で実行されます。

</details>

<details>

<summary>「変換」と「編集」の違いは何ですか？</summary>

**変換** では、完成形全体を説明するプロンプトを使って、既存の画像を描き直します。

**編集** 背景の変更やオブジェクトの追加などの指示に従います。対応する編集モデルが必要です。

</details>

<details>

<summary>独自の画像LoRAをトレーニングできますか？</summary>

はい。対応モデルを自分の画像でファインチューニングし、完成したLoRAを次の場所で読み込みます。 **作成**.

以下をご覧ください。 [FLUX.3 Klein Baseのトレーニング](https://unsloth.ai/docs/jp/moderu/flux-3.md#train-a-lora), [Qwen-Image-2.1のトレーニング](https://unsloth.ai/docs/jp/moderu/qwen-image-2.1.md#train-a-lora) または [MiniMax-H3-Imageのトレーニング](https://unsloth.ai/docs/jp/moderu/minimax-h3-image.md#train-a-lora) ハードウェア、データセット、デプロイについては、こちらをご覧ください。対応するNVIDIAおよびAMDの構成はモデルファミリーによって異なります。

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://unsloth.ai/docs/jp/ji-chu/diffusion-image.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
