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

# ​クイックスタート

# [​](#quick-start)クイックスタート

ToAPIsへようこそ。このガイドでは、画像生成、動画生成、テキスト生成をすばやく始める方法を説明します。

## [​](#step-1-get-an-api-key)ステップ1: APIキーを取得

1. [API Key Management](https://toapis.com/console/token) ページを開く
2. アカウントにサインインする
3. 新しいAPIキーを作成する
4. キーは一度だけ表示されるため、安全に保存する

## [​](#step-2-choose-a-model)ステップ2: モデルを選択

### [​](#text-generation-models)テキスト生成モデル

* **GPT-4o**: 強力な対話とテキスト生成
* **Claude**: Anthropicの高性能会話モデル
* **Gemini**: Googleのマルチモーダル大規模言語モデル

### [​](#image-generation-models)画像生成モデル

* **GPT-4o-image**: 高品質な画像生成
* **gpt-image-2**: `reference_images` に対応したOpenAI互換画像生成

### [​](#video-generation-models)動画生成モデル

* **Sora2**: プロ向け動画生成

## [​](#step-3-send-a-request)ステップ3: リクエストを送信

### [​](#text-generation-example)テキスト生成の例

```shiki theme={null}
curl -X POST https://toapis.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {
        "role": "user",
        "content": "Hello, please introduce yourself"
      }
    ]
  }'
```

## [​](#step-4-check-task-status)ステップ4: タスク状態を確認

非同期処理を使用するため、結果を取得するにはタスク状態を問い合わせます。

```shiki theme={null}
curl -X GET https://toapis.com/v1/tasks/YOUR_TASK_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## [​](#whats-next)次のステップ

<CardGroup cols={2}>
  <Card title="APIドキュメントを見る" icon="book" href=".">
    利用可能なAPIエンドポイントを確認します。
  </Card>

  <Card title="Claude Code連携" icon="code" href="./integrations/claude-code">
    開発ワークフローにAPIを統合する方法を確認します。
  </Card>
</CardGroup>
