Kling
Individuele query's
Query Kling-videogeneratietaken op task_id via GET /kling/v1///, waarbij status, voortgang en result-metadata worden teruggegeven voor polling.
GET
Individual queries
Gebruik deze endpointfamilie nadat u een Kling-taak hebt aangemaakt. Dit is de gebruikelijke pollingstap voor asynchrone Kling-mediataken.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Wat u eerst moet controleren
- Taakstatus en voortgangsvelden
- Output-metadata of asset-URL’s wanneer de taak is voltooid
- Providerspecifieke foutmeldingen wanneer een taak voortijdig stopt
Pollingpatroon
Maak de taak aan via het bijbehorende endpoint
Begint met de Kling-aanmaakpagina voor uw workflow, zoals Text to Video of Image to Video.
Poll totdat de taak een eindstatus heeft bereikt
Blijf query’s uitvoeren met de geretourneerde task id totdat de status success of failure bereikt.
Zie voor de volledige parameterreferentie de officiële Kling-documentatie.
Autorisaties
Bearer token authentication. Use your CometAPI key.
Padparameters
Resource type. One of: images, videos, audio.
Sub-action matching the resource type. For images: generations, kolors-virtual-try-on. For videos: text2video, image2video, lip-sync, effects, multi-image2video, multi-elements. For audio: text-to-audio, video-to-audio.
Task ID