Course Video · Digital Human Lecturer: Generating Voice-over Course Videos Using Scripts and Authorized Human Images

Preface

When a training or online-course team needs to produce a “presenter on camera” course series, the common approach is to set up studio shoots for every lecture: scheduling, venue, and reshoots can all slow down launch. If the scripts are already finalized and you have an authorized instructor portrait, a more practical path is to first generate narration for each lecture, then synthesize a lip-synced video using the same on-screen persona. Below we introduce the Course Video · Digital Instructor (@beatra-ai/course-video-studio) on SkillHub, which bakes this workflow into an Agent Skill. The assistant calls Beatra capabilities step by step to complete voiceover and digital-human video.

What This Is

Course Video · Digital Instructor is an enterprise Skill released by beatra (SkillHub category education, current version 0.2.4, coordinate @beatra-ai/course-video-studio). The official summary is: turn a finished script and an authorized instructor portrait into instructor-on-camera course videos and course narration; first produce narration for each lecture’s script, then use a digital instructor to deliver publish-ready training and online-course videos.

The SkillHub page marks requires_api_key=false (meaning SkillHub itself does not require an API key). To actually generate narration and lip-synced video, the Skill connects to Beatra MCP via the bundled scripts/mcp_client.py and follows a credit-billed workflow. On first use, Beatra device authorization must be completed inside the Skill directory.

Official entries:

  • API coordinate page: https://api.skillhub.cn/beatra-ai/course-video-studio
  • SkillHub showcase: https://www.skillhub.cn/skills/beatra-ai/course-video-studio

Core Capabilities

Based on SKILL.md in the Skill package, the verified capabilities and boundaries are as follows.

Inputs and Preconditions

  • An accessible instructor portrait; the final script for at least one lecture (pilot lecture); the ordering of lectures; rights to use the likeness and voice.
  • If the script contains recurring names, jargon, or acronyms, provide a pronunciation table; if terms exist but the pronunciation table is empty, the workflow will stop to collect pronunciations rather than guess.
  • The spoken content is based on the final script; slide decks (PPT, WPS, PDF) require the user to extract speakable text—this Skill does not parse slides.

Standard Production Path (Narration First, Then Lip-Synced Video)

  1. Check the portrait (size, aspect ratio, MIME type, whether it contains alpha, etc.) and set up a lecture ledger. Upload local files via the bundled client—do not pass local paths to remote tools.
  2. Select or clone the instructor’s voice: obtain explicit consent before cloning; suitable samples are about 10–300 seconds, no larger than 20 MiB, clean single-speaker audio. Cloning uses beatra.voices.clone; when not cloning, use beatra.voices.list to select a catalog voice.
  3. Query beatra.models.list for text_to_speech and image_to_video, confirm the video pipeline accepts [image, driving_audio], and split overly long scripts at sentence or section boundaries according to the model’s supported maximum duration.
  4. For the pilot lecture, synthesize narration in segments (beatra.speech.synthesize), poll beatra.tasks.get until a terminal state, and review the actual audio output before proceeding to video.
  5. Call beatra.videos.animate on the confirmed narration to generate lip-synced video. Choose the smallest supported integer duration that is not shorter than the real speech length. Use a separate client_request_id for each video segment, and display a video “entry card” (with estimate and balance notes) before submission.
  6. Once the pilot lecture passes, repeat “segmented narration → video” for the remaining lectures. Submit only via the bundled scripts/mcp_client.py—do not use any host Beatra Connector, and do not fall back to REST/OpenAPI.
  7. Deliver labeled lecture videos in teaching order (segments in order within each lecture), along with facts such as dimensions, duration, usage, and billing.net_charged_credits. Review identity, term pronunciation, and lip-sync timing.

Adjacent Skills (Avoid the Wrong Route)

  • Audio-only course pack: switch to course-narration-studio.
  • A single talking-head short: switch to talking-avatar-video.
  • Slides already exist and you want video centered on slides: use lecture-video-maker for the whole course, or micro-lesson-maker for a single lecture; if no slides yet, start with ai-courseware-maker.

SkillHub-side stats (from crawled data): rating 100000, downloads 157497.

Installation and Activation

If skillhub is not installed, follow the official instructions to install the CLI (full install or CLI only):

command -v skillhub && skillhub --version
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing a Skill, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/ and may not be recognized. Common paths:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Command to install this Skill (consistent with the skillhub search output):

skillhub install course-video-studio --namespace beatra-ai --dir ~/.cursor/skills/

Replace the directory in the line above with the skills path that corresponds to your current environment.

Install via Chat with the Agent

The prompt provided by the SkillHub page is equivalent to: please install @beatra-ai/course-video-studio according to https://skillhub.cn/install/skillhub.md .

Beatra Authorization (Before Generation)

After the Skill is installed, run the following inside the installed Skill directory (Python 3.10+):

cd ~/.cursor/skills/@beatra-ai/course-video-studio
python3 scripts/authorize.py

The assistant will guide device authorization. Wait until Beatra is ready appears before starting paid generation. Credentials are stored locally in ~/.beatra/credentials.json; do not write them into conversations or logs.

The Beatra Skills page also provides ZIP-verified installation instructions (https://beatra.ai/skills/course-video-studio/install.md ). If you install via SkillHub, use the current SkillHub distribution version 0.2.4 as the reference.

Typical Usage

After enabling this Skill in an Agent, organize a course production as follows (consistent with the standard path in SKILL.md; the example is a structural outline, not a fictional case).

  1. Prepare materials: upload or provide an accessible instructor portrait URL; submit the pilot lecture’s final script, the full lecture order, a pronunciation table (if there are proper nouns or jargon), and confirm rights to the likeness and voice.
  2. Pilot lecture: the assistant checks the portrait and model constraints → selects or clones a voice_id → performs segmented TTS for the pilot lecture → you confirm the actual audio → then generates image_to_video lip-synced clips for each audio segment.
  3. Scale to the full course: after the pilot’s identity, pronunciation, and lip-sync pass review, repeat segmented narration and video for the remaining scripts; deliver a list of finished videos sorted by lecture and segment, plus a billing summary.
  4. Script changes: any change to the script requires regenerating narration; after narration audio changes, the corresponding videos must also be regenerated.

When cloning a voice, the Skill requires showing a live estimate and balance note before calling beatra.voices.clone. Only submit after the user confirms sufficient balance. If the balance is insufficient, follow the recharge guidance in the error message and retry with the same frozen client_request_id.

Use Cases and Cautions

Suitable for

  • Series course videos, training videos, online courses: scripts are finalized, and you want a unified “digital instructor” on camera.
  • Internal training and enablement: reduce studio shoots and batch-produce talking-head clips lecture by lecture.
  • Teams that distinguish between “narration only” or “a single avatar short” can choose via the adjacent Skills above.

Limitations and Notes

  • An authorized portrait and voice rights are required; without authorization, the workflow stops at confirmation and will not force generation.
  • Long scripts may be split into multiple consecutive talking-head clips. If the planned duration exceeds the model limit, do not shorten the script to fit.
  • Each speech input must not exceed 50,000 characters. Each paid phase uses an independent client_request_id; for fault recovery, replay the frozen payload and ID.
  • Generation consumes Beatra credits. Before cloning and video submission, entry cards and estimates are shown. The 600-credit signup bonus is usually not enough to cover a complete clone or video task (refer to the Skill’s original text).
  • The bundled client silently checks for updates via the official channel (at most once every 24 hours). Use python3 scripts/mcp_client.py update --check to view the update status.

Conclusion

Course Video · Digital Instructor solidifies the “script → narration → digital instructor talking-head video” process into a reusable Agent workflow, suitable for teams with finished scripts and authorized instructor assets who need stable lecture-by-lecture delivery. For installation and details, refer to SkillHub: https://www.skillhub.cn/skills/beatra-ai/course-video-studio , coordinate page: https://api.skillhub.cn/beatra-ai/course-video-studio .

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye