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.
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",
"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", "prompt": "<string>"}'Examples

Parameters
Aspect ratio of the generated image.
K2 Complexity slider (-100 to 100). 0 disables the slider LoRA.
Prompt expansion mode. `raw` disables expansion; `low`, `medium`, `high` control strength. Does not affect the K2 Intensity, Complexity, or Movement slider LoRAs.
Reference images to drive the visual style (up to 10).
K2 Intensity slider (-100 to 100). 0 disables the slider LoRA.
Moodboard references (currently limited to one).
K2 Movement slider (-100 to 100). 0 disables the slider LoRA.
Text prompt describing the image to generate.
Resolution scale.
Random seed for reproducible generations. Pass null or omit for a random seed.
Styles (typically LoRAs) to apply to the generation.