Skip to main content

Code Examples

See code examples for common use cases.

Interactive Playground

Learn authentication, make your first request, and understand the basics.

Model APIs

Complete endpoint documentation with parameters, schemas, and examples.

API Keys & Billing

Create and manage API keys for your workspace.

Prerequisites

Generate an API TokenNavigate to your krea.ai/settings/api-tokens. Make sure you are in the correct team workspace. Then, navigate to the API Tokens section and generate a new API token. If you need more help, follow the instructions on the API Keys & Billing page.
Here are some popular models you can use with the Krea API. You can generate an image in our interactive playground, find more examples in the Code Examples page, or find all available models in the Model APIs page.

Image Generation

Video Generation

More Models

For a list of all available models, see the Model APIs page.