Skip to main content

1. Create an API key

Create a key in the Playground, then store it in an environment variable.
Keep the key on your server and out of browser code, source control, and logs.

2. Submit an evaluation

Use a public MP4 URL and the prompt that generated the video.
Current release candidates: TypeScript 0.1.0-rc.4 and Python 0.1.0rc4. The public API may change before 0.1.0.
The SDK helpers submit the evaluation and poll until it settles. The cURL request returns immediately with a queued evaluation and its id.

3. Retrieve the result

The SDK helpers poll with exponential backoff. They return when the status reaches completed, partial, or failed. With HTTP, retrieve the evaluation until it reaches one of the same terminal states.

Analyze a video URL

Build the full asynchronous evaluation flow.