OmniHuman 1.5 Subject Detection
Endpoint
POST /videos/generations
Full URL: https://modelfold.ai/v1/videos/generations
Authentication: every request must include the
Authorization: Bearer <API_KEY>header.
Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.
Input parameters for the subject detection task.
Request Parameters
Body (application/json)
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | The model name used for subject detection. This field is required. - This endpoint must use the omnihuman-1-5/subject-detection model Default:"omnihuman-1-5/subject-detection"。 Allowed values:omnihuman-1-5/subject-detection。 Example:omnihuman-1-5/subject-detection。 |
image_url | string | Yes | Portrait image URL. Supports detection of up to 5 subjects in the image. Accepted file types: image/jpeg, image/png, image/jpg. Max file size: 5MB. |
Request Example
bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "omnihuman-1-5/subject-detection",
"image_url": "https://example.com/reference.png"
}'json
{
"model": "omnihuman-1-5/subject-detection",
"image_url": "https://example.com/reference.png"
}Response
200 — Generation completed. usage contains actual billing details; result URLs are illustrative.
json
{
"ok": true,
"created": 1792134000,
"data": [
{
"url": "https://modelfold.ai/uploads/outputs/result.json"
}
],
"usage": {}
}