Skip to main content
POST
/
generate
/
enhance
/
krea
/
enhance
Krea Enhance
curl --request POST \
  --url https://api.krea.ai/generate/enhance/krea/enhance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_url": "https://gen.krea.ai/images/0424f602-2999-4d0c-a46e-39cbf0ef384b.png"
}
'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "completed_at": null,
  "result": null,
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}
These aliases are accepted for compatibility only and are not shown in the request schema.
DeprecatedUse insteadAccepted until
imageUrlimage_url2026-06-19

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Webhook-URL
string<uri>

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

Body

application/json
image_url
string<uri>
required

URL of the image to enhance.

Maximum string length: 1024
prompt
string
default:""

Text prompt describing the desired result.

image_scaling_factor
number
default:2

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

Required range: x >= 0.1
rescale_color
boolean
default:false

Match the original image color palette.

seed
number

Seed for reproducible results.

ai_strength
number
default:0.4

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

Required range: 0.1 <= x <= 1
clarity_strength
number
default:4

Clarity — how strongly the result follows the prompt.

Required range: 1 <= x <= 12
resemblance_strength
number
default:1

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

Required range: 0 <= x <= 2.5
sharpness
number
default:0.5

Sharpness applied to fine detail. Does not affect generation of new detail.

Required range: 0.1 <= x <= 1.5

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_id
string<uuid>
required
status
enum<string>
required
Available options:
backlogged,
queued,
scheduled,
processing,
sampling,
intermediate-complete,
completed,
failed,
cancelled
created_at
string<date-time>
required
completed_at
null
required
result
null
required
error
object