SkillsGrove
SkillsGrove/Видеопроизводство/beatra-ai/beatra-skills/image-to-motion

image-to-motion

Установка

$npx skills add https://github.com/beatra-ai/beatra-skills --skill image-to-motion
$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/image-to-motion ~/.claude/skills/image-to-motion
Пожалуйста, установи для меня этот Agent Skill: https://github.com/beatra-ai/beatra-skills/tree/e6ca04e14dd2f60dd406772452e4f8975657fddd/skills/image-to-motion — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MIT-0Turn a single photo, product image, portrait, illustration, or AI artwork into a short image-to-video clip. This AI photo animator and picture-to-video workflow helps you bring a still image to life with directed subject motion, camera movement, pacing, duration, and aspect ratio while treating recognizable faces, product shape, logos, and composition as must-keep priorities. Use it for product photo animation, social video hooks, cinematic motion, animated portraits, storyboard shots, and moving artwork, then review the delivered video for visual drift and motion quality.
Приведённый ниже SKILL.md воспроизведён из beatra-ai/beatra-skills (коммит e6ca04e) под лицензией MIT-0. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 Beatra. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

Image to Motion

Turn one still image the user supplied into one purposeful image-to-video clip. Use this Skill for a product image, portrait, photo, illustration, poster, or AI artwork when the desired result starts from that exact still and adds directed subject motion, camera movement, and pacing.

Scope and adjacent routes

The trigger is one supplied still becoming one short clip. Route a text-only request to text-to-video; route strict first and last frames to a frames-to-video workflow; route changes or extensions to an existing video to video edit or extend; and route a speaking, lip-synced, or audio-driven presenter to a talking-avatar workflow. Keep a viable motion or video-edit request on its appropriate video route; never replace it with image generation.

Inputs and defaults

The one hard input is an accessible image that the host Agent can visually inspect. If it is missing or inaccessible, ask only for that image and stop before diagnosis or paid preparation. Reuse a known destination, motion intent, must-keeps, and framing instead of asking again. If a local file is visible to the host Agent, upload it for transport with the bundled helper:

python3 scripts/mcp_client.py upload ./selected-image.png --mime-type image/png

Upload is transport, not diagnosis. Inspect the visible source before upload, retain the returned artifact reference, and never pass a local path to a remote tool.

Default to one clip, model: "auto", and the supplied image as the strict first frame. After the live image_to_video card is read, write the shortest integer duration that card admits. Omit aspect ratio, resolution, audio, and every other optional control unless the destination or an explicit user choice requires one; when resolution is required, use the lowest admitted tier unless the user named a higher one. Build the direction around one readable subject action and one primary camera movement. Treat requested faces, product shape, logos, typography, and composition as must-keeps; do not require the user to weaken those priorities in advance. Review the delivered clip for drift because generative motion cannot guarantee pixel-perfect later frames.

Golden path

  1. Inspect the visible image. Identify the subject, framing, protected details, destination, one subject action, one camera move, and pacing. Express them as a compact motion brief. Do not replace the supplied still with beatra.images.generate or beatra.videos.enhance_prompt.

  2. Call beatra.models.list with {"capability":"image_to_video"} before naming compatibility, duration, resolution, or a numeric estimate. Keep model: "auto" unless the user chose a concrete eligible model. Admit the complete payload against one current card. Write the shortest admitted integer duration. Omit aspect ratio and other optional controls unless a user choice or destination requires them. Any numeric estimate is provisional; never quote a remembered price. The terminal task's billing.net_charged_credits is final.

  3. Show an admission card before any client_request_id or beatra.videos.animate call: route image_to_video, tool beatra.videos.animate, source, brief, duration, 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.

  4. Freeze the image reference, prompt if used, model, duration, aspect ratio, resolution, audio, every optional control, and one opaque stable client_request_id in a private execution ledger. Invoke the bundled scripts/mcp_client.py only: the MCP tool name is the CLI argument and its tool arguments are JSON on standard input. For example:

    printf '%s' '{"image":{"type":"artifact","artifact_id":"art_opening"},"prompt":"A restrained camera push while the product remains centered.","duration":5,"client_request_id":"opaque-stable-id"}' | python3 scripts/mcp_client.py call beatra.videos.animate
    

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

  5. Record the returned task ID immediately and poll the same task with beatra.tasks.get until terminal. Queued and running are progress states, never reasons to resubmit.

  6. Deliver every returned video artifact or link. Report only actual returned facts: task ID and status, resolved model, dimensions, duration, usage, and billing.net_charged_credits. Compare the result with the source for subject stability, intended and unwanted motion, camera coherence, pacing, must-keep drift, and destination fit. State the limits of what the host Agent could actually inspect; never claim to have reviewed frames or audio that were not accessible.

Paid changes, recovery, and cancellation

A changed source, prompt, model, duration, aspect ratio, resolution, audio, or other control is new logical paid work: create a new ID, show the changed admission card, and obtain fresh top-up or balance confirmation. Never reuse an ID across changed arguments. On insufficient_balance, relay the returned message, keep the top-up URL inside the balance error exact, and retry the same frozen ID only after the user says they have topped up.

If the create response is lost, an identical retry is allowed only with the same frozen arguments and same ID. If the task ID is lost, call beatra.tasks.list with {"capability":"image_to_video"}, call beatra.tasks.get for plausible candidates, and match their returned facts against the private ledger before considering that identical retry. Recover the original task before planning changed work. Failures and timeouts do not authorize a duplicate submission or a guessed refund.

Call beatra.tasks.cancel only when the user asks to cancel. A 409 means cancellation is not confirmed; continue polling that same task and do not create replacement work.

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.