Skip to main content
POST
/
v1
/
flux-tools
/
deblur-v1
Remove blur from an image
curl --request POST \
  --url https://api.bfl.ai/v1/flux-tools/deblur-v1 \
  --header 'Content-Type: application/json' \
  --header 'x-key: <api-key>' \
  --data '
{
  "image": "<string>",
  "seed": 42,
  "safety_tolerance": 2,
  "output_format": "png",
  "webhook_url": "<string>",
  "webhook_secret": "<string>"
}
'
{
  "id": "<string>",
  "polling_url": "<string>",
  "cost": 123,
  "input_mp": 123,
  "output_mp": 123
}

Authorizations

x-key
string
header
required

Body

application/json

Input model for public FLUX.2 deblur.

Deblur takes only an image (no mask, no prompt): the whole image is regenerated by a fixed Klein 9B KV BF16 blur-removal LoRA with a fixed prompt, so the caller controls nothing but the input image.

image
string
required

Base64-encoded input image or HTTP(S) image URL.

seed
integer | null

Optional seed for reproducibility.

Example:

42

safety_tolerance
integer
default:2

Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict.

Required range: 0 <= x <= 5
Example:

2

output_format
enum<string> | null
default:png
Available options:
jpeg,
png,
webp
webhook_url
string<uri> | null

URL to receive webhook notifications

Required string length: 1 - 2083
webhook_secret
string | null

Optional secret for webhook signature verification

Response

Successful Response

id
string
required
polling_url
string
required
cost
number | null

Cost in credits for this request

input_mp
number | null

Input megapixels (2 decimal places)

output_mp
number | null

Output megapixels (2 decimal places)