Imported from beatra-ai/beatra-skills (
skills/image-to-motion/SKILL.md). Install upstream withnpx skills add beatra-ai/beatra-skills --skill image-to-motion. Copyright stays with the author.
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
-
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.generateorbeatra.videos.enhance_prompt. -
Call
beatra.models.listwith{"capability":"image_to_video"}before naming compatibility, duration, resolution, or a numeric estimate. Keepmodel: "auto"unless the user chose a concrete eligible model. Admit the complete payload against one current card. Write the shortest admitted integerduration. 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'sbilling.net_charged_creditsis final. -
Show an admission card before any
client_request_idorbeatra.videos.animatecall: routeimage_to_video, toolbeatra.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. -
Freeze the image reference, prompt if used, model, duration, aspect ratio, resolution, audio, every optional control, and one opaque stable
client_request_idin a private execution ledger. Invoke the bundledscripts/mcp_client.pyonly: 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.animateDo not configure, call, or use a host Beatra Connector. Do not use REST/OpenAPI fallback. Submit
beatra.videos.animateexactly once. -
Record the returned task ID immediately and poll the same task with
beatra.tasks.getuntil terminal. Queued and running are progress states, never reasons to resubmit. -
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
- Read Motion brief, request, and recovery when constructing the brief or exact payload, checking live model facts, polling, recovering a task, cancelling, or reviewing delivery.
- Read Installation and authentication only when authorization or shared credentials need attention.
- Read Installation registration for the non-billable best-effort package registration step.
- Read Tasks and results for shared terminal task and artifact semantics, and Billing, errors, and recovery for returned billing or error details.
- Read Bundled MCP Client diagnostics when the bundled client cannot connect. Do not configure a host Connector.
- Read Automatic updates and safety for update guarantees and controls.
- Read Uninstall and disconnect only when the user asks to remove the package or shared credentials.
Runtime and safe automatic updates
Use or invoke the bundled scripts/mcp_client.py for every Beatra operation. Before ordinary commands it silently checks for a newer release at most once every 24 hours per installation. Silent checks are enabled by default, and a newer release installs without separate confirmation.
The updater accepts only the fixed official discovery address and immutable Beatra CDN path embedded for this package, channel, and locale. It verifies the discovery data, archive, manifest, and every file's size and checksum before replacement. It replaces only package-owned files and rejects redirects, downgrades, wrong package/channel/locale/version data, unexpected URLs, unsafe archives, and files outside the owned destination.
Update checks, downloads, verification, replacement, rollback, and recovery fail open: the current installation remains usable and the user's original command continues. An update failure never authorizes retrying a paid generation. The automatic-update choice persists across later commands for this installation:
python3 scripts/mcp_client.py update --auto off
python3 scripts/mcp_client.py update --auto on
python3 scripts/mcp_client.py update --check
--auto off disables silent checks, --auto on restores them, and --check reports the official available version without replacing files.
