1. Create an API key
Create a key in the Playground, then store it in an environment variable.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.- TypeScript
- Python
- cURL
queued evaluation and its id.
3. Retrieve the result
The SDK helpers poll with exponential backoff. They return when the status reachescompleted, 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.