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

# DeepSeek Flash

> DeepSeek Flash | テキスト生成

テキスト生成 · `deepseek-flash`

ルートを指定するには、MixRoute のモデル ID をそのまま使います。

`POST /v1/chat/completions`

API キーのグループで利用できるモデルは [MixRoute モデルマーケットプレイス](https://console.mixroute.ai/models) を確認してください。カタログに掲載されていても、ルートが有効とは限りません。

## リクエスト例

実行前に `MIXROUTE_API_KEY` を設定します。

```bash theme={null}
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/chat/completions' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "deepseek-flash",
  "messages": [
    {
      "role": "user",
      "content": "Reply with OK only."
    }
  ],
  "max_tokens": 64
}'
```

`choices[0].message.content` からテキストを取得します。

## パラメーター

| フィールド | 説明 |
| - | - |
| `model` | `deepseek-flash`. 上記の完全なモデル ID を指定します。 |
| `messages` | 例の入力会話。 |

## API リファレンス

* [Chat Completions](https://mixroute.ai/docs/ja/api-reference/endpoint/chat-openai.md)


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