Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

photo-slideshow

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "make a photo slideshow", "turn photos into a video", "create a photo montage video", "make a picture…

iart-aiот iart-ai★ 20 звёзд на GitHub

Об этом скилле

Slideshow Video

Turn a set of photos into a finished video that feels shot, not assembled. The craft is giving each still its own gentle motion (Ken Burns), changing slides on the music, handling photos of different shapes gracefully, and reading a whole folder so the same template renders any set of images.

When to use

  • A folder of photos → one finished MP4 (the headline use case).
  • "Memories", recap, year-in-review, wedding/trip montage with music.
  • Any still-image set that needs motion, transitions, and synced pacing.

The one rule that makes a slideshow look professional

No two slides may move the same way. The instant-giveaway of an amateur slideshow is every photo doing the identical slow zoom-in. Vary direction, zoom in vs. out, and start scale per photo — but make it deterministic (seeded by index), so re-renders are identical and a frame-based renderer stays stable.

// seeded PRNG → same photo always gets the same motion, but each photo differs
const mulberry32 = (a) => () => {
  a |= 0; a = (a + 0x6d2b79f5) | 0;
  let t = Math.imul(a ^ (a >>> 15), 1 | a);
  t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
  return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
};

Per-photo Ken Burns

Each slide picks one move from a small vocabulary so the set has rhythm without repetition. Animate scale and translate together; never animate width/height (it reflows and flickers).

Knob Range Why
Zoom in 1.0→1.12 or out 1.12→1.0 subtle; over ~1.15 it feels like a crash-zoom
Pan one of L/R/up/down/diagonal direction chosen by seed, never all the same
Ease easeInOutSine slow, continuous — Ken Burns has no acceleration jolt
Anchor transform-origin toward the subject keeps a face/horizon in frame while panning
import { useCurrentFrame, interpolate, Easing } from "remotion";
const frame = useCurrentFrame();              // the ONLY clock
const p = interpolate(frame, [0, durInFrames], [0, 1], {
  extrapolateRight: "clamp", easing: Easing.inOut(Easing.sin),
});
const scale = startScale + (endScale - startScale) * p;   // e.g. 1.0 → 1.10
const x = panX * p, y = panY * p;                          // px, sign from seed
// style: transform: `scale(${scale}) translate(${x}px, ${y}px)`

Always start scale ≥ 1.05 so a pan never exposes an empty edge. See references/ken-burns.md for the full seeded <KenBurnsImage> component with subject-aware anchoring.

Transitions between photos

Pick one transition and keep it consistent — mixing wipes, spins and cubes screams "template." A 0.4–0.6s crossfade is the safe, timeless default; a soft push works for travel sequences. Overlap outgoing and incoming slides so the cut is never hard unless cutting on a beat.

import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { fade } from "@remotion/transitions/fade";
// <TransitionSeries.Sequence durationInFrames={hold}> ...slide... </Sequence>
// <TransitionSeries.Transition timing={linearTiming({durationInFrames: 15})} presentation={fade()} />

Beat / music-synced slide changes

A slideshow lives or dies on pacing. Lock the track first, get the beat timestamps, then snap each slide change to a beat. Detect beats once (offline) and bake them into props — never analyze audio per frame.

# extract beat onset times (seconds) with librosa, write to beats.json
python3 -c "import librosa,json,sys; y,sr=librosa.load(sys.argv[1]); \
_,b=librosa.beat.beat_track(y=y,sr=sr); \
json.dump([float(t) for t in librosa.frames_to_time(b,sr=sr)], open('beats.json','w'))" song.mp3

Then convert beat seconds → frame numbers and assign slide boundaries. Hold each photo for a musical unit (often every 2nd or 4th beat — every beat is too frantic for photos). For the count→frame math, the rhythm-to-slide assignment, and a no-audio-analysis fallback (fixed BPM grid), see references/timing-and-audio.md.

Mixed aspect-ratio photos

A real folder mixes portrait phone shots and landscape cameras. Never stretch — distortion is unforgivable. Three strategies, in order of preference:

Strategy Look Use when
Blurred pad photo fit inside frame, a scaled+blurred copy fills the bars mixed orientations, default choice
Fill (cover) photo fills frame, edges cropped photos roughly match the frame shape
Fit (letterbox) photo fully visible on solid/gradient every pixel matters (documents, art)

Blurred-pad is the modern standard because it fills the frame without cropping the subject. Render the same source twice: a cover blurred layer behind, the contain sharp photo on top. See references/aspect-and-layout.md for the component and the orientation-detection logic.

Captions, dates, intro/outro

  • Captions/dates: read from filename, EXIF, or a sidecar JSON; keep them in a fixed lower-third zone, fade in after the slide settles (~0.3s), out befo
Полный SKILL.md на GitHub

Установить photo-slideshow в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/aspect-and-layout.mdreferences/ken-burns.mdreferences/templating-folder.mdreferences/timing-and-audio.md

FAQ

Что делает скилл photo-slideshow?

This skill should be used when the user asks to "make a photo slideshow", "turn photos into a video", "create a photo montage video", "make a picture slideshow with music", "build a memories/recap video from photos", "add Ken Burns pan/zoom to photos", "sync slide changes to the music beat", or "render a video from a folder of images". Covers per-photo Ken Burns motion, transitions, beat-synced timing, mixed aspect-ratio handling, captions/dates, intro/outro cards, and templating a photo folder into a finished video.

Как установить скилл photo-slideshow?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл photo-slideshow запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить photo-slideshow с