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

# Interactive Playground

> Try the Krea API live — make requests, inspect responses, and copy code without leaving your browser.

The Krea API playground now lives in the app. Sign in to your Krea account and you can construct requests, run them against real endpoints, and copy ready-to-paste code in any supported language.

<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">Open the playground →</h2>
      <p className="text-sm text-gray-600 dark:text-gray-400 m-0">krea.ai/app/api/playground — opens in a new tab.</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">
        Launch

        <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>

## What you can do there

* **Try any model** — Krea 2, Flux, Seedream, Veo, and every other endpoint exposed via the API.
* **See your moodboards and assets** — the playground lists IDs you can drop straight into a request body.
* **Authenticate once** — your account session handles the API token so you can iterate without juggling credentials.
* **Copy code** — export the exact request as cURL, Python, Node.js, or Go.

## Prerequisites

You'll still need an API token for production calls. See [API Keys & Billing](/developers/api-keys-and-billing) to generate one.

## See also

<CardGroup cols={2}>
  <Card title="Code examples" icon="code" href="/developers/examples/text-to-image">
    Copy-pasteable end-to-end scripts for the most common workflows.
  </Card>

  <Card title="Model APIs" icon="book-open" href="/api-reference/introduction">
    Full request and response schemas for every endpoint.
  </Card>
</CardGroup>
