All models

Krea 2 Medium Turbo

krea/krea-2-medium-turbo
Krea Image GenerationText to ImageFastIllustrationStyle Transfer

The fastest Krea 2 model, built for low-cost iteration on expressive illustrations, style-driven concepts, and rapid visual exploration. Keeps the Krea 2 style system and expressive visual range but uses a distilled sampling schedule so you can move through ideas much faster. Especially useful for expressive illustration, graphic styles, typography experiments, and quick campaign or concept directions.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "krea/krea-2-medium-turbo",
    "prompt": <string>
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "krea/krea-2-medium-turbo", "prompt": "<string>"}'

Examples

example

Parameters

Input
aspect_ratio string required

Aspect ratio of the generated image.

complexity integer

K2 Complexity slider (-100 to 100). 0 disables the slider LoRA.

creativity string

Prompt expansion mode. `raw` disables expansion; `low`, `medium`, `high` control strength. Does not affect the K2 Intensity, Complexity, or Movement slider LoRAs.

image_style_references array

Reference images to drive the visual style (up to 10).

intensity integer

K2 Intensity slider (-100 to 100). 0 disables the slider LoRA.

moodboards array

Moodboard references (currently limited to one).

movement integer

K2 Movement slider (-100 to 100). 0 disables the slider LoRA.

prompt string required

Text prompt describing the image to generate.

resolution string required

Resolution scale.

seed

Random seed for reproducible generations. Pass null or omit for a random seed.

styles array

Styles (typically LoRAs) to apply to the generation.

Output
image: presigned URL to the generated image