v12

OpenAPI 3.1.02026-08-031000506.8 KB
Image Enhance

Krea Legacy

Krea's generative legacy enhancer. Max 4K.

post/generate/enhance/krea/legacy-enhance

Headers

X-Webhook-URLstring uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results.

Request body

promptstring

Text prompt describing the desired result.

image_urlstring uri required

Can be an external URL, base64 data URI, or uploaded asset URL.

image_scaling_factornumber

Factor to scale the image resolution by (e.g. 2 means 2x; use 1 to skip upscaling).

rescale_colorboolean

Match the original image color palette.

upscaling_activatedboolean

Whether to upscale the image.

ai_strengthnumber

AI strength — how much new detail the model generates. Higher values enhance more aggressively.

clarity_strengthnumber

Clarity — how strongly the result follows the prompt.

resemblance_strengthnumber

Resemblance — how faithfully the result preserves the original image structure.

scene_transferboolean

Scene Transfer — relight the image using a reference scene.

scene_image_urlstring

Reference scene image URL. Required when scene_transfer is true.

scene_promptstring

Prompt describing the target scene and lighting.

scene_strengthnumber

Scene Transfer strength.

switch_backgroundboolean

Replace the background with the reference scene.

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.

job_idstring uuid required
status'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled' required
created_atstring date-time required
{"stackTrail":"paths:/generate/enhance/krea/legacy-enhance:post:responses:200:content:application/json:schema:properties:completed_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/generate/enhance/krea/legacy-enhance:post:responses:200:content:application/json:schema:properties:result","oasType":"schema","type":"unknown"}