> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixroute.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dify

> Difyプラットフォーム連携ガイド

## はじめに

Difyは、視覚的にAIアプリケーションを構築できるプラットフォームです。**MixRoute API**を使用すると、Difyで費用対効果の高いLLMサービスを利用できます。

## 連携手順

### ステップ1: APIアカウントを準備する

[https://api.mixroute.ai/](https://api.mixroute.ai/)で登録し、[クイックスタート](/ja/quickstart)を確認してください。

### ステップ2: Difyのモデルプロバイダー設定を開く

1. Difyプラットフォームを開き、設定に移動します
2. 左側のメニューで「モデルプロバイダー」を選択します

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-1.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=b0ca81e0c52f8b18aa25d4bc02ad6bb8" alt="Dify 英語版 1" width="3118" height="1732" data-path="images/dify-en-1.png" />
</Frame>

### ステップ3: 互換プラグインをインストールする

1. 「OpenAI-API-compatible」プラグインを探してください
2. 「インストール」をクリックします

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-2-1.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=7db6ad3e8803e8c36ef9db7e2503d818" alt="Dify 英語版2 1" width="3120" height="1735" data-path="images/dify-en-2-1.png" />
</Frame>

### ステップ4：パラメーターの設定

「モデルを追加」をクリックして設定します。

| 設定 | 値 |
| - | - |
| APIキー | Mixroute APIコンソールから取得 |
| モデル名 | 例: `gpt-5.5`、`gemini-3.5-flash` |
| APIエンドポイント | `https://api.mixroute.ai/v1` |

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-get-key.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=29517f723398ca9647ac5e16e57e1481" alt="Dify 英語版のキー取得" width="2281" height="883" data-path="images/dify-en-get-key.png" />
</Frame>

<Warning>
  「モデル名」と「APIエンドポイントのモデル名」のフィールドが一致していることを確認してください。
</Warning>

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-model-2.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=5cde19213993256860e5596e08bf8582" alt="Dify 英語版 モデル 2" width="962" height="448" data-path="images/dify-en-model-2.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-4-1.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=0500850febee2e43494350a56a30cae8" alt="Dify 英語版 4 1" width="1431" height="570" data-path="images/dify-en-4-1.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-5-1.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=4bc580c83a53d021f908773dbf23ec83" alt="Dify英語版5 1" width="1429" height="1377" data-path="images/dify-en-5-1.png" />
</Frame>

### ステップ5: 設定を保存する

「保存」をクリックして設定を完了します。

### ステップ6: 連携をテストする

1. 新しいワークフローまたはチャットボットを作成します
2. 先ほど設定したモデルを選択します
3. テストを実行し、すべて正常に動作することを確認します

<img src="https://mintcdn.com/personal-a5418d9f/iZ6FhpT4JV2kTLlz/images/dify-en-6.png?fit=max&auto=format&n=iZ6FhpT4JV2kTLlz&q=85&s=67e53b7bcb392684d867ad6b02282cee" alt="Dify 英語版 6" width="1598" height="1493" data-path="images/dify-en-6.png" />

## 利点

<CardGroup cols={2}>
  <Card title="優れた費用対効果" icon="coins">
    競争力のある料金
  </Card>

  <Card title="安定した性能" icon="gauge">
    同じ応答品質
  </Card>

  <Card title="簡単な連携" icon="plug">
    簡単なプラグイン設定
  </Card>

  <Card title="全機能" icon="check">
    チャット、埋め込み、音声文字起こし
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.