4Z API

Query tasks (free)

Endpoint: GET https://4zapi.com/kling/v1/{action}/{action2}/{task_id}

Parameters

  • action (path, string, required): images or videos
  • action2 (path, string, required): generations(images)、text2video(videos)、image2video(videos)、lip-sync(videos)、kolors-virtual-try-on(images)
  • task_id (path, string, required): Task ID
  • Content-Type (header, string, required): Request body Content-Type, usually application/json
  • Accept (header, string, required): Expected response Content-Type
  • Authorization (header, string, required): Bearer API Key

Request example

{}