
Video Background Blur
Blurs or replaces everything behind the person in a short clip, as a video call does; the person stays sharp.
VIDEO_OBJECT_DETECTIONDraws a labelled box on every object DETR detects in a short clip, across the 80 COCO classes.

Draws a labelled box on every detected object in a short clip. The detector is DETR with a ResNet-50 backbone and covers the 80 COCO classes. Detection runs on the frames you choose; the boxes are drawn onto the picture and the clip is returned at the same size and frame rate. The output file carries no audio track. On the 2-CPU worker, detection on a 720p frame takes about 7.5 seconds, so clips are capped at 6 seconds to finish well inside an hour.
The weights are facebook/detr-resnet-50 at revision 1d5f47bd3bdd2c4bbfa585418ffe6da5028b4c0b, published by Facebook AI. DETR was created by Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov and Sergey Zagoruyko. The model card states the licence as Apache-2.0: https://huggingface.co/facebook/detr-resnet-50.
One clip per request. The model does not track identity from frame to frame; each sampled frame is detected on its own. It does not read text, name people, or mark anything outside the 80 COCO classes. A score is a detection confidence, not a measure of importance. Small or fast objects are often missed, and boxes can flicker when every_nth_frame is greater than 1. The model runs on CPU.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
video | file | Yes | — | Clip to label. MP4, MOV or WebM, at most 50 MB, 6 seconds, 180 frames and 1280 pixels on a side. video/mp4 |
threshold | number | No | 0.7 | Minimum score for a detection, from 0.05 to 0.99. 0.05–0.99 |
every_nth_frame | integer | No | 1 | Detect on every n-th frame and reuse those boxes in between, from 1 to 5. 1–5 |
Output. Returns binary file.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=VIDEO_OBJECT_DETECTION" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"video": "https://example.com/input.png",
"every_nth_frame": 1,
"threshold": 0.7
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"VIDEO_OBJECT_DETECTION",
{
"video": "https://example.com/input.png",
"every_nth_frame": 1,
"threshold": 0.7
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)Price per request: 4.52 credits ($0.0452). The price is shown again before every run; all prices are on the pricing page.

Blurs or replaces everything behind the person in a short clip, as a video call does; the person stays sharp.

Video-editing model (Wan 2.1 VACE, 1.3B): follows a control clip, redoes a masked area or the end of a clip, or puts…
Fine-tunable
Makes slow motion and higher frame rates by painting the frames between two frames, even when things move far between…
Fine-tunable
Cuts people out of video with a soft alpha matte that keeps hair and fine edges, with no green screen and no…
Fine-tunable
Enlarges a real-world video 4 times, looking across frames so detail stays steady and flicker is lower than with…
Fine-tunable
Video-editing model (ReCamMaster on Wan 2.1, 1.3B) that re-renders a clip along a new camera path: pan, tilt, zoom…
Fine-tunable