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 keys

Connect your agent

  1. Create a dedicated key under Account → API keys. Copy it when it appears and save it as BOLTGEN_API_KEY in your agent’s secret store.
  2. Give your agent the OpenAPI schema on this site. Use Authorization: Bearer $BOLTGEN_API_KEY on API calls.
  3. Run the video example or follow the workflow below. Generation uses account credits and requires available capacity.

Generate a video

  1. Send POST /v1/videos with a JSON body containing prompt and a unique Idempotency-Key header. Save the returned job ID.
  2. If submission times out, use GET /v1/videos/lookup with the original key, or retry the same body with that key.
  3. Poll GET /v1/videos/{id} every few seconds. On success, return the expiring playbackUrl. Stop on failure or cancellation. Pause and check later if the job is held for review.