Skip to main content
Base URL for all API calls: https://getagenthook.com/api/v1

1. Sign up and create an API key

  1. Sign up at the console (email + password, bot-check gated). New accounts receive a one-time grant of trial credits.
  2. In the console, create an API key. The key is shown once at creation — copy it immediately.
Export it for the examples below:

2. Install the CLI

The CLI is a thin wrapper over the API: it fetches the tool schemas from GET /api/v1/tools and validates your input locally — bad enum values, over-long prompts, or reference images without the ownership attestation are rejected before any network call or credit spend.

3. First talking-head video (CLI)

Describe the person and put the spoken lines in the prompt — the video model generates the speech audio natively:
The CLI submits the run, polls until it finishes, and prints the MP4 URL. Useful commands:

4. First talking-head video (curl)

Submit the run:
Response (202):
Poll until it completes:
When status is completed, output holds the playable MP4 URL:
If status is failed, the debited credits have already been refunded — see Credits & refunds.

5. Explore the rest of the API

Next: the full argument reference for make_video, make_image, and caption_video.