4Z API

video effects

Endpoint: POST https://4zapi.com/kling/v1/videos/effects

Parameters

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

Request body (application/json)

  • effect_scene (string, required): scene name
  • callback_url (string): Callback URL invoked on task completion
  • external_task_id (string): Custom external task ID for business-side correlation
  • input (object): Reference image (Base64 or reachable URL). Payload shape varies by scene; see scene request bodies

Request example

{
  "effect_scene": "pet_lion",
  "input": {
    "image": "https://p4-kling.klingai.com/bs2/upload-ylab-stunt/c54e463c95816d959602f1f2541c62b2.png?x-kcdn-pid=112452"
  }
}