Skip to main content

Image model

Krea 2 Medium

krea/krea-2-medium

krea/krea-2-medium is an image generation model from Krea you can call on the OceanToken API; it supports image input.

Price card, similar models and questions answered: Krea 2 Medium on oceantoken.ai.

At a glance

Model IDkrea/krea-2-medium
TypeImage
PublisherKrea
PriceOn oceantoken.ai
Endpoint/v1/images/generations, /v1/images/edits
API shapeOpenAI-compatible
In the catalog since2026-07-20

API

POST /v1/images/generations (also /v1/images/edits). Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.

Download this spec (JSON) · llms.txt for AI assistants

Basic

curl https://api.oceantoken.ai/v1/images/generations \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "krea/krea-2-medium",
"prompt": "A lighthouse at dawn, watercolor",
"size": "1:1"
}'

Request parameters

Only what this model takes. Anything else in the request is left out before it reaches the model.

ParameterTypeDescription
model
required
stringThis model's ID.
prompt
required
stringWhat to draw.
sizestring
1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 3:4, 2:3, 9:16
Aspect ratio. Width x height such as 1024x1024 is accepted too and mapped to its ratio.
qualitystring
1K
Resolution tier; low, medium and high are accepted as 1K, 2K and 4K.
seedintegerSame seed and prompt give the same image.
imagesarray
up to 1 items
Up to 1 reference image to start from or draw on, each a public https:// URL or a data URL. The request is then an edit.

Response

FieldTypeDescription
createdintegerUnix time.
data[].urlstringThe image. Download it within 24 hours.
Example response
{
"created": 1792000000,
"data": [
{
"url": "https://..."
}
]
}

More examples and how errors and billing work: Images.

Compared with similar models

Image models on OceanToken in the same price range as krea/krea-2-medium. Compare their prices on oceantoken.ai.

ModelPublisherContext
Krea 2 Medium
krea/krea-2-medium
Krea—
Seedream 4.5
bytedance-seed/seedream-4.5
ByteDance Seed—
Seedream 5.0 Lite
bytedance-seed/seedream-5-0-lite
ByteDance Seed—
Seedream 5.5
bytedance-seed/seedream-5-5
ByteDance Seed—

More from Krea

All Krea models on OceanToken

Use it

Create an account Price on oceantoken.ai

The facts on this page were read from the live OceanToken catalog on 2026-12-02 (UTC), when the documentation was built. Prices are published on oceantoken.ai.