Runflow
Back to Gallery

heygen/v3/video-agent

Generate videos with a single prompt. Describe what you want in plain text, and the agent handles avatar selection, scripting, scene composition - all in one.

$0.034/second 2026-04-21

Install

pip install requests

Run the model

import requests

response = requests.post(
    "https://api.runflow.io/v1/run/v3/video-agent",
    headers={"Authorization": "Bearer RUNFLOW_API_KEY"},
    json={
    "prompt": "Create a 20-second professional product announcement video from a CTO introdu..."
    },
)

data = response.json()
print(data["video"]["url"])

Input schema

ParameterTypeDescription
promptstringNatural language prompt describing the video to generate. The agent handles avatar selection, script, and production automatically.
orientationstringVideo orientation. Auto-detected from the prompt if omitted.
avatarstringAvatar to use in the video. Set to 'auto' to let the agent auto-select based on the prompt.
file_urlsfile_listURLs of files to include as assets in the video (images, videos, audio, PDFs). Maximum 20 files.
incognito_modebooleanWhen enabled, disables the agent's memory functions.
style_idstringStyle template ID from the /v3/video-agent/styles endpoint.
voicestringVoice for narration. Set to 'auto' to let the agent auto-select.

Output schema

FieldTypeDescription
videostringThe generated video file.

Related models

Start generating with HeyGen Video Agent V3

Get API access in minutes. No GPU setup, no infrastructure to manage.