360 Secure SkillHub
360 安全技能中心

Market Inspection Talking Clips

接收商户检查通告与授权静图,先输出免费的分镜清单,再按克隆语音、语音合成、图生视频三个阶段分别弹确认卡,逐张生成2–15秒的商户通告播报视频。所有远端调用经打包的 MCP 客户端脚本,并含计费、轮询与故障恢复说明。

beatra-ai
beatra-ai
热度 58.49
最近更新 2026-10-12 21:59:53
分类:创作依赖:代码执行 / 读写文件 / MCP 服务 / 第三方 API应用场景:视频编辑 / 图像生成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add market-inspect-talking
Metadata
name
market-inspect-talking
description
Turn user-supplied merchant inspection notices and authorized stills into one market inspection talking clip per still. For each photo it writes the spoken line from your notice and animates a 2 to 15s merchant notice talking clip. The result is a market inspection talking pack, a merchant notice talking video pack with one clip per photo.

Market Inspection Talking Clips

Turn user-supplied merchant inspection notices and authorized stills into one talking clip per still. Deliver 2 to 8 clips. Do not stitch them. Speak only notices already written on that merchant sheet.

Scope and adjacent routes

Use this Skill when a market-supervision office wants short talking clips that read user-supplied merchant inspection notices from stills they can authorize.

Route a generic presenter that is not a merchant-notice read to talking-avatar-video. Route a store PA promo pack to store-pa-broadcast-pack. Route a housing subsidy conditions read to housing-subsidy-talking. Route a security-awareness brief to security-aware-talking.

Collect the merchant notices

Hard inputs are:

  • at least one accessible still the host Agent can inspect — a presenter portrait or a notice graphic that will be the first frame;
  • merchant inspection notices the office supplied (what to prepare, what to show, contact or window hours already on the sheet);
  • likeness and voice rights when a face or a cloned voice will appear;
  • how many clips the pack should contain, or permission to use the default of 3.

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

Do not invent violations, state enforcement conclusions, promise inspection outcomes, or approve compliance. File access is not consent.

Inspect every still. Record MIME type, width, height, aspect ratio, byte size, and whether it has an alpha channel. 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, beatra.speech.synthesize, or beatra.videos.animate.

Plan the free slot list

Write a labeled market-inspection talking list before any paid clone, speech, or video. Default three slots unless the office names another count in 2 to 8: preparation, cooperation, and contact or window hours. Each slot records the still, the spoken line from the supplied merchant notices, intended length as a 2–15s clip, and whether it uses a catalog voice, an approved track, or a clone.

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

Safe defaults:

  • one beatra.videos.animate call per still;
  • model: "auto" unless the office chose a live SKU;
  • the still as the strict first frame;
  • source-derived aspect ratio;
  • audio-led duration inside 2–15s. Do not stitch.

Confirm clone, speech, then video

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

If the office wants a cloned 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 office 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. Show the speech card and wait:

  1. Work — one spoken merchant-notice line 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 office 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. A script preview is not the audio review.

Before video, call beatra.models.list for image_to_video:

{"capability": "image_to_video"}

Confirm a current card admits [image, driving_audio]. Compare every image fact and the real audio MIME, duration, and size with advertised limits. Live driving-audio clips are 2–15s. If speech is longer than the longest containable clip, split into sequential containable segments; each segment is new speech and new video, each with a new ID. Do not stitch the segments into one file. Approved narration does not authorize video. The 600-credit signup gift usually cannot start this video. Show the video card and wait:

  1. Work — one talking merchant-notice clip per named still (beatra.videos.animate).
  2. Credits — the live image_to_video price just read, times the segment count. Do not reuse a remembered number.
  3. Count — one paid video call per approved audio segment.
  4. Identity — one new opaque client_request_id per segment.
  5. If we stop here — the slot list and approved narration remain 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 office says they have topped up.

Then submit beatra.videos.animate once per approved segment.

Review, deliver, and recover

Review identity, speech clarity, and mouth timing. Report only what the host can actually see and hear. Do not promise perfect lip sync. Never invent a stitch, concat, or editor tool. After each terminal paid task, deliver actual bytes plus MIME, duration, and size when present, and billing.net_charged_credits. Do not promise the prepaid estimate is the final charge.

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 still, line, voice, or duration is a new card and a new ID. Cancel only when the office 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"}
python3 scripts/mcp_client.py call beatra.models.list
{"capability": "image_to_video"}
printf '%s' '{"image":{"type":"artifact","artifact_id":"art-notice-01"},"driving_audio":{"type":"artifact","artifact_id":"art-speech-01"},"prompt":"A restrained merchant-notice read with steady eye line and a stable camera.","duration":8,"client_request_id":"opaque-notice-video-01"}' | python3 scripts/mcp_client.py call beatra.videos.animate

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

If the tool returns insufficient credits: give the user the tool message in full. Do not change the URL. You may translate the other words. Do not replace it with your own top-up copy. Point the user to pay using that message.

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, speech, or video 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