You're looking at a specific version of this model. Jump to the model overview.
krea /krea-2-medium:fdeccdd3
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| prompt |
string
|
Text prompt describing the image.
|
|
| aspect_ratio |
None
|
1:1
|
Aspect ratio of the generated image.
|
| creativity |
None
|
medium
|
How far the model expands on your prompt. 'raw' renders only what you describe; 'low' fills in obvious gaps; 'medium' adds reasonable interpretation; 'high' takes meaningful creative liberty.
|
| style_reference_images |
array
|
[]
|
Up to 10 reference images whose style should be transferred to the output. Their style is extracted and applied with the strength controlled by `style_reference_strength`.
|
| style_reference_strength |
number
|
0.5
Max: 1 |
How strongly to apply the style of the reference images. 0 means no influence, 1 means the style dominates. Applied to all style reference images.
|
| moodboard_id |
string
|
Optional Krea moodboard UUID. Moodboards must first be created in the Krea webapp (https://www.krea.ai/moodboards). Get the UUID from the moodboard share URL: `?share=<uuid>`.
|
|
| moodboard_strength |
number
|
0.35
Max: 1 |
How strongly the moodboard shapes the output.
|
| seed |
integer
|
Random seed. Set for reproducible generation.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}