Replicate
Replicate-querystatus
Query GET /replicate/v1/predictions/ om Replicate-voorspellingsdetails en realtime voortgang op te halen op basis van task ID voor image generation-workflows.
GET
Query a Replicate prediction
Gebruik dit endpoint nadat je al een Replicate prediction id hebt. Het rapporteert de huidige taakstatus en retourneert output-URL’s wanneer de prediction is voltooid.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.
Controleer deze velden eerst
statusom te zien of de prediction nog draait of al is voltooidoutputvoor gegenereerde asset-URL’serrorvoor fouten aan de providerzijdemetricswanneer je details over uitvoeringstijd of het aantal afbeeldingen nodig hebt
Pollingpatroon
Maak eerst de prediction aan
Begin met Create Predictions - General.
Poll op prediction id
Blijf query’s uitvoeren totdat
status een eindstatus bereikt en output is gevuld of een providerfout wordt geretourneerd.Autorisaties
Bearer token authentication. Use your CometAPI key.
Padparameters
Prediction id returned by the create endpoint.
Respons
200 - application/json
Current prediction state.