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

# インタラクティブなプレイグラウンド

> インタラクティブなプレイグラウンドで Krea API をライブで試せます。認証済みリクエストの送信、レスポンスの確認、すぐに使えるコードのコピーがブラウザ内で完結します。

Krea API のプレイグラウンドはアプリ内に統合されました。Krea アカウントにサインインすると、リクエストを組み立てて実際のエンドポイントに対して実行し、サポートされている任意の言語ですぐに貼り付けられるコードをコピーできます。

<a href="https://www.krea.ai/app/api/playground" target="_blank" rel="noopener noreferrer" className="not-prose group block my-6 rounded-xl border border-gray-200 dark:border-gray-800 bg-white dark:bg-black hover:border-black dark:hover:border-white transition-all duration-200 p-6">
  <div className="flex flex-col md:flex-row md:items-center gap-4">
    <div className="flex-1">
      <h2 className="text-xl font-semibold text-black dark:text-white mb-1">プレイグラウンドを開く →</h2>
      <p className="text-sm text-gray-600 dark:text-gray-400 m-0">krea.ai/app/api/playground — 新しいタブで開きます。</p>
    </div>

    <div className="flex-shrink-0">
      <span className="inline-flex items-center px-4 py-2 rounded-lg bg-black dark:bg-white text-white dark:text-black text-sm font-medium group-hover:opacity-90 transition-opacity">
        起動

        <svg className="ml-1.5 w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M14 5l7 7m0 0l-7 7m7-7H3" />
        </svg>
      </span>
    </div>
  </div>
</a>

## プレイグラウンドでできること

* **任意のモデルを試す** — Krea 2、Flux、Seedream、Veo など、API で公開されているすべてのエンドポイントに対応。
* **ムードボードやアセットを確認** — プレイグラウンドには、リクエストボディにそのまま貼り付けられる ID が表示されます。
* **一度だけ認証する** — アカウントセッションが API トークンを管理するため、資格情報を扱わずに反復作業ができます。
* **コードをコピー** — リクエストをそのまま cURL、Python、Node.js、Go 形式でエクスポートできます。

## 前提条件

本番環境の呼び出しには API トークンが必要です。生成方法は [API Keys & Billing](/developers/api-keys-and-billing) をご覧ください。

## 関連ページ

<CardGroup cols={2}>
  <Card title="コードサンプル" icon="code" href="/developers/examples/text-to-image">
    最も一般的なワークフローに対する、コピー&ペーストできるエンドツーエンドのスクリプト。
  </Card>

  <Card title="Model APIs" icon="book-open" href="/api-reference/introduction">
    すべてのエンドポイントの完全なリクエストおよびレスポンススキーマ。
  </Card>
</CardGroup>
