Using HeyGen Video on Vercel AI Gateway

Implementation guide · HeyGen Video · HeyGen

Serverless

Vercel AI Gateway exposes HeyGen Video through model ID heygen/heygen-video-1. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-22. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Vercel AI Gateway and generate an API key.
  2. 2
    Use the Vercel AI Gateway SDK or REST API to call heygen/heygen-video-1 — see the documentation for request format.
  3. 3
    You'll be billed $0.01/sec of video output. See full pricing.

Code Examples

Install
pip install openai
API key
AI_GATEWAY_API_KEY
Model ID
heygen/heygen-video-1

creator/model-name e.g. kwaipilot/kat-coder-pro-v2

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="heygen/heygen-video-1",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Vercel AI Gateway

TypeRate
Video output$0.01/sec

Capabilities

VisionMultimodalAudio

About HeyGen Video

HeyGen Video is HeyGen's general-purpose video model, built on MiniMax H3 and post-trained by HeyGen. It generates 5-15 s clips with their own dialogue, ambience and sound-effects track from text, a first-frame image, or image/video references, at 480p to 2K.

Model Specs

Released2026-10-09

Provider

Vercel AI Gateway

Vercel