Video generation API

Run a service or a bot that sells access to AI models? Connect Hawklance 4.8: video with sound from a photo or a text prompt, by a ready-made template or your own description. Keys, a sandbox and documentation are on the Hawklance platform.

The platform and the documentation are in Russian for now. API error messages are in English.

Hawklance API at a glance

Model
Hawklance 4.8
Address
https://api.hawklance.ai/v1
Access
An API key: test or live
Templates
More than 200, each with its own input form
Results
A webhook, or poll the video’s status
Billing
In tokens, at the web app’s rates

First request

Create a key on the platform, upload the photos and send a template with its inputs:

curl https://api.hawklance.ai/v1/videos \
  -H "Authorization: Bearer $HAWKLANCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "novyy-obraz",
    "inputs": { "person": ["file_3Hq9"], "new_look": ["file_7Bv1"] },
    "quality": "720p"
  }'

The answer is a video with the status queued. When it’s ready, we call your webhook — or check GET /v1/videos/{id}.

On the platform

  • Keys. Test and live; a key can be read-only.
  • Sandbox. Try a template or a description without writing code.
  • Templates. What each one takes: photos, text, choices.
  • Webhooks. The result comes as soon as the video is ready.
  • Request log. Every call with its answer.
  • Spending. By day, key and template; a monthly limit for live keys.

Questions

Is there a test mode?

Yes. Test keys are free: tokens aren’t charged, so you can wire up your service before going live.

How much does a video cost?

The same as in the web app: tokens per second of video, depending on quality. Current rates are on the platform’s billing page.

Which languages are the examples in?

cURL, Python and Node.js — in every section of the documentation.

Try Hawklance