Hookestdocs Postman OpenAPI llms.txt

POST/v1/predict/upload0 Credits

Upload-Link

Holt einen einmaligen Link. Keine Datei auf diesem Request.

Du bekommst upload_url, prediction_id, upload_id, expires_at (5 Min.). Status awaiting_upload.

Als Nächstes. Clip hochladen.

Das ist eine Berechtigung am Key, kein Request-Header. Fehlt sie, kommt 403 api_not_enabled.

Request-Parameter

Leeres POST. Nur Bearer — kein Query, JSON oder File.

Antwort

{
  "upload_id": "upl_3c91a0b4e7d4a1f8c3e2d1b0a9f8e7d0",
  "prediction_id": "pred_7b3e0c1d2e3f4a5b6c7d8e9f0a1b2c3d",
  "upload_url": "https://files.hookest.com/storage/v1/object/upload/sign/virality/api/…?token=…",
  "expires_at": "2026-09-16T10:17:00.000Z"
}

Antwortfelder

NameTypPflichtBeschreibung
upload_id string Pflicht Nur für Retry start.
prediction_id string Pflicht Id für Get prediction.
upload_url string Pflicht Einmal-URL für den nächsten Schritt.
expires_at string Pflicht ISO-8601. 5 Minuten.