
RF-DETR Keypoint Preview
Finds every person in a photo and returns their 17 body keypoints (nose, eyes, ears, shoulders, elbows, wrists, hips…
Fine-tunableDWPOSE_WHOLEBODYFinds every person in a photo and returns 133 keypoints for each: body, feet, face and both hands, as JSON in the photo's own pixels.

DWPose by Zhendong Yang, Ailing Zeng, Chun Yuan and Yu Li (IDEA Research), released under the Apache License 2.0, Copyright 2023 IDEA; built on RTMPose, MMPose and MMDetection by OpenMMLab (Apache License 2.0). The person detector is YOLOX-L, Copyright (c) 2021-2022 Megvii Inc., Apache License 2.0.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
image | file | Yes | — | The picture: PNG, JPEG or WebP, at most 30 MB and 40 megapixels. 1–2048 characters · image/png, jpeg, webp |
score_threshold | number | No | 0.3 | Lowest detection score of a returned person, 0 to 1; higher returns fewer, surer people. 0–1 |
max_people | integer | No | 20 | The most people to return, best first. 1–50 |
Output. JSON array, best first: [{"score", "box": [x0, y0, x1, y1], "keypoints": [[x, y, score], ...]}] in pixels; 133 COCO-WholeBody keypoints a person (body, feet, face, left hand, right hand). At most 50 people.
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=DWPOSE_WHOLEBODY" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.png",
"max_people": 20,
"score_threshold": 0.3
},
"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(
"DWPOSE_WHOLEBODY",
{
"image": "https://example.com/input.png",
"max_people": 20,
"score_threshold": 0.3
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune DWPose Wholebody on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, no password) with 4 to 1000 pictures and a manifest.jsonl: one line per picture, {"file", "people": [{"box", "keypoints"}]} in pixels. More rules: Good to know, in the README.
The steps are in the docs.
Price per request: 0.0437 credits ($0.000437). The price is shown again before every run; all prices are on the pricing page.

Finds every person in a photo and returns their 17 body keypoints (nose, eyes, ears, shoulders, elbows, wrists, hips…
Fine-tunable
Click or draw a box on an object and get back a mask outlining it.
Fine-tunable
Outlines the things you name in a picture, such as "red car, person with a helmet", with a mask and a box for each one.
Fine-tunable
Turns any photo into a depth map that shows which parts are near and which are far.
Fine-tunable
Finds the points two pictures have in common and pairs them up: send two photos of one scene and get the matching…
Fine-tunable
Cuts people out of photos with a soft alpha matte that keeps hair and fine edges, and returns the cutout or the matte…
Fine-tunable