All examples
Example Cogtemplate:lama-cleaner

Image + mask → clean plate

LaMa Cleaner

Remove unwanted objects with a white mask. LaMa fills the selected region, feathers the edge, and preserves pixels outside the repair.

RTX 3090 scale to zero PNG imageinpaintingobject removalONNX

Canonical example

Input and output, side by side

Output-format preview · verified artifact pending

01 · input
reference image
LaMa Cleaner reference input
image
/static/animation-library/image3d/robot.webp
mask
remove-object-mask.png
grow
8
feather
6
02 · PNG image
LaMa Cleaner output preview

Run the same recipe everywhere

curl -sX POST https://app.nz/api/cogs/run \
  -H "Authorization: Bearer $APP_NZ_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"lama-cleaner","input":{"image":"/static/animation-library/image3d/robot.webp","mask":"remove-object-mask.png","grow":8,"feather":6}}'