Krea 2 Large
Text-to-Image • kreaMore than 2x the size of Medium, with softer post-training. Outputs are rawer, more textured, and more flexible — at its best, Large produces results Medium can't match. Strongest on photorealism, raw looks (motion blur, grain, low dynamic range), and expressive and artistic styles.
| Model Info | |
|---|---|
| Terms and License | link ↗ |
| More information | link ↗ |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run( 'krea/krea-2-large', { prompt: 'a cinematic glass cabin beside a frozen lake at sunrise', aspect_ratio: '16:9', resolution: '1K', },)console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \ --header "Content-Type: application/json" \ --data '{ "model": "krea/krea-2-large", "input": { "prompt": "a cinematic glass cabin beside a frozen lake at sunrise", "aspect_ratio": "16:9", "resolution": "1K" }}'
{ "state": "Completed", "result": { "image": "https://examples.aig.cloudflare.com/krea/krea-2-large/default.png" }, "gatewayMetadata": { "keySource": "Unified" }}Parameters
stringrequiredText prompt describing the image to generate.stringrequiredenum: 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16Aspect ratio of the generated image.stringrequiredenum: 1KResolution scale.number | nullRandom seed for reproducible generations. Pass null or omit for a random seed.arrayStyles (typically LoRAs) to apply to the generation.arraymaxItems: 10Reference images to drive the visual style (up to 10).stringdefault: lowenum: raw, low, medium, highPrompt expansion mode. `raw` disables expansion; `low`, `medium`, `high` control strength. Does not affect the K2 Intensity, Complexity, or Movement slider LoRAs.integerdefault: 0minimum: -100maximum: 100K2 Intensity slider (-100 to 100). 0 disables the slider LoRA.integerdefault: 0minimum: -100maximum: 100K2 Complexity slider (-100 to 100). 0 disables the slider LoRA.integerdefault: 0minimum: -100maximum: 100K2 Movement slider (-100 to 100). 0 disables the slider LoRA.arraymaxItems: 1Moodboard references (currently limited to one).stringformat: uriPresigned URL for the generated image.