360 Secure SkillHub
360 安全技能中心

game-script-voice-pack

读取带说话人标注的剧本,建立角色与台词清单,为每个角色固定同一音色,按剧本顺序逐块调用 Beatra 语音合成并轮询任务,最终交付带角色 ID 与行号标注的编号音频、时长、模型与计费信息;仅在用户要求并确认授权后克隆角色音色。

分类:创作
beatra-ai
beatra-ai
热度 17.37
最近更新 2026-10-21 11:22:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add beatra-ai/game-script-voice-pack
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
game-script-voice-pack
description
Turn a murder-mystery or indie-game script into a labeled multi-character voice pack. This AI game voice pack and character dialogue studio casts one consistent voice per role, records every line in script order, and delivers numbered clips with character IDs ready for an engine or tabletop production. Use it for game voice acting, indie game dialogue, murder mystery voiceover, multi character TTS, NPC voice acting, interactive story audio, tabletop voice pack work, and scripted game audio.

Game Script Voice Pack

Give a game or murder-mystery script a cast and a labeled voice pack. One voice per character. Every line stays in script order.

Scope and adjacent routes

Use this Skill when a murder-mystery script, indie-game dialogue tree, interactive story, or training scene needs many speaking roles delivered as importable clips.

Route a literary audio drama or radio play to audio-drama-voice-studio. Route a single-narrator course to course-narration-studio. Route creating only a reusable voice to voice-cloning-studio. Route a talking-head video to talking-avatar-video.

Inputs and defaults

The one hard input is the script text with speaker attribution. Character labels alone are not a script: do not invent dialogue. Reuse genre, era, tone, language, and already-chosen voices.

Defaults:

  • one voice per named character, plus a narrator when the script has one;
  • speaker order follows the script;
  • language omitted unless the user asks for a language or the script mixes several;
  • one synthesis call per speech block so a single line can be redone.

Casting is free. Each synthesis block is paid. Clone a character voice only when the user asks. Confirm consent first: the user must state this is their voice or that the speaker authorized this cloning use. Access to a file is not consent. A suitable sample is currently about 10 to 300 seconds, no larger than 20 MiB, and clean single-speaker speech. Only after consent, inspect the sample and upload it through the bundled client. Show the live voice_clone admission card before any clone client_request_id: route voice_clone, tool beatra.voices.clone, live price for one successful activated voice, the provisional estimate, the 600-credit gift usually cannot start this clone, and what happens if the balance is short. Do not offer a free clone. Do not create client_request_id until the user confirms they have topped up or already have enough credits. Submit beatra.voices.clone exactly once:

{
  "sample": {"type": "artifact", "artifact_id": "artifact_..."},
  "display_name": "Character Name",
  "consent_attested": true,
  "model": "auto",
  "client_request_id": "opaque-character-clone"
}

Poll with beatra.tasks.get until terminal, then freeze that character's voice_id.

Golden path

  1. Build the cast sheet and the line ledger: character ID, line ID, text, and intended filename.
  2. Call beatra.voices.list when a voice is still needed. Keep each character's voice_id fixed for the whole pack. Never put a display name in voice.
  3. Read the live text_to_speech card with beatra.models.list. Confirm the cast, block count, weighted-character total, current estimate, and one client_request_id per block.
  4. Synthesize each block with beatra.speech.synthesize exactly once through the bundled scripts/mcp_client.py. Poll each speech task with beatra.tasks.get until terminal. Do not configure a host Beatra Connector. Do not use REST/OpenAPI as a fallback.
  5. Deliver numbered clips in script order, each labeled with character ID and line ID, plus actual duration, MIME type, URL or artifact, resolved model, and billing.net_charged_credits.
  6. Review that each block carries the assigned voice and that order matches the script. Redo only the changed line.

Decisions that require confirmation

Confirm the cast sheet and the pack estimate before the first paid call. A changed line is one new paid block.

Recovery

Recover a lost create response only with that block's identical payload and ID. Recover a lost task ID through beatra.tasks.list and beatra.tasks.get. Cancel only at the user's request. On insufficient_balance for clone or TTS, keep the top-up URL inside the balance error exact and retry the same frozen ID only after the user says they have topped up.

Account balance

When the user asks how many credits remain or whether a live estimate fits, call beatra.wallet.get. When they ask what was charged, call beatra.wallet.ledger. Both are read-only. Do not invent an account-balance or top-up tool. Do not make wallet.get a required step before every paid submit.

When a model card comes back carrying a top_up block, relay its tiers as the card lists them and in that order. Do not rank them, do not talk one down, and do not pick one for the user. Which tier suits them is their call, made on the wallet page with the whole list in front of them. Never quote a tier from memory.

References by task

Use or invoke the bundled scripts/mcp_client.py for every Beatra operation.

Updates and security

This Skill runs only the files installed with it and leaves them unchanged while it runs; it never downloads or executes other code. It talks to Beatra's official services over HTTPS, and a file you choose to upload goes only to the one-time upload address Beatra issues for it.

Once a day at most, the bundled client reads Beatra's public version list. When the store or tool you installed from has a newer version, it prints one line with the command that updates it there. Updating stays your choice, through that store or tool. See updates and security.