API reference

Get a video

Current status of one video. Poll about once a minute. While it waits at a stop, pending holds what to review.

GET https://app.cookstudio.ai/api/v1/videos/{id}

Request

curl https://app.cookstudio.ai/api/v1/videos/6f1c… -H "Authorization: Bearer $KEY"

Response

{"id": "6f1c…", "object": "video", "status": "awaiting_approval", "stage": "script", "waiting_stop": "script",
 "pending": {"stop": "script", "words": 412, "script": "In December 1872…"}, …}

Errors

StatusCodeMeaning
401unauthorizedMissing, wrong or revoked key.
404not_foundNo such video or generation on this account.

All errors share one shape; see Errors.