Install
openclaw skills install @beatra-ai/douyin-comment-to-demo-clipTurn Douyin comment objections into one comment talking clip per still. This douyin comment demo studio writes a speakable demo talking clip from each seller-picked objection, then animates a 2 to 15s objection demo clip. Use it for comment demo video and a douyin objection video that stay one photo, one clip.
openclaw skills install @beatra-ai/douyin-comment-to-demo-clipTurn Douyin comment objections into one talking demo clip per still. Deliver 2 to 8 clips. Do not stitch them.
Use this Skill when a seller wants short talking clips that answer public Douyin comment objections from stills they can authorize.
Route grouped audience language to comment-voc-miner. Route pin
screenshot stills to comment-pin-card. Route a generic talking
teaser that is not answering comments to talking-avatar-video or
creator-drop-talking.
This package reads Douyin comments and makes talking clips. It does not post a reply on Douyin. If this connection has no Douyin comment operation, work from pasted lines only.
Hard inputs are:
Reuse already-known language, SKU 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 comment, username, like count, price, or offer. 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.
Write a labeled quote-to-demo list before any paid lookup, clone, speech, or video. Default three slots unless the seller names another count in 2 to 8. Each slot records the original comment line, the speakable demo reply from confirmed facts, 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 seller already pasted. Planning is not approval.
Safe defaults:
beatra.videos.animate call per still;model: "auto" unless the seller chose a live SKU;A post link does not authorize a lookup. When the seller wants this connection to read a public Douyin post, follow comment lookup: search, inspect, then show a six-field lookup card and wait:
beatra.social.execute with the inspected operation_key).beatra.social.tools.get just returned.
Quote that live number, not a remembered one.client_request_id per execute.Do not show schema_hash to the seller. 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.
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 seller 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:
beatra.voices.clone).voice_clone price just read. Do not reuse a
remembered number.client_request_id.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:
beatra.speech.synthesize).text_to_speech price just read, times the
slot count. Do not reuse a remembered number.client_request_id per slot.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. 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:
beatra.videos.animate).image_to_video price just read, times the
segment count. Do not reuse a remembered number.client_request_id per segment.Then submit beatra.videos.animate once per approved segment.
Review that each clip answers the named objection 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 seller asks.
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":"comments","platform":"douyin","capability_family":"comments"}' | python3 scripts/mcp_client.py call beatra.social.tools.search
printf '%s' '{"image":{"type":"artifact","artifact_id":"art-demo-01"},"driving_audio":{"type":"artifact","artifact_id":"art-speech-01"},"prompt":"A restrained product demo with steady eye line and a stable camera.","duration":8,"client_request_id":"opaque-demo-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.
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.
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