/layer:layer-videofrom Layer
Guides Layer video generation: text-to-video, image-to-video, clip extension, camera motion, audio, lip sync, and multi-shot ad or trailer planning.
Ships in Layer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Video models take a prompt the way a director takes a shot list, not the way an illustrator takes a brief. A video prompt describes what changes over the clip. A prompt that only describes the scene yields a near-still image with drifting artefacts, which is the most common failure here.
Pick the use case first: text_to_video from nothing, image_to_video to animate an existing
frame, video_extend to continue a clip, video_editing to alter one (repairing a clip rather than
rerolling it is layer-video-fixes). The loop and spend gate are in the layer skill. Assembling
finished clips into one deliverable is layer-video-timeline.
If a sibling skill named here is missing from your available skills, ask the user to install it
(npx skills add layerai/skills --skill <name>); unattended, proceed from tool schemas and flag the
gap.
image_to_video beats text_to_video almost every time a look has already been approved. The first
frame fixes the character design, palette, and composition, so the model spends its capacity on
motion instead of re-inventing the subject. Attach the still as init_image or first_frame
depending on what the model accepts, and where a model takes both first_frame and last_frame,
supplying both is the most reliable way to control where a shot ends up.
Generate the key frame with layer-image, approve it, then animate it.
Name three things, in this order:
Model families disagree about conventions, so read get_base_model for the one you picked rather
than reusing phrasing that worked on another family. Where a model exposes structured
video_effects ([{type: "DOLLY_IN", weight}]), prefer that over prose for the same move. Choosing
moves, lens, light, technique presets and pacing is layer-video-direction.
Clip length is per-model and short, usually a handful of seconds. Do not plan a 30-second piece as one generation without confirming a model supports it.
Some models choose their own length and ignore duration_seconds entirely. When the clip has to land
on an exact length, filter for fixed_duration, which excludes them. Without it a model may simply
hand back a different length, and nothing in the response reads as an error.
generate_audio is a capability, so filter for it when the clip needs native sound rather than
assuming silence can be fixed later. Dialogue and lip sync on a character are layer-talking-characters.
filter.capabilities is an object of booleans, not a list of names: {generate_audio: true}.
Generation is rate limited per user: 600 per minute across all
modalities, plus 300 video per minute. On RATE_LIMITED, wait the Retry-After interval, then
retry; never cancel a run the user asked for to free a slot.
Where get_base_model reports capabilities.draft, iterate on drafts: draft: true renders a quick,
low-cost take. Finish only the one you keep, with a second execute_forge: base_model_id set to the
draft's draft.completion_base_model_id, batch_size: 1, the draft's file_id as a guidance file of
type draft.completion_guidance_type, and no prompt or other generation parameters, since the
completion keeps the draft's prompt, motion and length. The completion bills per second of the draft,
so estimate it with the completion model and the draft's duration_seconds. A draft completes once
and may expire (draft.status, expires_at), so finish a keeper promptly.
Burned-in captions are their own use case, video_subtitle, not something to prompt for. Read the
model's subtitle_presets and pass subtitle_preset spelled exactly as listed, plus
subtitle_alignment and colours where its capabilities report them. Dynamic presets bill higher, so
estimate with the same preset. Captions in other languages, and dubbing, are layer-localization.
An ad, trailer, or cutscene is several shots. One generation holds its own continuity and a cut
does not, so check first whether a model can render the piece in one. Otherwise lock the look with
one approved still, then follow layer-video-continuity to chain shots and hold the character, and
layer-video-timeline to cut them. Storyboard anything over three shots (layer-art-direction).
Filter for the loop capability first: it selects models that compose a seam-free loop, not ones
that accept the word "looping" and return a clip that jumps at the cut. Pair it with
fixed_duration for a specific length.
Failing that, generate the anchor frame and use it as both first_frame and last_frame where the
model accepts both, so the motion at least returns to where it started.
Either way, keep the motion cyclical (a flag in wind, a torch flicker, a hovering idle); one-way motion, such as a character walking out of frame, cannot loop.
"Animate this approved character key frame into a 5-second idle loop."
file_id.list_base_models with filter.use_case: "image_to_video" and
filter.capabilities: {loop: true, fixed_duration: true}, since this has to loop seamlessly and
land on five seconds. Take the first result, then get_base_model to see whether it accepts
last_frame and structured video_effects.first_frame and last_frame so the loop closes.poll_interval_seconds, and check the seam by watching the end run into the
start before calling it a loop.text_to_video when an approved still already exists.loop capability, or leaving fixed_duration
off when the length matters.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-generation, text-to-video, image-to-video, camera-motion, lip-sync
npx claudepluginhub layerai/skills --plugin layer32 skills in this plugin
/layerUse when generating or editing game and entertainment assets on Layer through MCP: images, video, 3D meshes, audio, sprites, textures, or marketing creative. Also when choosing a Layer base model, pricing a run in Creative Units before spending them, uploading reference files, polling a generation, applying a trained style, or recovering from MODEL_NOT_FOUND, INSUFFICIENT_BALANCE, RATE_LIMITED, or a silently degraded reference set./layer-3dUse when producing 3D assets with Layer: generating a mesh from text or an image, retopologising or remeshing, retexturing an existing mesh, rigging a character, or animating a rigged mesh. Also when choosing between quad and triangle output, setting a polygon budget, or asking for PBR textures for a game engine. Keywords: 3D, mesh, model, text to 3D, image to 3D, remesh, retopology, retexture, rig, skeleton, animate, PBR, quad mesh, poly count, glTF, FBX./layer-art-directionOther plugins' skills for the same job