Quickstart
Go from install to your first hosted video in four lines of code. One key works across the Vidom model and Kling, Sora, Veo and Grok.
The fastest path: install the SDK, set VIDOM_KEY, and call generate. The response hands you a CDN URL you can play or share immediately — no storage to wire up.
Step 1
Install
The SDK ships for JavaScript/TypeScript and Python.
Step 2
Authenticate
Create a key in the dashboard and expose it as an environment variable. A single key authenticates every provider.
Step 3
Generate a video
Pass a prompt and, optionally, a model. The call resolves once the video is ready.
Step 4
Read the hosted URL
Every successful response contains a url and an expires_at. The link is live for 60 days — storage is on us.
Choosing a model
Set the model field to any of vidom-1, kling-2.1, sora-2, veo-3 or grok-video-1. Switching providers is a one-string change — nothing else in your code moves.
Auto-routing
Omit model and pass a route budget instead. Vidom selects the cheapest model that satisfies your constraints and retries across providers on failure.
Storage & links
Outputs are stored and served from our CDN automatically. The returned url stays live for 60 days; pin or download anything you need to keep longer. No buckets, no signing, no egress surprises.