Creating API Keys
To create an API key:- Navigate to krea.ai/settings/api-tokens
- Make sure you’re in the correct workspace (using the workspace toggle on the top left)
- Click “New Token”
- Give your token a descriptive name
- Save the token securely—you’ll only see it once!
Using API Keys
Include your token in theAuthorization header of all requests:
Billing
API usage consumes your workspace’s compute units—the same pool used by the Krea web app.- View your usage in the Usage Statistics page
- For more details on compute units and purchasing, see the Compute Units Guide
Failed and cancelled jobs do not consume compute units. You’re only billed for completed jobs.
Compute Costs
Different models consume different amounts of compute units: Image Models:| Model | Compute Units | Estimated Time |
|---|---|---|
| Flux | ~5 | ~4 seconds |
| Seedream 4 | ~24 | ~20 seconds |
| ChatGPT Image | ~183 | ~60 seconds |
| Model | Compute Units | Estimated Time |
|---|---|---|
| Veo 3 | ~1017 | ~5 minutes |
| Wan 2.5 | ~569 | ~3 minutes |