SkillsGrove
SkillsGrove/Видеопроизводство/beatra-ai/beatra-skills/ai-video-restyler

ai-video-restyler

Установка

$npx skills add https://github.com/beatra-ai/beatra-skills --skill ai-video-restyler
$git clone --depth 1 https://github.com/beatra-ai/beatra-skills.git /tmp/beatra-skills && mkdir -p ~/.claude/skills && cp -r /tmp/beatra-skills/skills/ai-video-restyler ~/.claude/skills/ai-video-restyler
Пожалуйста, установи для меня этот Agent Skill: https://github.com/beatra-ai/beatra-skills/tree/e6ca04e14dd2f60dd406772452e4f8975657fddd/skills/ai-video-restyler — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MIT-0Restyle one short video into a new visual treatment while carrying forward the source subject, action, composition, and camera intent. This AI video restyler and video style transfer workflow turns live action into anime, illustration, Chinese comic, ink, clay, paper-cut, or cyberpunk looks from one source clip and a chosen art direction, and reviews style match, subject identity, motion continuity, and source-audio result. Use it for live action to anime, brand visual refresh, Chinese-comic looks, fashion films, music visuals, and creator experiments, with one dominant visual change per run and honest post-result review.
Приведённый ниже SKILL.md воспроизведён из beatra-ai/beatra-skills (коммит e6ca04e) под лицензией MIT-0. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 Beatra. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

AI Video Restyler

Restyle one short source video into a coherent new visual treatment while carrying forward the source subject, action, composition, and camera intent. Use this Skill for live-action-to-anime, illustration, Chinese-comic, ink, clay, paper-cut, cyberpunk, retro-film, commercial visual refresh, or a supplied reference-style conversion.

Scope and adjacent routes

The normal route is one source video, one chosen target style, and one restyled clip. Route a request to remove an AI look and make footage more natural to a video-realism workflow; a request to add footage before or after the clip to a video-continuation workflow; and a request to begin and end on two fixed images to a first-and-last-frame workflow. Keep this route focused on whole-clip generative restyling of one existing video.

Inputs and defaults

The hard inputs are:

  • one accessible source video the host Agent can inspect;
  • one target style or visual reference direction;
  • the source elements to preserve.

Ask only for a missing hard input. Reuse the known scene, mood, destination, aspect ratio, and source-audio preference. For a local video file the host Agent can access, use the bundled upload helper only after inspection:

python3 scripts/mcp_client.py upload ./source-clip.mp4 --mime-type video/mp4

Upload is transport, not creative review. Retain the returned artifact reference and never pass a local path to a remote tool.

Default to one restyled clip, model: "auto", and a source-derived aspect ratio. Build one positive edit instruction with a single visual thesis: the one dominant visual change this run should deliver. Optional ordered image or video references should clarify the target style rather than add unrelated content. Treat subject identity, key actions, camera movement, composition, scene, and the source-audio intent as must-keeps and review the result for drift rather than promising exact preservation.

Golden path

  1. Inspect the source video. Record its actual MIME type, width, height, aspect ratio, duration, and byte size. Identify the subject, silhouette, key actions, camera movement, composition, scene, dominant palette, source audio, and the requested target style.

  2. Build a preservation brief: subject identity, silhouette, key actions, camera movement, composition, scene, dominant palette, and source-audio intent. Then write one positive edit instruction that states the single dominant visual change.

  3. Call beatra.models.list with {"capability":"video_edit"} before naming compatibility, duration, resolution, or a numeric estimate. Admit the complete payload against one current card: the source clip's actual MIME type, dimensions, duration, byte size, and any reference media, plus live duration behavior and price basis. When duration is a sendable control rather than source-derived, write the shortest admitted integer. Keep the model at auto unless the user chose a concrete eligible model. Any numeric estimate is provisional; the terminal task's billing.net_charged_credits is final.

  4. Show an admission card before any client_request_id or beatra.videos.edit call: route video_edit, tool beatra.videos.edit, source, instruction, duration if set, resolution if set, output count, provisional live estimate, the fact that the 600-credit signup gift usually cannot start this video, and what happens if the balance is short. Planning, comparison, or “make the clip” is not approval. Do not submit until the user confirms they have topped up or already have enough credits for this estimate. Freeze the exact payload with one opaque stable client_request_id; then submit one beatra.videos.edit call exactly once. Invoke only the bundled scripts/mcp_client.py: the MCP tool name is the CLI argument and its arguments are JSON on standard input. For example:

    printf '%s' '{"source_video":{"type":"artifact","artifact_id":"art_source"},"instruction":"Restyle the clip into a soft hand-drawn anime look with warm cel shading, keeping the subject, action, and camera unchanged.","client_request_id":"opaque-restyle-id"}' | python3 scripts/mcp_client.py call beatra.videos.edit
    

    Do not configure, call, or use a host Beatra Connector. Do not use REST/OpenAPI fallback. Submit beatra.videos.edit exactly once.

  5. Record the returned task ID immediately and poll the same task with beatra.tasks.get until terminal. Deliver every returned video artifact or link. Report only actual returned task status, resolved model, dimensions, duration, usage, and billing.net_charged_credits. Review accessible output for style match, subject and object structure, camera continuity, motion, temporal coherence, source-audio result, ratio, and actual duration. State what the host Agent could and could not inspect.

Paid changes, recovery, and cancellation

Restyling is one paid stage. A changed source video, reference media, edit instruction, model, aspect ratio, duration, or video control is new logical paid work with a new ID, a new admission card, and fresh top-up or balance confirmation. On insufficient_balance, relay the returned message, keep the top-up URL inside the balance error exact, and retry the same frozen client_request_id only after the user says they have topped up.

If a create response is lost, retry only the identical frozen payload with the same stage ID. If a task ID is lost, call beatra.tasks.list for the relevant capability, inspect plausible candidates with beatra.tasks.get, and match them against that stage's private ledger before considering an identical retry. Queued and running are progress states, not failures. Recover the original stage before planning changed work; never duplicate a paid submission or guess its charge or refund.

Call beatra.tasks.cancel only when the user asks to cancel. Call it once and confirm the resulting terminal state with beatra.tasks.get. A 409 means cancellation is not confirmed, so continue polling that same task without creating replacement work.

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

Use or invoke the bundled scripts/mcp_client.py for every Beatra operation.

Updates and security

This Skill runs only the files installed with it and leaves them unchanged while it runs; it never downloads or executes other code. It talks to Beatra's official services over HTTPS, and a file you choose to upload goes only to the one-time upload address Beatra issues for it.

Once a day at most, the bundled client reads Beatra's public version list. When the store or tool you installed from has a newer version, it prints one line with the command that updates it there. Updating stays your choice, through that store or tool. See updates and security.

Полный текст лицензии (MIT-0)
MIT No Attribution

Copyright 2026 Beatra

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.