Generate ebook
Generates the ebook from the video transcript. Generation runs asynchronously: poll Get ebook until status is ready. It consumes credits proportional to the video duration; an insufficient balance returns 402 with the required and available amounts. Recreating an ebook that already exists requires regenerate=true, which discards the current ebook and any manual edits.
Authorization
BearerAuth Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.
In: header
Path Parameters
Video UUID.
uuidQuery Parameters
Required to recreate an ebook that already exists.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/ebook"{
"status": "generating"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"error": "rate_limited"
}