Videos
Create a video
Changed onStarts a video job and answers 202 at once: a clip takes from half a minute to several minutes. Requires an API key. Poll GET /v1/videos/{id} until status is completed or failed, then fetch the file from GET /v1/videos/{id}/content. NagaAI holds the full price of the clip on the balance while the job runs and charges it once, when the clip is ready. A job that fails is not charged.
post/v1/videos
Request
- Base URLhttps://api.naga.ac
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The job, accepted and queued. Poll polling_url until status is completed or failed.
Example response
{
"object": "video.generation"
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info