Boltgen for agents
Give your agent an API key once. It can then submit video jobs and retrieve the finished clips over HTTP.
Create an account Manage API keysConnect your agent
- Create a dedicated key under Account → API keys. Copy it when it appears and save it as
BOLTGEN_API_KEYin your agent’s secret store. - Give your agent the OpenAPI schema on this site. Use
Authorization: Bearer $BOLTGEN_API_KEYon API calls. - Run the video example or follow the workflow below. Generation uses account credits and requires available capacity.
Generate a video
- Send
POST /v1/videoswith a JSON body containingpromptand a uniqueIdempotency-Keyheader. Save the returned job ID. - If submission times out, use
GET /v1/videos/lookupwith the original key, or retry the same body with that key. - Poll
GET /v1/videos/{id}every few seconds. On success, return the expiringplaybackUrl. Stop on failure or cancellation. Pause and check later if the job is held for review.