Examples
Each example shows the style reference on the left and the generated output on the right.

Prompt: a cat jumping sideways


Prompt: a polar bear


Prompt: a cowboy


Prompt: a scene from the live-action Muppets movie featuring a grey cat muppet and his dog friend
How it works
Provide your reference
You can reference an image three ways:
POST the image to /assets and use the returned URL, pass an external URL directly, or provide a data URI.Reference it by URL
Include the image URL or data URI in the
image_style_references array of your krea-2/medium or krea-2/large request.End-to-end example
This example uploads a local file as a style reference and uses it in a Krea 2 Medium generation.The REST examples are asynchronous —
POST /generate/... returns a job_id immediately. The Node.js SDK example uses subscribe(...), which waits for the completed result. See Job lifecycle for the polling pattern, or use a webhook to skip polling entirely.Tuning strength
strength ranges from -2 to 2. A few rules of thumb:
- ~0.3–0.5 — subtle influence; useful when you want the prompt to lead and the reference to add character.
- ~0.6 — balanced starting point for most use cases.
- ~0.8–1.0 — the reference style dominates; useful when the prompt is generic and the visual identity should come from the reference.
- Negative values — push the output away from a reference style.
Combining multiple references
Pass multiple objects inimage_style_references to blend styles. Each reference can have its own strength.
Node.js
1.0 and tune from there.