---
title: Krea v2 image generation
---
# Krea v2 image generation
Krea v2 is Krea's text-to-image family, hosted through FAL. The orchestrator exposes both tiers — **medium** for fast everyday generation and **large** for higher-quality hero shots — under a single `engine: "fal"`, `model: "krea2"` entry, with a `size` field selecting the tier.
**Default choice**: `size: "medium"`. Step up to `size: "large"` when quality matters more than throughput or cost.
## Prerequisites
- For `imageStyleReferences`: one or more publicly-accessible image URLs
## Tiers
| `size` | FAL endpoint | Best for |
|--------|--------------|----------|
| `medium` (default) | `krea/v2/medium/text-to-image` | Fast iteration, lower cost |
| `large` | `krea/v2/large/text-to-image` | Higher-fidelity output for hero shots |
Both tiers accept exactly the same input shape.
## Text-to-image — medium
```http
POST https://orchestration.civitai.com/v2/consumer/workflows?wait=60
Authorization: Bearer
Content-Type: application/json
{
"steps": [{
"$type": "imageGen",
"input": {
"engine": "fal",
"model": "krea2",
"operation": "createImage",
"size": "medium",
"prompt": "A photorealistic portrait of a woman with flowers in her hair, golden hour lighting",
"aspectRatio": "1:1",
"creativity": "medium"
}
}]
}
```
### Parameters
| Field | Default | Range | Notes |
|-------|---------|-------|-------|
| `prompt` | — ✅ | 1–5000 chars | Natural-language prompts work well. |
| `size` | `"medium"` | `"medium"` / `"large"` | Picks the FAL tier and pricing. |
| `aspectRatio` | `"1:1"` | `1:1` / `4:3` / `3:2` / `16:9` / `2.35:1` / `4:5` / `2:3` / `9:16` | Krea returns a fixed-resolution image per ratio — no width/height. |
| `creativity` | `"medium"` | `raw` / `low` / `medium` / `high` | Higher creativity gives Krea more interpretive license; `raw` follows the prompt most literally. |
| `quantity` | `1` | `1`–`10` | Krea has no native batch — quantities > 1 fan out to parallel FAL calls. |
| `seed` | random | uint32 | Pin for reproducibility. The same seed is used for every image in a `quantity` batch (matches the FAL-Qwen2 path). |
| `imageStyleReferences` | `[]` | up to 10 items | See [Style references](#style-references) below. Triggers a small price premium. |
Krea v2 does **not** accept LoRAs, negative prompts, or explicit width/height — use the [Flux 2](./flux2) or [Qwen](./qwen) recipes if you need any of those.
## Text-to-image — large
Swap `size` to `"large"` for the higher-quality tier. The input shape is identical:
```json
{
"steps": [{
"$type": "imageGen",
"input": {
"engine": "fal",
"model": "krea2",
"operation": "createImage",
"size": "large",
"prompt": "An epic fantasy battle scene with dragons, cinematic lighting, intricate details",
"aspectRatio": "16:9",
"creativity": "high"
}
}]
}
```
## Style references
Pass up to **10** reference images to nudge Krea toward a specific visual style. Each entry needs an `imageUrl` (publicly fetchable) and an optional `strength` from `-2.0` to `2.0` (default `1.0`). Negative strengths *repel* from the reference style — useful for stylistic exclusion.
```json
{
"steps": [{
"$type": "imageGen",
"input": {
"engine": "fal",
"model": "krea2",
"operation": "createImage",
"size": "medium",
"prompt": "A serene mountain landscape with the same artistic style",
"aspectRatio": "3:2",
"creativity": "medium",
"imageStyleReferences": [
{ "imageUrl": "https://image.civitai.com/.../reference.jpeg", "strength": 1.0 }
]
}
}]
}
```
Style references trigger a small price premium — see [Cost](#cost).
## Reading the result
Standard `imageGen` output: an `images[]` array, one entry per `quantity` ([shape and URL expiry](/orchestration/recipes/#reading-results)).
## Runtime
| Tier | Typical wall time per image | `wait` recommendation |
|------|----------------------------|-----------------------|
| `medium` | 5–15 s | `wait=60` is comfortable for `quantity: 1` |
| `large` | 15–40 s | `wait=60` usually fine; fall back to `wait=0` on busy periods |
Large `quantity` can outlast your HTTP client's timeout — submit with `wait=0` and poll.
## Cost
Preview the exact charge with `whatif=true` ([Payments (Buzz)](/orchestration/guide/submitting-work#payments-buzz)).
| Tier | Without style refs | With `imageStyleReferences` |
|------|--------------------|----------------------------|
| `medium` | **39 Buzz / image** | **45.5 Buzz / image** |
| `large` | **78 Buzz / image** | **84.5 Buzz / image** |
Total = `base × quantity`. Style references add a flat 6.5 Buzz / image regardless of how many references are attached.
## Troubleshooting
Timeouts, moderation blocks and expired blob URLs: see [Common troubleshooting](/orchestration/recipes/#common-troubleshooting).
| Symptom | Likely cause | Fix |
|---------|--------------|-----|
| `400` with "size must be one of" | Typo in `size` | Lowercase `"medium"` or `"large"` — no other values are accepted. |
| `400` with "aspectRatio must be one of" | Invalid aspect ratio | Pick one of the listed ratios — Krea doesn't accept width/height. |
| `400` with "creativity must be one of" | Invalid creativity level | Use `raw`, `low`, `medium`, or `high` — case-sensitive. |
| `400` with "imageStyleReferences maxItems" | More than 10 references | Trim the array to ≤ 10. |
| `400` with "strength out of range" | `strength` outside `[-2, 2]` | Krea clamps to `[-2.0, 2.0]`; default `1.0` is a safe baseline. |
| Style reference fetch fails | URL is private or expired | Krea fetches each `imageUrl` server-side from FAL — make sure it's publicly reachable. |
| Output ignores the prompt | `creativity` too high | Drop to `low` or `raw` for stricter prompt adherence. |
## Related
- [`SubmitWorkflow`](/orchestration/reference/operations/SubmitWorkflow) · [`GetWorkflow`](/orchestration/reference/operations/GetWorkflow)
- [Flux 2](./flux2) / [Flux 1](./flux1) image generation — alternative open-weights families with LoRA support
- [Qwen](./qwen) image generation — when you need editing or LoRAs
- [MAI Image 2.5](./mai-image) image generation — sibling FAL-hosted text-to-image (no editing, seeds, or style refs)
- [Image upscaling](./image-upscaler) — chain after `imageGen` for higher-res output
- [Prompt enhancement](./prompt-enhancement) — LLM-rewrite a prompt before feeding it in via `$ref`
- Full parameter catalog: `Krea2CreateFalImageGenInput` in the [API reference](/orchestration/reference/)
- [`imageGen` OpenAPI spec](https://orchestration.civitai.com/v2/consumer/recipes/imageGen/openapi.yaml)