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

# 交互式 Playground

> 在应用内的 Krea API playground 中登录账户，即可构造请求、针对真实端点运行调用、查看响应，并复制任意受支持语言的即用代码。

Krea API playground 现在集成在应用内。登录你的 Krea 账户后，你可以构造请求、针对真实端点运行请求，并在任意受支持的语言中复制即用型代码。

## [打开 playground →](https://www.krea.ai/app/api/playground)

krea.ai/app/api/playground — 在新标签页中打开。

启动

## 你可以在其中做什么

* **试用任意模型** — [Krea 3](https://www.krea.ai/docs/developers/krea-3/overview.md)、Krea 2、Flux、Seedream、Veo 以及工作区可用的所有其他端点。
* **查看你的 moodboards 和资产** — playground 会列出可以直接放入请求体的 ID。
* **一次认证** — 你的账户会话会自动处理 API token，让你无需切换凭证即可迭代。
* **复制代码** — 将请求原样导出为 cURL、Python、Node.js 或 Go 代码。

## 前置条件

生产环境调用仍然需要 API token。参见 [API Keys & Billing](https://www.krea.ai/docs/developers/api-keys-and-billing.md) 生成一个。

## 参见

> [card] [代码示例](https://www.krea.ai/docs/developers/examples/text-to-image.md)
>
> 针对最常见工作流，可直接复制粘贴的端到端脚本。

> [card] [Model APIs](https://www.krea.ai/docs/api-reference/introduction.md)
>
> 每个端点的完整请求和响应 schema。


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