4Z API

face recognition

Endpoint: POST https://4zapi.com/kling/v1/videos/identify-face

Parameters

  • Content-Type (header, string): Request body Content-Type, usually application/json
  • Authorization (header, string): Bearer API Key

Request body (application/json)

  • video_id (string): Kling AI video ID for lip-sync. Exactly one of this or video_url. Only videos from last 30 days lasting ≤60s
  • video_url (string): Uploaded video URL for lip-sync eligibility. Exactly one of this or video_id. .mp4/.mov; ≤100MB; duration 2–60s; 720p/1080p; sides 512–2160px. Failed validation returns errors; content is validated

Request example

{
  "video_id": "827297867148050499",
  "video_url": ""
}