360 Secure SkillHub
360 安全技能中心

Visitor Desk Voice Pack

把前台已写好的访客接待文稿,按标注条目逐条合成为语音,默认10条、可指定8至20条,覆盖问候、登记、胸牌、陪同等场景。输入为接待文稿、发音表、条数及克隆授权,输出为统一音色的mp3语音包。含克隆与合成两阶段付费卡确认、逐条提交、轮询任务与错误恢复,仅通过内置脚本调用,适合需批量生成前台接待播报语音的团队。

beatra-ai
beatra-ai
热度 36.42
最近更新 2026-09-30 19:58:51
分类:创作依赖:MCP 服务 / 第三方 API / 代码执行 / 读写文件应用场景:API 集成 / 工作流 / 品牌素材

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add visitor-desk-voice
Metadata
name
visitor-desk-voice
description
Turn a written visitor reception script into one visitor reception voice clip per labeled cue. This front desk voice studio records each cue the desk already wrote, from reception script audio to visitor greeting voice lines, and delivers 8 to 20 clips as one visitor desk voice pack. Use it for visitor reception voice packs that keep one cue on each clip.

Visitor Desk Voice Pack

Turn a written visitor reception script into one spoken clip per labeled cue. Deliver 8 to 20 reads. Cover greeting, check-in, and escort first.

Scope and adjacent routes

Use this Skill when a front desk needs labeled visitor-reception clips from the reception script they already wrote.

Route generic narration to voiceover-narration-studio. Route a shift handoff checklist to shift-handoff-voice. Route civil-affairs material lists to civil-affairs-voice. Route elder checkup notices to elder-checkup-voice.

Read only the supplied visitor reception script. Do not invent a reception line, a visitor fact, or a policy not in the script.

Collect the reception script

Hard inputs are:

  • the visitor reception script the desk already wrote;
  • a pronunciation table whenever names, places, or coined words appear;
  • how many clips the pack should contain, or permission to use the default of 10;
  • likeness and voice rights when a cloned staff voice will appear.

Reuse already-known language and a frozen voice_id. Ask only for a missing hard input. A count outside 8 to 20 is still doable: confirm that pack size and its live cost.

Do not invent a reception line, a visitor fact, or a policy not in the script. File access is not consent.

If names exist and the pronunciation table is empty, stop and collect the readings.

Plan the free slot list

Write a labeled visitor-reception voice list before any paid clone or speech. Default ten slots unless the desk names another count in 8 to 20: greeting, check-in, badge, escort, waiting, contact, directions, safety, policy, and farewell. Each slot records the spoken line from the written reception script and whether it uses a catalog voice or a clone.

That list is the free visible result. Planning is not approval.

Safe defaults:

  • one beatra.speech.synthesize call per slot;
  • model: "auto" only when every live speech card supports the language;
  • format: "mp3"; speed: 1.0;
  • one brand voice for the whole pack.

Keep each submitted input at or below 50,000 characters. Split on sentence boundaries. Write short spoken sentences from the script.

Inspect an authorized clone sample when clone is requested. For a local file, upload only through the bundled client after inspection (scripts/mcp_client.py / beatra.assets.upload). Keep the returned artifact id. Never pass a local path to beatra.voices.clone or beatra.speech.synthesize.

Confirm clone, then speech

Clone and speech are separate paid stages. Each stage gets its own six-field card and its own opaque client_request_id.

If the desk wants a cloned staff voice, inspect an authorized sample, read the live voice_clone card, and wait on the clone card before beatra.voices.clone. A found file is not clone consent. Show the clone card and wait:

  1. Work — one authorized voice sample (beatra.voices.clone).
  2. Credits — the live voice_clone price just read. Do not reuse a remembered number.
  3. Count — one paid clone call for this sample.
  4. Identity — one new opaque client_request_id.
  5. If we stop here — the labeled slot list remains usable.
  6. If the balance is insufficient — relay the official message and its top-up URL exactly. Translate the prose; keep the URL. Do not retry until the desk says they have topped up.

Before speech, call beatra.models.list for text_to_speech:

{"capability": "text_to_speech"}

Use beatra.voices.list when a catalog voice still needs a choice. Never put a display name in voice. Show the speech card and wait:

  1. Work — one spoken visitor-reception cue per named slot (beatra.speech.synthesize).
  2. Credits — the live text_to_speech price just read, times the slot count. Do not reuse a remembered number.
  3. Count — one paid speech call per slot.
  4. Identity — one new opaque client_request_id per slot.
  5. If we stop here — the labeled slot list remains usable.
  6. If the balance is insufficient — relay the official message and its top-up URL exactly. Translate the prose; keep the URL. Do not retry until the desk says they have topped up.

Submit each speech slot once through bundled scripts/mcp_client.py. Poll beatra.tasks.get. Read actual audio MIME, duration, and size, and billing.net_charged_credits. Do not promise the prepaid estimate is the final charge. A script preview is not the audio review.

Review, deliver, and recover

Review that every clip uses the same voice and that names match the pronunciation table and the written reception script. Report only what the host can actually hear. Do not invent a reception line, a visitor fact, or a policy not in the script.

After a returned task_id, poll that task. If the create response is lost, search with beatra.tasks.list and verify with beatra.tasks.get before replay. Reuse an ID only with byte-identical arguments. A changed line, voice, or speed is a new card and a new ID. Cancel only when the desk asks.

Execution

Invoke every remote Beatra operation only through this package's bundled scripts/mcp_client.py. Put the MCP tool name after call and send one JSON object on standard input.

python3 scripts/mcp_client.py call beatra.models.list
{"capability": "text_to_speech"}
printf '%s' '{"input":"<the written line for this slot>","voice":"voice_...","format":"mp3","client_request_id":"opaque-visitor-speech-01"}' | python3 scripts/mcp_client.py call beatra.speech.synthesize

Do not configure or call a host Beatra Connector, and do not use REST/OpenAPI as a fallback.

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

Runtime and safe automatic updates

The bundled client silently checks for a newer release at most once every 24 hours per installation. When a newer version is available, it installs automatically without separate confirmation. It downloads only from the fixed official Beatra discovery and immutable CDN paths for this package, channel, and locale, verifies discovery data, archive, manifest, and every packaged file, and replaces only package-owned files.

Update checks, downloads, verification, replacement, rollback, and recovery fail open: the current installation remains usable and the original command continues. An update failure never authorizes retrying a paid clone or speech request. The setting persists for this installation. See automatic updates and safety.

python3 scripts/mcp_client.py update --auto off
python3 scripts/mcp_client.py update --auto on
python3 scripts/mcp_client.py update --check