Communitygithub.com

yunfeiavawang-dev/ecommerce-marketing-video-replication-skill

根据商品图文和参考视频,端到端完成商品视频复刻或创意改编:核对素材、抽帧理解、选择一至三种方案、长视频分段或剧情压缩、调用视频模型、拼接与音轨处理、验收、版本归档及可选标注平台发布。适用于普通口播、商品展示、情景剧及混合视频;支持严格复刻、参考生成、时间轴重建、局部替换、首尾帧和跨品类剧情改编。默认提供 Codex 视觉理解与小云雀 Seedance CLI 适配,也允许替换理解 API、视频生成服务和发布平台。

ecommerce-marketing-video-replication-skill 是什么?

ecommerce-marketing-video-replication-skill is a Codex agent skill that 根据商品图文和参考视频,端到端完成商品视频复刻或创意改编:核对素材、抽帧理解、选择一至三种方案、长视频分段或剧情压缩、调用视频模型、拼接与音轨处理、验收、版本归档及可选标注平台发布。适用于普通口播、商品展示、情景剧及混合视频;支持严格复刻、参考生成、时间轴重建、局部替换、首尾帧和跨品类剧情改编。默认提供 Codex 视觉理解与小云雀 Seedance CLI 适配,也允许替换理解 API、视频生成服务和发布平台。.

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add yunfeiavawang-dev/ecommerce-marketing-video-replication-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Product Video Replication V1.2.1

Transform user-provided product details and reference videos into playable, traceable, and iterable final videos. First determine what to retain, then select model capabilities. This package is an Agent execution specification and toolkit, not a standalone program that works without models, network, or authorization.

Execution Conventions

  • By default, produce 1 complete video; explore 2–3 if there are substantially different strategies and the user allows it. If the user explicitly requests three versions, plan for three. Maximum of 3 final plans can be in progress concurrently. Multiple model tasks within a single plan do not count as multiple final videos, but they are still subject to service concurrency limits; tasks are serial by default, and the concurrency may be increased to a maximum of 3 only after confirming quotas.
  • User specifications for product, model, duration, reference scope, and fidelity take priority. If the product is mismatched or identity is unclear, ask. For authorized choices such as shots, segments, and prompts, proceed autonomously without repeated confirmation.
  • Do not include product PID, internal IDs, local paths, or unrelated brand names in prompts. Prefer SKUs confirmable from product images and claims with clear sources; do not fabricate features, prices, or test results.
  • Save the actual inputs, requests, configurations, outputs, post-processing steps, reasoning, failures, and verification for each plan. Record evidence, choices, and trade-offs, but not private reasoning chains or credentials. Archive locally first, then publish to platforms as requested; do not send additional messages or share publicly.
  • The goal is to deliver all planned 1–3 videos, with at least one passing minimum acceptance. If all fail, report truthfully; do not pretend to meet the minimum count, nor pay for unlimited retries.

Stage-Based Loading

StageRead
First run, switching AgentsRunning & Migration
Command examples from input to deliveryComplete Walkthrough
Understanding, duration, strategy, promptsDecision Tree
Intro, story, talking head, subtitles, character & SKU fidelityV1.2.1 Fidelity Gates
Planning, versions & metadataData Contract
Current Codex + Xiao Yun QueCurrent Adapters
Replacing understanding, generation, image, or audio toolsOpen Adapter Interface
Execution, recovery, post-processing, acceptanceExecution & QA
Local annotation platformPlatform Adaptation
Encountered counterexamplesRegression Cases

End-to-End Steps

  1. Clarify Goals: Create run.json, parse product, SKU, images, references, and requirements; probe multiple references one by one, select, and record reasons for exclusion. Clarify mismatched names/images first. Check for existing tasks to avoid duplicate submissions.
  2. Discover Capabilities: Confirm available understanding, generation, and media processing tools and authentication; query current model and pattern limitations, save raw and normalized capability snapshots. Unknown does not mean unlimited; unavailable specified models must not be silently replaced.
  3. Understand Reference: Probe video stream and container duration, frame rate, dimensions, and audio tracks. Extract frames covering the entire video, then perform deep hooks on close-ups, products, transitions, and cut points; talking heads or stories require audio/transcription. Record the actual understanding model, frame extraction rate, scope, timestamps, and limits. Output content structure, segment-by-segment talking head/subtitle coverage, single subtitle responsibility source, character voice and position portrait, BGM/key actions, and SKU geometry negative constraints. Extracting frames is not equivalent to having visually analyzed them.
  4. Determine Retention & Length Strategy: Select shots, causality, functional modules, local elements, or emotional mechanisms. Map attention-grabbing intros, linguistic structure, storyline relationships, first/second half talking-head/subtitles, BGM, and key actions based on reference fingerprints. If strict full-length replication exceeds limits, segment at natural cut points; if compressed adaptation is allowed, rewrite a complete short advertisement, defaulting to at least 85% of the reference total duration. Extracting only the intro requires user permission; do not present the intro as a complete advertisement. Check both input total duration and output duration separately.
  5. Plan 1–3 Plans: Strategies must have substantive differences. Describe how the product participates in transitions, bind timeline, material roles, character identity references, segment-by-segment talking head/subtitle coverage, subtitle responsibility source, BGM, duration, SKU geometry negative constraints, risks, and acceptance criteria. When the same character spans multiple segments, prioritize preparing and reusing one set of three-view/character reference images; if identity assets cannot be bound, reduce segments and mark risks. Save plan.json and prompts; run scripts/replica.py validate-plan, then manually check semantics and pattern constraints.
  6. Invoke Generation: Prepare reference segments/condition images based on dependencies; visually inspect condition images first; save material paths and hashes. Record intent before submission; immediately save ID/link after submission and inform the user. Query and download using the original ID; do not regenerate on slow downloads or download failures. Adhere to failure classification and limited retries.
  7. Post-Processing: Retain original model files. Trim and composite based on target frame count/PTS, and check seams; do not use speed changes to mask duration errors. Handle audio tracks according to policy; rewritten stories must not default to carrying over old product talking head. Keep only one trusted source for subtitles.
  8. Acceptance & Iteration: Verify file and complete decoding, duration/frame count/audio tracks; separately assess product correctness, intro/story mechanism, segment-by-segment talking head and subtitle coverage, subtitle duplication, character consistency and positional composition, voice portrait, BGM/key actions, duration ratio, and continuity. Videos that closely resemble the reference but have not replaced the product, missing talking head segments, dual subtitles, or degraded storytelling are still failures. First fix post-processing; generation revisions within budget default to once maximum, create parent-child versions, retain old version and user evaluation.
  9. Delivery: Associate each version with method, version, prompts, actual configuration, Input, original and final Output, workflow, and QA. Write results.md; attach them side-by-side to the corresponding reference video as required and verify playback/refresh. Report completion count, differences, quality limitations, and outstanding items.

Continuing a Run

After interruption, first read run.json, plan.json, events.jsonl, and jobs/*/state.json. If task IDs exist, query them; for submitting/submission_unknown without IDs, first verify the server side, absolutely forbid re-submitting. Downloaded only means the file was obtained; validated means minimum acceptance passed. Update agent.md at key stages to allow other Agents to take over.

相关技能