Image model API

Krea 2 Medium API

krea/krea-2-medium is a fast and efficient AI image generation model built for creators who need high-quality visuals with strong artistic expression and reliable prompt adherence. As the balanced variant of the Krea 2 family, it delivers an excellent combination of speed, consistency, and visual quality, making it ideal for rapid creative iteration, concept exploration, and production-ready image generation

Model id
krea-2-medium
Takes
Text (required)
Makes
Image
Endpoint
POST /api/v1/images/generations
Made by
Krea
Mode
Synchronous

Call Krea 2 Medium

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model krea-2-medium

POST /api/v1/images/generations

curl https://payload.rentprompts.com/api/v1/images/generations \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "krea-2-medium",
  "prompt": "A lighthouse at dusk, watercolor",
  "n": 1
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Krea 2 Medium's published price (3.7 J / image). You pay only for successful results, from your Joule balance.
  • 1 image3.7 Joules
  • 4 images14.8 Joules

Send requests to POST /api/v1/images/generations. Krea 2 Medium answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
aspect_ratioselect——
Krea 2 Medium API — Pricing & Code Examples | RentPrompts