Skip to main content

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.

Krea 2 is our first foundation image model, trained completely from scratch to give you full control over the look, feel, and creative direction of every image you generate. What sets it apart:
  • Aesthetic diversity — Krea 2 can generate a wide range of styles, with particular strength in artistic and expressive directions other models tend to flatten.
  • Style transfer — the most advanced style transfer system available. Extract the style of one or many reference images and apply it to your outputs with precision.
  • Tunable creativitycreativity is an actual parameter you can adjust. At high values, the model adds aesthetic depth, interpretation, and visual richness to whatever you give it.
  • Moodboards — pass in an entire moodboard of dozens of images and Krea 2 will understand the overall creative direction, producing outputs that align with it.
Explore the gallery
Hundreds of Krea 2 outputs with their prompts.

Choose a variant

The Krea 2 API ships in two variants. Both support the same parameters and feature set — the differences come down to model size, training stage, and the character of the outputs they produce.

Krea 2 Medium

Smaller, faster, more cost-efficient. Extensive post-training makes outputs especially stable and consistent across generations.Strongest on: illustration, anime, painting, and other expressive or artistic styles.

Krea 2 Large

More than 2× the size of Medium, with softer post-training. Outputs are rawer, more textured, and more flexible — at its best, Large produces results Medium can’t match.Strongest on: photorealism, raw looks (motion blur, grain, low dynamic range), expressive and artistic styles.
Not sure which to start with? Try Krea 2 Medium — it’s faster, cheaper, and handles the broadest range of use cases reliably.

Pricing

VariantText-to-imageWith style referencesWith moodboards
Medium$0.030$0.035$0.040
Large$0.060$0.065$0.070
Combining moodboards with style references does not increase the price per generation — you pay the moodboard rate ($0.040 Medium / $0.070 Large).

Quickstart

Submit a generation request and poll for the result. All requests require a Bearer token — see API Keys & Billing if you don’t have one yet.
curl -X POST https://api.krea.ai/generate/image/krea/krea-2/medium \
  -H "Authorization: Bearer $KREA_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cinematic product photo of a glass lamp on a marble table",
    "aspect_ratio": "4:5",
    "resolution": "1K",
    "creativity": "medium"
  }'

# Then poll the returned job_id
curl https://api.krea.ai/jobs/<job_id> \
  -H "Authorization: Bearer $KREA_API_TOKEN"
Krea 2 Large generations can take longer to complete. For production workloads, prefer the X-Webhook-URL header over polling so you don’t burn requests waiting on a result.

Parameters

Both krea-2/medium and krea-2/large accept the same request body.
FieldTypeNotes
promptstringRequired. Text prompt describing the image.
aspect_ratiostringOne of 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16.
resolutionstringCurrently only 1K is supported.
seednumberOptional. Use the same seed + prompt to reproduce a generation.
creativityenumraw, low, medium (default), high. See below.
image_style_referencesarrayOptional. See Style transfer.
moodboardsarrayOptional. See Moodboards. Max 1 moodboard per request.
stylesarrayComing soon Optional trained styles (LoRAs).

Creativity

creativity controls how far the model expands on what you wrote. When your prompt is short or vague, the model fills in missing pieces — style, composition, camera angle, color palette — and creativity decides how much liberty it takes.
The model renders only what you’ve explicitly described. Best for tightly art-directed prompts where every detail is already specified.
Minimal expansion. The model stays close to the literal prompt but fills in obvious gaps.
Default behavior. The model adds reasonable interpretation without straying far from the prompt’s intent.
Strong expansion. The model takes meaningful creative liberty with style, mood, and aesthetics — best for short or open-ended prompts where you want the model to surprise you.

Feature deep-dives

Style transfer

Extract the style of one or many reference images and apply it to your outputs with tunable strength.

Moodboards

Reference a Krea moodboard to set the overall visual direction — palette, texture, mood, and composition.

API reference