Krea 2 Medium
Changed onBest for expressive illustrations.
Request
- Base URLhttps://api.krea.ai
- AuthHTTP bearer
Headers
URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.
Enable Zero Data Retention for this request. Refer to the documentation.
Request body
Styles (typically LoRAs) to use for the generation
Image style references. (0 = no style influence, 1 = maximum). Default 0.5.
Aspect ratio. One of: 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 3:4, 2:3, 9:16.
Resolution scale. One of: 1K.
Prompt expansion mode. raw disables prompt expansion; low, medium, and high control expansion strength. This does not affect the K2 Intensity, Complexity, or Movement slider LoRAs.
K2 Intensity slider value from -100 to 100. Use 0 for neutral/no slider LoRA.
K2 Complexity slider value from -100 to 100. Use 0 for neutral/no slider LoRA.
K2 Movement slider value from -100 to 100. Use 0 for neutral/no slider LoRA.
Moodboards to use for generation. Currently limited to one moodboard.
Can be an external URL, base64 data URI, or uploaded asset URL.
Denoising strength when image_url is provided. 0 keeps the input image, 1 fully replaces it (the input image is ignored). Has no effect without image_url. Default 0.99.
Response
The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.
Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.
Changes
- warning
added the new
finalizingenum value to thestatusresponse property for the response status
- warning
- info
added the optional property
export_progressto the response with the status
- info