API
  • Welcome
  • Getting Started
    • Quickstart
      • Authentication
      • Rate limits
  • API Documentation
    • AI Avatar API
      • Get a list of avatar
      • Get a list of voice
      • Generate avatar video task
    • Get task info
Powered by GitBook
On this page
  1. API Documentation
  2. Face Swap API

Video face detect

For face analysis, analyzing faces in videos

Last updated 9 months ago

Video Max:200MB,120s | Video Format: mp4,mov,wmv

Face detect

post
Header parameters
timestampanyRequired

Millisecond timestamp

Content-TypeanyRequired

application/json

AuthorizationanyRequired

Authorization

RESPONSE-WRAPanyRequired

Whether to encapsulate response data

x-auth-keyanyRequired

Your api key

Body
asset_urlstringRequired

The asset url is publicly accessible

Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /v1.0/faceSwap/video/face/detect HTTP/1.1
Host: openapi
timestamp: null
Content-Type: application/json
Authorization: null
RESPONSE-WRAP: null
x-auth-key: null
Accept: */*
Content-Length: 22

{
  "asset_url": [
    "text"
  ]
}
{
  "face_detect": [
    {
      "current_frame_time": "text",
      "face_asset_id": "text",
      "face_asset_url": "text",
      "frame_asset_id": "text",
      "frame_asset_url": "text"
    }
  ],
  "asset_id": "text",
  "asset_url": "text",
  "upload_url": "text"
}