360 Secure SkillHub
360 安全技能中心

office-floor-tour

该 Skill 读取卖家提供的办公室楼层照片、楼层名称和时长,先检查图片并生成带标签的镜头清单,再经模型卡和计费确认后通过自带 MCP 客户端逐张提交视频生成任务,轮询任务并核对实际扣费与交付结果;不包含宿主连接器配置。

beatra-ai
beatra-ai
热度 19.90
最近更新 2026-09-06 23:02:50
分类:创作依赖:代码执行 / 读写文件 / 第三方 API / MCP 服务应用场景:视频编辑

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add office-floor-tour
Metadata
name
office-floor-tour
description
Turn seller-supplied office floor stills into one office floor tour clip per labeled still. This office floor video studio lays out each floor walkthrough clip from the seller-supplied floor photo, then delivers an office listing clip and a floor walkthrough video as separate files. Use it for office floor packs that give each still its own clip.

Office Floor Tour

Turn seller-supplied office floor stills into one short clip per labeled still. Cover lobby, typical floor, and view first when those photos exist.

Scope and adjacent routes

Use this Skill when an office listing needs one short floor clip from each floor still the seller sent.

Route listing room stills to listing-room-video-pack. Route hotel amenity stills to hotel-amenity-clip. Route a generic still that is not an office floor to image-to-motion.

Read only the supplied stills and floor names. Do not add a floor, slogan, or camera move that is not on the list.

Collect the floor stills

Hard inputs are:

  • at least one inspectable floor still the host Agent can open;
  • the floor name for each still (lobby, typical floor, view, or another name the seller already uses);
  • a duration in the 2–15s range, or permission to use 5s.

Reuse already-known language, aspect, and must-keeps. Ask only for a missing hard input.

Do not invent a lobby, typical floor, or reading from a similar tower. File access is not consent to reuse a still outside this floor set.

If a still exists and its floor name is empty, stop and collect the name.

Plan the free shot list

Write a labeled floor-clip list before any paid animate. One slot per still. Each slot records the floor name from the seller, the inspected still facts, and the chosen duration.

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

Safe defaults:

  • one beatra.videos.animate call per still;
  • model: "auto";
  • the still as the first frame;
  • no driving_audio;
  • a source-derived aspect ratio;
  • duration 5s unless the seller names another supported integer in 2–15.

Inspect each 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.videos.animate.

Confirm animate

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

{"capability": "image_to_video"}

Admit each still against a current card that accepts a first-frame image without driving audio. Compare every image fact and the chosen duration with advertised constraints. If any required media fact is unavailable or incompatible, stop before video.

Show one current production card and wait before any video client_request_id or beatra.videos.animate call:

  1. Work — one floor clip per named still (beatra.videos.animate).
  2. Credits — the live image_to_video price just read. Do not reuse a remembered number.
  3. Count — one paid call per still.
  4. Identity — one new opaque client_request_id per still.
  5. If we stop here — the labeled shot 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 seller says they have topped up.

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

Review, deliver, and recover

Review that every clip keeps the floor shown in that still. Report only what the host can actually see.

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, prompt, duration, or model is a new card and a new ID. Cancel only when the seller 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": "image_to_video"}
printf '%s' '{"image":{"type":"artifact","artifact_id":"<the uploaded floor still>"},"prompt":"<the written floor name for this still>","duration":5,"client_request_id":"opaque-floor-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.

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