编程

xiaohongshu-policy-talking

试用

Turn Xiaohongshu policy-question notes into one talking policy clip per still. This Xiaohongshu policy talking studio reads public policy-question notes, then records each already-written public-policy line as a 2 to 15s talking clip. Those policy talking clips stay separate files they can send on their own.

它能做什么

Turn Xiaohongshu policy-question notes into one talking policy clip per still. This Xiaohongshu policy talking studio reads public policy-question notes, then records each already-written public-policy line as a 2 to 15s talking clip. Those policy talking clips stay separate files they can send on their own.

技能文档

Xiaohongshu Policy Talking

Turn Xiaohongshu policy-question notes into one talking policy clip per still. Deliver 2 to 8 clips. Do not stitch them. Speak only public-policy lines the desk already wrote. Do not invent a subsidy amount, eligibility, or a personal grant.

Scope and adjacent routes

Use this Skill when a street-office or civil-affairs desk wants short talking clips that answer public Xiaohongshu policy-question notes with an already-written public-policy draft.

Route Xiaohongshu hall materials stills to xiaohongshu-hall-faq-stills. Route a wealth-product FAQ note read to xiaohongshu-wealth-faq-talking. Route a generic presenter to talking-avatar-video.

This package reads Xiaohongshu policy-question notes and makes talking clips. It does not post on Xiaohongshu. If this connection has no Xiaohongshu note or comment operation, work from pasted questions only.

Collect the notes

Hard inputs are:

  • either a public Xiaohongshu note link or search wording the host can open, or the original policy-question notes already copied;
  • already-written public-policy facts the desk supplied (what the clip may say; no invented subsidy, eligibility, or personal grant);
  • at least one accessible still the host Agent can inspect — a presenter portrait or a policy graphic that will be the first frame;
  • 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, window 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 a note question, subsidy amount, eligibility rule, or personalized grant line. 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 note-to-talking list before any paid lookup, clone, speech, or video. Default three slots unless the desk names another count in 2 to 8. Each slot records the original policy-question wording, the speakable line from the supplied public draft, the still, 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 from whatever the desk already pasted. Planning is not approval.

Safe defaults:

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

Look up notes on their own card

A note link or search wording does not authorize a lookup. When the desk wants this connection to read public Xiaohongshu policy-question notes or comments, follow policy note lookup: search, inspect, then show a six-field lookup card and wait:

  1. Work — one public Xiaohongshu note search, note read, or comment page for the named policy FAQ (beatra.social.execute with the inspected operation_key).
  2. Credits — the live price beatra.social.tools.get just returned. Quote that live number, not a remembered one.
  3. Count — one prepaid lookup. A note search is its own billed execute. An image-note or video-note read is another. The comment page is another. The next page is another charge.
  4. Identity — one new opaque client_request_id per execute.
  5. If we stop here — the pasted-question plan remains usable.
  6. If the balance is insufficient — relay the official message and its top-up URL exactly (https://console.beatra.ai/wallet?intent=buy). Translate the prose; keep the URL. Do not retry until the desk says they have topped up. Do not recommend ¥198.

Do not show schema_hash to the desk. A confirmed lookup does not authorize clone, speech, or video. After a terminal lookup, report the payload, task ID, terminal status, and billing.net_charged_credits. A lookup has no model, dimensions, or duration to report.

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 desk 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 (https://console.beatra.ai/wallet?intent=buy). Translate the prose; keep the URL. Do not retry until the desk says they have topped up. Do not recommend ¥198.

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 public-policy 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 (https://console.beatra.ai/wallet?intent=buy). Translate the prose; keep the URL. Do not retry until the desk says they have topped up. Do not recommend ¥198.

Submit each speech slot once through bundled scripts/mcp_client.py with input, not text. Use format: "mp3" and speed: 1.0. Use model: "auto" only when every live speech card supports the language. Poll beatra.tasks.get. Read actual audio MIME, duration, and size, and billing.net_charged_credits. 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 policy 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 (https://console.beatra.ai/wallet?intent=buy). Translate the prose; keep the URL. Do not retry until the desk says they have topped up. Do not recommend ¥198.

Then submit beatra.videos.animate once per approved segment with driving_audio attached.

Review, deliver, and recover

Review that each clip stays on the supplied public-policy line and that the still is the first frame. 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 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"}
python3 scripts/mcp_client.py call beatra.models.list
{"capability": "image_to_video"}
printf '%s' '{"query":"notes","platform":"xiaohongshu","capability_family":"content"}' | python3 scripts/mcp_client.py call beatra.social.tools.search
printf '%s' '{"input":"Open on the approved public-policy line. Keep the desk-supplied wording.","voice":"voice-ready-01","format":"mp3","speed":1.0,"model":"auto","client_request_id":"opaque-policy-speech-01"}' | python3 scripts/mcp_client.py call beatra.speech.synthesize
printf '%s' '{"image":{"type":"artifact","artifact_id":"art-policy-01"},"driving_audio":{"type":"artifact","artifact_id":"art-speech-01"},"prompt":"A restrained public-policy read with steady eye line and a stable camera.","duration":8,"client_request_id":"opaque-policy-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.

References by task

  • For slot lists, lookup, payloads, and recovery, read policy talking workflow and policy note lookup.
  • For authorization and the non-billable registration step, read installation and authentication and installation registration.
  • For shared task, billing, and connection details, read tasks and results, billing, errors, and recovery, and Bundled MCP Client diagnostics.
  • For update guarantees and controls, read automatic updates and safety. For removal, read uninstall and disconnect.

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 lookup, 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

相关技能

Turn written product answers and public note questions into one spoken wealth FAQ clip per question. This talking clip studio reads the questions buyers actually ask on public Xiaohongshu notes, records a speakable answer for each, and delivers separate short videos the advisor can post on their own.

Turn a dated tax-policy source into a policy-points still and a speakable brief, then into one short tax policy brief clip. This tax policy brief clip studio lays out the supplied fiscal-policy points as a policy-points still and a talking tax-advisor brief. Use it for bookkeeping-firm policy briefs, tax-advisor client updates, and monthly tax-policy readout clips.

Turn a user-supplied product factsheet and authorized stills into one wealth product talking clip per still. This product factsheet talking video studio writes a speakable product highlights talking clip for each photo, then animates a 2 to 15s product factsheet talking clip. Use it for wealth product talking pack and factsheet talking video pack work that stays one photo, one clip.

Turn a user-supplied club-activity script and authorized stills into one club activity talking clip per still. This club notice talking video studio writes a speakable event script talking clip for each photo, then animates a 2 to 15s club notice talking clip. Use it for club activity talking pack, club signup talking clip, and activity notice talking pack work that stays one photo, one clip.

Turn user-supplied policy renewal dates and authorized stills into one insurance renewal reminder talking clip per still. This insurance renewal reminder talking video studio writes a speakable expiry-date talking clip for each photo, then animates a 2 to 15s renewal reminder talking clip. Use it for insurance renewal reminder talking packs that stay one photo, one clip.

Turn user-supplied insurance policy clauses and authorized stills into one insurance clause talking clip per still. This insurance clause talking video studio writes a speakable clause explanation talking clip for each photo, then animates a 2 to 15s insurance clause talking clip. Use it for insurance clause talking packs that stay one photo, one clip.