video.from-script

Convert approved avatar video requests into HeyGen Direct API MP4 outputs.

126|11|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/HybridAIOne/hybridclaw --skill video-from-script
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video.from-script
Source: https://github.com/HybridAIOne/hybridclaw/tree/main/skills/video.from-script
Command: npx skills add https://github.com/HybridAIOne/hybridclaw --skill video-from-script

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns approved avatar video requests into completed MP4s without forcing you to manually manage provider jobs, polling, and downloads.

Core Features & Use Cases

  • Async job lifecycle management (HeyGen Direct API): plans a generation request, starts an asynchronous render job, polls for completion, and surfaces terminal failure details when it fails.
  • Validated inputs for safer rendering: enforces that you provide exactly one avatar source (avatar id, image URL, or image asset id), requires a voice id and approved script text, and guards against printing raw API keys.
  • Artifact delivery via downloads: downloads only when the job reaches completion and saves MP4 artifacts under .generated-videos for gateway preview/download workflows.
  • Use Case: create a product update avatar video from a vetted script and approved voice, then poll until the MP4 is ready and retrieve it for posting.

Quick Start

Ask the assistant to generate an avatar video from your approved script by starting a HeyGen render job and returning the job id for later polling.

Frequently Asked Questions about video.from-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an MP4 from a script using HeyGen asynchronously?

To generate an MP4 from a script using HeyGen asynchronously, you provide an approved avatar source, voice id, and script text. The process starts an asynchronous render job, polls for status updates, and downloads the completed MP4 artifact directly to your workspace.

What inputs are required to start a HeyGen avatar video render job?

Starting a HeyGen avatar video render job requires exactly one avatar source (an avatar id, image URL, or image asset id), a specific voice id, and your approved script text. These validated inputs ensure safer rendering and prevent processing errors.

How does asynchronous job polling work for avatar video generation?

Asynchronous job polling for avatar video generation works by starting a render job and repeatedly checking its status until completion. Once the job reaches a completed state, the system surfaces the terminal status and retrieves the public HTTPS video URL.

Do I need a specific API key setup to download HeyGen MP4s?

Yes, downloading HeyGen MP4s requires a HybridClaw gateway secret injection for the HEYGEN_API_KEY. This setup validates job states, secures your input constraints, and prevents printing raw API keys while downloading completed public HTTPS video URLs.

Where are completed HeyGen avatar MP4 artifacts saved after rendering?

Completed HeyGen avatar MP4 artifacts are saved under a workspace-relative .generated-videos directory. The system only downloads these artifacts when the asynchronous render job reaches completion, ensuring you have valid outputs for gateway preview workflows.

What happens when an async HeyGen avatar render job fails?

When an async HeyGen avatar render job fails, the system surfaces terminal failure details during the polling process. This mechanism stops the workflow, prevents downloading incomplete or invalid video URLs, and helps you diagnose the rendering issue.