p-video-replace
БесплатноБез исполняемых скриптовНе проверенUse when someone wants to swap a person, outfit, or product inside existing footage while keeping the camera move and audio.
от pruna-ai1 845 установок в других каталогахОб этом скилле
Prerequisites
Install and load these skills before generating (skip if already in context via @pruna):
| Skill | Description | Install |
|---|---|---|
generation-diversity |
Use when writing any generative prompt — ritual seed, explicit structure, scenario axes, and quality gates before paid API calls. | npx skills add PrunaAI/pruna-skills@generation-diversity -y |
video-prompting |
Use when crafting video or motion prompts for any generative model — dramaturgy, camera, physics-safe motion, frame anchors, and clip chaining. | npx skills add PrunaAI/pruna-skills@video-prompting -y |
pruna-api |
Use before any Pruna or Replicate HTTP call — credentials, upload/poll/download, parallel batches, and agent safety. | npx skills add PrunaAI/pruna-skills@pruna-api -y |
Or install the full suite once: npx skills add PrunaAI/pruna-skills@pruna -y
Follow each skill's Before generating / craft sections — do not restate guide content here.
Agent habit
In the first reply, name `p-video-replace` in backticks, confirm PRUNA_API_KEY (or stop with signup links from pruna-api), then ask for required inputs. Open intake → generation-diversity clarification intake before the first POST. Draft swaps with Prompt craft (dynamic + faithful) — do not paste skill examples. Redirect when When NOT to use fits better.
Prompt craft (dynamic + faithful)
instruction_prompt maps source slots → reference images → preserve-list. Change only what the user asked; keep camera, audio, and unmentioned elements identical.
| Do | Don't |
|---|---|
Formula: name source element → map each ref (first reference, image 2) → preserve-list (walking pace, camera tracking, audio) |
Vague replace the person with no slot mapping |
| Ritual seed before drafting; fresh wording for preserve clauses when the brief allows | Copy this skill's sample (olive coat, navy jacket) when the user described different targets |
| Lock swap intent (character / clothing-only / object / mixed) from the user | Drop preserve-list and hope motion/audio hold |
Show instruction_prompt before POST when wording is not locked |
Silent swap that changes background, cast, or unrequested regions |
Fidelity check (before pay): every stated swap and every stated keep must appear in instruction_prompt. Do not “spice” extras when they asked for one identity swap.
Skill boundary
| p-video-replace | p-video-edit | p-video-animate | |
|---|---|---|---|
| User question | Replace this person in this video? | Change the color / environment / object / text / lighting in this clip? | Animate this picture with some motion? |
| Goal | Swap identity into existing footage | Instruction edit of the source clip | Drive a still with motion from another clip |
| Source video | The final scene | The scene to edit (≤15s) | A motion template only |
| Reference images | Required images — 1 to 4 |
Optional images — 0 to 4 |
image — one subject per call |
| Prompt field | instruction_prompt |
prompt |
Optional instruction_prompt |
Use p-video-edit for prompt-driven attribute, environment, object, text, or lighting edits. Use p-video-animate when the user has a still and wants it to perform from a separate template video.
When NOT to use
Use a different skill instead:
| Skill | Description | Install |
|---|---|---|
p-video-edit |
Use when someone wants to edit an existing video with a text instruction — recolor, restyle, remove or add objects, change environment or lighting, update on-screen text, or apply optional reference-guided product and accessory edits. Not for a new clip from scratch or ffmpeg assembly. | npx skills add PrunaAI/pruna-skills@p-video-edit -y |
p-video-animate |
Use when someone wants a photo to move like another video — motion transfer, dance remixes, or performance variations from a template clip. | npx skills add PrunaAI/pruna-skills@p-video-animate -y |
p-video-avatar |
Use when someone wants a person on camera speaking a script — lip-synced host, spokesperson, or narrated avatar from a portrait photo. | npx skills add PrunaAI/pruna-skills@p-video-avatar -y |
HTTP (curl)
Upload source assets
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: ${PRUNA_API_KEY}" \
-F "content=@/path/to/source-video.mp4"
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: ${PRUNA_API_KEY}" \
-F "content=@/path/to/reference-person-a.png"
curl -X POST "https://api.pruna.ai/v1/files" \
-H "apikey: ${PRUNA_API_KEY}" \
-F "content=@/path/to/reference-person-b.png"
Use each response urls.get in input.video and input.images.
Create (async — recommended)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-
Установить p-video-replace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл p-video-replace?
Use when someone wants to swap a person, outfit, or product inside existing footage while keeping the camera move and audio.
Как установить скилл p-video-replace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл p-video-replace запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub