/summer:animated-loopfrom Summer Engine
Generates 5-second seamless ambient video loops for title screens, menu backgrounds, and splash cards. Forces constraints that make loop seams invisible.
Ships in Summer Engine. 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.
Read when SKILL.md points to them.
A loop is the only video format that has to not have a beginning or end. The viewer sees it on the title screen for 30 seconds; if the seam between loop iterations is visible, the whole thing reads as broken. This skill exists to force the constraints that make seams invisible: take the shortest duration available, keep the motion ambient (no narrative, no big camera moves), use the fast model (ltx), and prompt for a composition where the first and last frames are functionally identical.
Duration is not a dial here. On ltx and kling, assets.generate_video renders only duration: 5 or duration: 10; every other value renders 5. So "drop to 3s to hide the seam" is not an option — 5s is the floor, and the seam has to be won in the prompt and the reference frame instead.
If the user wants a 5s punchy marketing shot, that's trailer-shot. If they want a 10s narrative cutscene, that's cinematic-cutscene. This skill is the one for video that has to disappear — atmosphere behind a logo, mood behind a menu, ambience behind a splash card.
trailer-shot.hero-art.cinematic-cutscene.concept-art and use a TextureRect. A still is cheaper, lighter, and never seams.Tween or sprite sheets, not video.Quick check — this loop will play on a screen the user might stare at for 30+ seconds. That means the loop point must be invisible. I'll take the 5s minimum and prompt for ambient motion (drift, flicker, shimmer) rather than a narrative beat. OK?
If the user wants narrative motion (a character walking, a door opening), this is the wrong skill — route to cinematic-cutscene.
ltx first, alwaysFor loops, ltx is almost always right. It takes ~30s, and short ambient motion is what it handles best. The premium models cost more credits and do not loop better.
This skill always passes imageUrl (step 3), which puts every call on the image-to-video route. kling-turbo and veo3 are text-to-video only; pairing either with an imageUrl is a 400 invalid_model, not a silent downgrade.
| Model | i2v? | Speed | When |
|---|---|---|---|
ltx | yes | ~30s | Default. Use this. |
kling | yes | 2-4 min | Only if the loop is the centerpiece of a premium splash and quality is visibly lacking on ltx |
kling-turbo | no | 1-2 min | Not reachable from this skill — text-to-video only |
veo3 | no | 3-5 min | Not reachable from this skill, and pointless for ambient loops anyway |
The reference still doubles as the target loop frame. Generate it deliberately — the video model's first and last frames will gravitate toward the reference, which is exactly what you want for a closing seam.
assets.generate_image({
prompt: "<subject>, ambient atmospheric scene, cinematic lighting, painterly, wide framing, balanced composition with no clear focal action",
model: "nano-banana-2",
aspectRatio: "16:9"
})
Set aspectRatio to the screen the loop fills (16:9, or 9:16 for a vertical mobile splash).
On the image-to-video route aspectRatio is not applied at all — the clip inherits the reference image's framing. So a vertical mobile splash needs a 9:16 reference image, and setting aspectRatio: "9:16" on the video call does nothing.
Loopable motion is continuous, ambient, directionless, or oscillating. Avoid anything with a beginning or end (a character entering, a sword swinging, a door closing).
Loopable verbs: drift, flicker, swirl, shimmer, sway, pulse, glow, rise, fall, wave, breathe, ripple.
Non-loopable verbs (avoid): walks, enters, appears, emerges, transforms, attacks, falls down, opens, closes.
assets.generate_video({
prompt: "<subject from reference>, <ambient loopable motion>, slow continuous, looping, seamless, cinematic",
model: "ltx",
imageUrl: "<reference URL from step 3>",
duration: 5,
negativePrompt: "sudden movement, character action, narrative event, fade to black"
})
The phrase "looping, seamless" in the prompt biases the model toward stable first/last frames, and negativePrompt rules out narrative drift. Images have no negative prompt: put negations in the image prompt text.
aspectRatio is omitted deliberately: it is applied on the text-to-video path only, and this call passes imageUrl.
The call answers at once with { status: "running", job: { id } } and no URL. Call jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 }) until finished is true; only a done job's result holds the clip.
Watch the result and the seam (the cut between the last and first frame on replay). If the seam is visible:
slow continuous, returning motion, oscillating in the prompt.constant lighting, no time of day change.very slow, barely perceptible drift).If three regenerations don't seam-close, accept a small crossfade in the engine: set up two VideoStreamPlayer nodes and crossfade between them via a Tween. This is a fallback, not the goal.
Import the .mp4 as it is; the import converts it. Summer Engine plays video only as Ogg Theora (.ogv) — there is no MP4 or WebM loader in the build — so every Summer import tool converts a video on the way in: summer_import_from_url, its batch, summer_import_asset_by_id and summer_import_asset. A clip Summer generated or stores converts on Summer's media host; any other video converts with ffmpeg on this computer when it has Theora, else on summerengine.com. The .ogv lands at the path you asked for with the extension swapped, and the answer names it in videoConversions and note:
summer_import_asset_by_id(assetId="<the clip's asset id>", path="res://assets/video/loops/title_screen_bg.mp4")
→ importedTo: res://assets/video/loops/title_screen_bg.ogv
Load the .ogv path from the answer, never the .mp4.
Then wire it in one script. scenePath is the exact scene to change:
summer_run_script(scenePath="res://ui/title_screen.tscn", source="""
func run(ctx):
var loop_player = ctx.add_node("VideoStreamPlayer", "BackgroundLoop", null, {
"stream": load("res://assets/video/loops/title_screen_bg.ogv"),
"autoplay": true,
"loop": true,
"expand": true,
})
loop_player.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT) # the loop fills the menu
ctx.get_scene_root().move_child(loop_player, 0) # drawn first: the menu draws on top
ctx.save_scene()
""")
Controls draw in tree order and later siblings render on top, so the logo and menu buttons come after the VideoStreamPlayer in the tree.
Loops should never have a baked audio track that loops with them — the audio seam will be even more obvious than the visual one. The video models don't generate audio anyway, but if you ever import a clip that has audio, mute it:
summer_set_prop(scenePath="res://ui/title_screen.tscn", path="./BackgroundLoop", key="volume_db", value=-80)
Score the menu separately with music-track.
Pattern: <subject> + <ambient loopable motion> + <constant lighting> + "looping, seamless" + <stylistic anchor>. Keep under 40 words. Always pair with imageUrl.
| Goal | Model | Prompt | Duration |
|---|---|---|---|
| Title menu — fog forest | ltx | dense pine forest in low fog, fog drifting slowly between trunks, soft moonlight, ambient particles rising, looping, seamless, cinematic painterly | 5s |
| Title menu — dungeon torch | ltx | stone dungeon corridor lit by a single torch, flame flickering steadily, dust motes drifting in the light cone, looping, seamless | 5s |
| Splash — embers / sky | ltx | dusk sky with slow drifting embers rising upward across frame, deep blue gradient, looping, seamless, cinematic | 5s |
| Logo backdrop — magic runes | ltx | dark surface with glowing blue runes pulsing softly in slow rhythm, faint shimmer, no narrative motion, looping, seamless | 5s |
| Menu — underwater | ltx | underwater scene with caustic light dancing on a sandy floor, slow drifting bubbles, gentle current sway on kelp, looping, seamless | 5s |
| Pause screen — slow rain | ltx | window pane with continuous gentle rain drops, blurred warm interior glow behind, looping, seamless, ambient | 5s |
| Title — anime sky | ltx | anime style cumulus clouds drifting slowly across a pastel sunset sky, soft, painterly, looping, seamless, Ghibli | 5s |
| Premium splash centerpiece | kling | dragon silhouette breathing in profile against a vast sunset sky, only the chest rising and falling and clouds drifting, looping, seamless | 5s |
| Bad | Why it fails |
|---|---|
looping background of a hero walking through a forest | "Walking" is non-loopable — the hero arrives and departs. Replace with forest with fog drifting. |
dramatic title screen video | "Dramatic" implies narrative beats; loops want ambient. Specify the ambient motion. |
make it 10 seconds and loop | 10s loops show their seam. Drop to 5s. |
epic looping background trending on artstation | Adjective slop. The model already knows "cinematic"; the rest hurts. |
the door slowly opens, looping | Doors don't loop — they open once. The clip will hard-cut on replay. |
duration=5 is both the floor and the right answer; 10 is the only other value the API accepts.assets.generate_video as finished. It answers { status: "running", job } and no URL. Wait with jobs.wait before claiming a clip exists.kling for a loop. ltx is almost always right; short ambient motion is what it does best.loop=true on the VideoStreamPlayer. The clip will play once and freeze on the last frame.aspectRatio to reframe an image-to-video call. It is applied on the text-to-video path only. A portrait splash needs a portrait reference image — the argument does nothing here..mp4 path after an import. The import converted the clip to .ogv and saved it under that name; load() the .ogv path the answer names.aspectRatio is ignored on the image-to-video path, and MCP image generation is square-only, so make the reference in the Summer dashboard or crop it. Anchors preset 15 still works.high contrast cinematic in the prompt.VideoStreamPlayer siblings and crossfade between them with a Tween on a 0.5s overlap. Costs an extra GPU decode but hides the seam.In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-5 and stop when the seam passes. Skip steps 6-7 (the VideoStreamPlayer and its audio). Save the file where the person asked with out (the summer-assets skill says how), and tell them the path and format. The file is MP4; tell the person to play it looped and muted.
If the MCP server isn't running, route the user to the Summer dashboard:
ltx, duration 5s, aspect ratio per target."looping, seamless".summer tool import-from-url --args '{"url":"<clip url>","path":"res://assets/video/loops/<name>.ogv"}'. It converts the clip to Ogg Theora (.ogv), the only video Summer Engine plays.Print the exact prompt + model + duration + aspect ratio so the user can paste it into the dashboard.
Once the loop is wired:
Loop
title_screen_bgis wired toTitleScreen/BackgroundLoopwith autoplay + loop. Next:
- Score the menu with
music-track— a quiet ambient bed scored to the loop's mood.- For the logo and menu UI on top, hand off to
ui-graphics.- If the user wants a punchy 5s shot for the trailer using the same look, hand off to
trailer-shot(reuse the reference image).- If the user wants a narrative intro that plays before the title loops, hand off to
cinematic-cutscene.
trailer-shot — punchy marketing footage.cinematic-cutscene — narrative cutscenes with dialogue.music-track — score the menu.ui-graphics — logo, menu buttons, HUD that sits over the loop.concept-art — produce the reference still that anchors the loop.summer_docs_read id reference/mcp-tools-reference — how to call assets.generate_video; summer_search returns its exact input.No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
summer_assets_generate_image | summer assets generate-image |
assets.generate_video, summer_assets_generate_video | summer assets generate-video |
summer_assets_search | summer assets search |
summer_docs_read | summer docs read |
summer_add_node | summer engine add-node |
summer_import_asset | summer engine import-asset |
summer_import_asset_by_id | summer engine import-asset-by-id |
summer_import_from_url | summer engine import-from-url |
summer_run_script | summer engine run-script |
summer_set_prop | summer engine set-prop |
jobs.wait, summer_jobs_wait | summer jobs wait |
summer_search | summer ops search "<what you want>" |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-loop, background-video, seamless-loop, game-ui, ambient-video
npx claudepluginhub summerengine/summer --plugin summer123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus./animation-treeWire AnimationTree state machines and blend trees: locomotion blends, attack interrupts, hit reactions./art-directionDefine the game's visual style (palette, mood, lighting, post) as an art bible in .summer/art-bible.md.Other plugins' skills for the same job