Skip to main content
Krea AIFastStandard

Krea 2 Medium

A lower-cost variant of Krea 2 Large, trading some fidelity for faster and cheaper generation while keeping the same photorealistic style focus.

70 credits
per image
Cheaper, faster sibling of Krea 2 Large with the same photorealistic style focus
Creativity slider (raw/low/medium/high) controls how far the model deviates from the literal prompt
Style reference images (up to 10) transfer a visual style to the output
Krea moodboard support for reusable style/mood presets
8 aspect ratio presets from 1:1 to 2.35:1 cinematic
Seed control for reproducible generations

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "krea/krea-2-medium",
  "input": {
    "prompt": "A ceramic coffee mug on a wooden table near a window, soft morning light, shallow depth of field",
    "aspect_ratio": "4:3",
    "creativity": "medium"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt describing the image.
aspect_ratiostringNo1:1Aspect ratio of the generated image.
1:14:33:216:92.35:14:52:39:16
creativitystringNomediumHow far the model expands on your prompt. 'raw' renders only what you describe; 'low' fills in obvious gaps; 'medium' adds reasonable interpretation; 'high' takes meaningful creative liberty.
rawlowmediumhigh
style_reference_imagesarrayNo[]Up to 10 reference images whose style should be transferred to the output. Their style is extracted and applied with the strength controlled by `style_reference_strength`.
style_reference_strengthnumberNo0.5How strongly to apply the style of the reference images. 0 means no influence, 1 means the style dominates. Applied to all style reference images.
moodboard_idstringNo-Optional Krea moodboard UUID. Moodboards must first be created in the Krea webapp (https://www.krea.ai/moodboards). Get the UUID from the moodboard share URL: `?share=<uuid>`.
moodboard_strengthnumberNo0.35How strongly the moodboard shapes the output.
seedintegerNo-Random seed. Set for reproducible generation.

How to Provide File Input

There are 3 ways to provide files for the style_reference_images parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=krea/krea-2-medium" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:style_reference_images=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "krea/krea-2-medium",
  "input": {
    "prompt": "your prompt here",
    "style_reference_images": ["https://example.com/image.jpg"]
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Photorealistic product shot

A quick photorealistic draft using the default creativity level and a 4:3 aspect ratio.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "krea/krea-2-medium",
  "input": {
    "prompt": "A ceramic coffee mug on a wooden table near a window, soft morning light, shallow depth of field",
    "aspect_ratio": "4:3",
    "creativity": "medium"
  }
}'

Style-matched variation from a reference image

Transfers the look of a style reference image onto a new scene at moderate strength.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "krea/krea-2-medium",
  "input": {
    "prompt": "A city street at dusk with neon signs reflecting on wet pavement",
    "aspect_ratio": "16:9",
    "style_reference_images": [
      "https://example.com/reference-style.jpg"
    ],
    "style_reference_strength": 0.5
  }
}'

Tips & Best Practices

1Start with creativity=low or medium to keep close prompt adherence; raw is the most literal, high gives the model the most creative freedom
2Use style_reference_images with style_reference_strength around 0.5 as a starting point, then adjust up or down
3If fidelity matters more than cost, compare against Krea 2 Large โ€” this model trades some quality for speed and price
4Set seed when iterating on a specific composition to keep results reproducible

Use Cases

Fast photorealistic concept drafts before committing to a high-fidelity render
Bulk product/lifestyle image generation with consistent style via style reference images
Marketing/social content that needs many quick variations rather than one polished piece
Applying a saved Krea moodboard consistently across a campaign's visuals