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

# クイックスタート

> APIサービスを素早く始める

# クイックスタート

APIサービスへようこそ！このガイドでは、画像と動画生成を素早く始める方法を説明します。

## ステップ1：APIキーを取得する

1. [APIキー管理ページ](https://api.elkapi.com/keys)にアクセス
2. アカウントにサインインする
3. 新しいAPIキーを作成する
4. キーを安全に保存する（一度だけ表示されます）

## ステップ2：モデルを選択する

複数のAIモデルから選択できます。

### テキスト生成モデル

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

### 画像生成モデル

* **GPT-Image**: 高品質な画像生成

### 動画生成モデル

* **VEO 3.1**: プロフェッショナルな動画生成

## ステップ3：リクエストを送信する

### テキスト生成の例

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.5",
    "messages": [
      {
        "role": "user",
        "content": "こんにちは、自己紹介をしてください"
      }
    ]
  }'
```

### 画像生成の例

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-1.5",
    "prompt": "A cute panda",
    "size": "1:1",
    "n": 1
  }'
```

### 動画生成の例

```bash theme={null} theme={null}
curl -X POST https://api.elkapi.com/v1/video/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.1-generate-preview",
    "prompt": "Waves crashing against the shore",
    "duration": 4,
    "size": "1280x720"
  }'
```

## ステップ4：タスクのステータスを確認する

非同期処理を使用しているため、タスクのステータスを照会して結果を取得する必要があります。

```bash theme={null} theme={null}
curl -X GET https://api.elkapi.com/v1/video/generations/YOUR_TASK_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## 次のステップ

<Card title="APIドキュメントを見る" icon="book" href="/ja/api-reference/texts/general/chat-completions">
  利用可能なすべてのAPIエンドポイントについて詳しく学ぶ。
</Card>

<Card title="開発ガイド" icon="code" href="/ja/development">
  アプリケーションにAPIを統合する方法を学ぶ。
</Card>
