We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
Krea: Krea 2 Medium
krea/krea-2-mediumTry Krea: Krea 2 Medium now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
Krea: Krea 2 Medium at a glance
- Context window of 65,536 tokens, enough for long documents and multi-turn conversations.
About Krea: Krea 2 Medium
Krea: Krea 2 Medium is an image generation model from Krea. It sits in the image category and is described by its provider as a balanced, cost-efficient option and a practical starting point for a broad range of use cases. If you are choosing an image model for a new project, this one is positioned as a general-purpose default rather than a specialist tool.
The model accepts text and image inputs and produces image output. Its context window is 65,536 tokens, with a maximum output of 58,982 tokens. Generation is controlled through image parameters rather than the usual sampling controls: resolution is an enum with a single value, 1K, and aspect ratio is an enum covering 1:1, 4:3, 3:2, 16:9, 4:5, 2:3 and 9:16. You can supply between zero and one input references, and a seed is available as a boolean option. The provider notes that extensive post-training supports stable, consistent generations.
Those capabilities point to a fairly wide set of practical uses. Text to image work covers the obvious cases: concept art, marketing and social visuals, illustrations, and rapid exploration of visual ideas. Because the model also takes image input with up to one reference, it suits reference-guided generation, where you want an output that follows the style, subject or composition of a supplied image. The fixed 1K resolution and the range of aspect ratios make it straightforward to target common formats, from square posts to wide 16:9 frames and vertical 9:16 stories, without extra resizing steps. The seed option helps when you need to reproduce or iterate on a particular result.
You call it through api14's OpenAI-compatible API using the model id "krea/krea-2-medium". Because the endpoint follows the OpenAI format, you can point existing OpenAI client libraries at api14 and change the model id rather than rewriting your integration. Note that the model lists no supported parameters in the usual sense; the controls it exposes are the image parameters described above, namely resolution, aspect ratio, input references and seed. Plan your request construction around those fields.
It is worth checking whether this model fits before committing. Resolution is limited to 1K, so work that needs higher native output would require upscaling or a different model. Input references are capped at one, so tasks that depend on combining several reference images are not a good match. If your workload is text generation rather than image generation, this model is not the right choice at all, since its only output modality is images.
How to call the Krea: Krea 2 Medium API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "krea/krea-2-medium".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.images.generate({
"model": "krea/krea-2-medium",
"prompt": "A minimalist product photo of a ceramic mug on a wooden table",
"n": 1,
"aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));
Specifications
- Context length
- 65,536
- Max output
- 58,982
- Input
- text, image
- Output
- image
Requests on api14 · last 7 days
Krea: Krea 2 Medium: frequently asked questions
- How much does the Krea: Krea 2 Medium API cost?
- Krea: Krea 2 Medium costs Image input $25.15 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
- What is the context window of Krea: Krea 2 Medium?
- Krea: Krea 2 Medium reads up to 65,536 tokens per request: prompt, history and documents together. It writes up to 58,982 output tokens per response.
- What can Krea: Krea 2 Medium do?
- Krea: Krea 2 Medium accepts text, image and returns image.
- How do I call Krea: Krea 2 Medium from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "krea/krea-2-medium". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Krea: Krea 2 Medium?
- Comparable Image models at a similar price: Krea: K3 Edit, Google: Nano Banana Pro (Gemini 3 Pro Image), Google: Nano Banana Pro (Gemini 3 Pro Image Preview). Each runs through the same API key, so switching is one string.
Krea: Krea 2 Medium community
New topicThis community has no topics yet. Open the first one about Krea: Krea 2 Medium.