Query tasks (free)
Endpoint: GET https://4zapi.com/kling/v1/{action}/{action2}/{task_id}
Parameters
action(path, string, required): images or videosaction2(path, string, required): generations(images)、text2video(videos)、image2video(videos)、lip-sync(videos)、kolors-virtual-try-on(images)task_id(path, string, required): Task IDContent-Type(header, string, required): Request body Content-Type, usually application/jsonAccept(header, string, required): Expected response Content-TypeAuthorization(header, string, required): Bearer API Key
Request example
{}