Authentication
Every request to the VideoGen API must include your API key.
The VideoGen API uses Bearer token authentication. Include your API key in the Authorization header of every request:
Your API key is a secret. Do not expose it in client-side code (browsers, mobile apps) or commit it to version control. Use environment variables or a secrets manager instead.
If your key is missing or invalid, the API returns 401 Unauthorized: