SkillsGrove
SkillsGrove/영상 제작/DareDev256/fcp-mcp-server/generative-fill

generative-fill

설치

$npx skills add https://github.com/DareDev256/fcp-mcp-server --skill generative-fill
$git clone --depth 1 https://github.com/DareDev256/fcp-mcp-server.git /tmp/fcp-mcp-server && mkdir -p ~/.claude/skills && cp -r /tmp/fcp-mcp-server/fcpxml/skills/generative-fill ~/.claude/skills/generative-fill
이 Agent Skill을 설치해 주세요: https://github.com/DareDev256/fcp-mcp-server/tree/91669b76563e4df7af6b3187465853a8aaf6bde0/fcpxml/skills/generative-fill — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITFill a gap, add AI b-roll, or extend a clip with generated video. Use when the user says "generate b-roll", "fill this gap with AI footage", "extend this clip", "what would generated footage cost", or "put something over this section".
아래 SKILL.md는 DareDev256/fcp-mcp-server(커밋 91669b7)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2025 DareDev256. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Generative fill

Done means: the user saw a price and approved it, the generation ran, the new file has a generated lane clip with a marker, DTD status was reported, and you previewed the result. This spends real money. Spending is the user's decision. An agent must never confirm a quote on its own, never pass confirm: true without the user having said yes to that quote in this conversation, and never raise the per-call cap to make a job fit.

Every call is <tool> with {"action": "...", "args": {...}}.

  1. Quote: gen {"action": "gen_quote", "args": {"provider": "fal", "seconds": 7, "prompt": "a street at dusk, handheld"}}. The reply gives a quote id, billable seconds, the estimated USD with its price date, whether the price was read on the vendor page or is UNVERIFIED, and the cap (FCP_MCP_GEN_MAX_USD, default 5). model is optional. Runway and Luma are stubs: the quote is an estimate only.
  2. Ask the user. Show provider, model, seconds, prompt, price, cap. Wait for an explicit yes. Quotes expire after 60 minutes.
  3. Generate, with the SAME provider, model, seconds and prompt as the quote (the price is recomputed from the job, so a changed prompt invalidates the quote id):
    • Gap: {"action": "gen_fill_gap", "args": {"filepath": "~/Movies/cut/final.fcpxml", "gap_index": 0, "prompt": "...", "seconds": 7, "quote_id": "<id>", "confirm": true}} (or at in seconds to pick the gap)
    • B-roll over a clip: {"action": "gen_broll", "args": {"filepath": "...", "clip_name": "Interview A", "at": 4, "seconds": 5, "prompt": "...", "quote_id": "<id>", "confirm": true, "lane": 1}}
    • Extend past the out point: {"action": "gen_extend_clip", "args": {"filepath": "...", "clip_name": "Interview A", "seconds": 3, "prompt": "...", "quote_id": "<id>", "confirm": true}} condition_on_frame defaults true: the job is conditioned on a frame of the source when available, and the reply says if it fell back to the prompt alone. The generators run as background tasks where supported. Where the server supports elicitation and you call a generator without a confirmed quote, it asks the user to approve the spend in a dialog instead of refusing. Let them answer it. Do not work around it.
  4. Read the reply: media saved under generated/ beside the project, probed length and fps, lane, role generated, a marker naming prompt and provider, the new file path, sha256, estimated cost, and a DTD line. "DTD: INVALID" means do not import the file.
  5. Preview: view view_timeline, then preview preview_render on the new file. Report spend: the estimate is not invoice-checked, say so.

Stop and tell the user when:

  • The call refuses: no confirm, unknown or expired quote, job changed since the quote, price over the cap, or no key (FAL_KEY or GEMINI_API_KEY in the environment; never ask for the key in chat).
  • The provider is video-to-video or a stub that is not implemented.
  • The generated media probes as not video, or DTD is INVALID.
  • The user asks to "just run it": still show the price first.
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2025 DareDev256

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.