Hookestdocs Postman OpenAPI llms.txt

POST/v1/predict/upload0 kredi

Yükleme linki

Bir kerelik link ister. Bu istekte dosya yok.

upload_url (MP4 buraya), prediction_id (poll), upload_id (yalnız Retry), expires_at (5 dk). Status awaiting_upload — skor henüz yok.

Sıradaki. Klibi yükle — MP4’ü upload_url’e PUT. Link düşerse bu isteği tekrar gönder.

Bu bir anahtar iznidir, istek başlığı değil. Yoksa 403 api_not_enabled.

İstek parametreleri

Boş POST. Yalnız Bearer — query, JSON, dosya yok.

Yanıt

{
  "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"
}

Yanıt alanları

AdTipZorunluAçıklama
upload_id string Zorunlu Yalnız Retry start için sakla.
prediction_id string Zorunlu Get prediction id. Consume edilene kadar (queued) awaiting_upload.
upload_url string Zorunlu Sonraki adımın tek kullanımlık URL’si. MP4 buraya — /v1/predict/upload’a değil.
expires_at string Zorunlu ISO-8601. 5 dakika. Sonra yeni link al.