Communitygithub.com

long-video-clips

시작 및 종료 프레임 이미지를 장면별 비디오 클립으로 변환합니다. 사용자에게 AI 비디오 클립을 원하는지 아니면 이미지만 사용할 것인지 묻습니다. 클립이 필요한 경우 사용 가능한 비디오 생성기(MCP, API, 로컬 도구 또는 Higgsfield와 같은 브라우저)를 찾거나 사용자에게 요청하여 클립을 생성합니다. 또는 사용자에게 폴더, 장면별 전문 프롬프트, 클립 파일 이름, 시작 및 종료 이미지 이름을 제공하여 직접 클립을 만들도록 합니다. long-video-keyframes 이후 또는 사용자가 비디오 클립, 이미지-투-비디오 프롬프트 또는 애니메이션 장면을 요청할 때 사용합니다.

long-video-clips란 무엇인가요?

Long-video-clips는 롱 비디오 워크플로의 6단계로, 승인된 비디오 스크립트의 각 장면(최대 10초)에 대해 시작 및 종료 프레임 이미지를 기반으로 비디오 클립을 생성합니다. 사용자에게 AI 비디오 클립 생성 또는 이미지만 사용(이미지 전용 모드) 여부를 먼저 묻고, AI 생성을 선택한 경우 Claude가 직접 생성하거나 사용자가 직접 만들 수 있도록 프롬프트를 제공합니다. Claude는 프로젝트 설정과 참조 문서를 바탕으로 MCP 서버(Higgsfield, Runway 등), API 키 환경 변수, 로컬 GPU 기반 도구 중 사용 가능한 비디오 생성기를 자동으로 탐색합니다. 생성기 선택 후 테스트 클립을 생성하고, 사용자 승인을 거쳐 순차적으로 클립을 생성하며, 각 클립의 지속 시간, 해상도, 스타일을 확인합니다. 모든 클립은 `clips/` 폴더에 저장되고 상태는 `clips/status.md`에 기록됩니다. 프롬프트는 카메라 움직임, 액션, 조명, 스타일, 부정 조건 등을 포함한 전문적이고 상세한 형식을 따르며, 최대 10초 제한과 프로젝트의 aspect ratio 및 해상도를 준수합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/samanfirouzi/long-video-skill/tree/HEAD/skills/long-video-clips

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Long video clips (롱 비디오 클립)

Long video 워크플로의 6단계. 출력: 모든 장면에 대한 비디오 클립, 또는 이미지만 사용 결정.

장면은 스크립트의 한 클립(하나의 숏, 최대 10초)을 의미하며, long-video-keyframes에서처럼 비디오 전체에 걸쳐 순서대로 번호가 매겨집니다.

시작하기 전에

  1. ~/.long-video/projects/<slug>/에서 프로젝트를 찾습니다. status: approved인 video-script.md와 film-style.md가 필요합니다.
  2. frames/와 frame-prompts/index.md를 확인합니다. 시작 및 종료 프레임 이미지는 클립의 입력입니다. 없으면 그렇게 말하고 long-video-keyframes 실행을 제안합니다. 시작 이미지 없이 텍스트 전용 클립도 일부 도구에서 가능하지만 결과가 덜 일관됩니다. 사용자가 동의하는 경우에만 그렇게 진행합니다.
  3. 프로젝트 설정 로드: aspect ratio, 해상도, 클립 제한, 비디오 제공자, 승인 수준, 예산.
  4. clips/ 또는 clip-prompts/가 이미 존재하면, 계속(완료된 항목 나열) 또는 다시 시작할지 묻습니다.

1단계: 사용자가 원하는 것 묻기

질문: "비디오 장면에 AI 비디오 클립을 원하시나요, 아니면 이미지만 사용하시겠습니까?"

  • 비디오 클립 생성. 2단계로 계속합니다.
  • 이미지만 사용. 이 단계를 건너뜁니다. project.json에 "clips_mode": "images-only"와 "stage": "clips-skipped"를 설정합니다. 나중 조립 단계에서 스크립트의 카메라 움직임(푸시인, 팬, 시차)으로 이미지를 애니메이션 처리할 것이라고 알려줍니다. 존재하는 경우 다음 단계를 제안합니다. 중단합니다.
  • 일부 장면만. 어떤 장면이 클립을 가질지 묻습니다(목록, 범위, 또는 "액션 장면만"과 같은 규칙). 다른 장면은 이미지만 사용합니다. 목록을 project.json에 clips_scenes로 저장합니다.

2단계: 클립을 만들 사람

질문: "Claude가 클립을 생성할까요, 아니면 직접 만드시겠습니까?"

  • Claude가 생성. 3단계로 이동합니다.
  • 직접 만듬. 5단계(사용자용 프롬프트)로 이동합니다.
  • 둘 다. 모든 프롬프트를 작성하고(5단계), Claude로 생성도 합니다(3단계). 사용자는 원하는 결과를 사용할 수 있습니다.

3단계: 비디오 생성기 찾기

references/video-generation.md를 읽습니다. 요약:

  1. 설정에 저장된 방법(providers.video)이 있으면 사용합니다. 테스트합니다.
  2. 이 세션에서 비디오를 생성하는 연결된 도구(MCP 서버 또는 스킬)를 찾습니다. Higgsfield, Runway, Kling, Veo, Luma, Pika, Sora 또는 유사한 도구가 포함됩니다.
  3. 기기에서 API 키 환경 변수를 확인합니다. "설정됨" 또는 "설정되지 않음"만 출력하고, 값은 절대 출력하지 않습니다.
  4. 로컬 생성기와 GPU를 확인합니다.
  5. 아무것도 찾을 수 없으면 사용자에게 알리고 다음을 묻습니다: API 키(환경 변수로, 채팅에 절대 붙여넣지 않음), 연결할 MCP 서버 또는 스킬, 브라우저에서 사용하는 비디오 사이트(예: Higgsfield)가 있습니까? 또는 "직접 만들겠습니다"를 선택하고 5단계로 이동합니다.

선택한 도구가 무엇을 할 수 있는지 기록합니다. 프롬프트 모양을 결정하기 때문입니다:

  • 시작 이미지 허용
  • 종료 이미지 허용(첫 번째 및 마지막 프레임 제어)
  • 캐릭터 참조 이미지 허용
  • 클립 길이 및 최대값
  • 해상도 및 aspect ratio
  • 자체 오디오 또는 음성 생성 여부
  • 프롬프트 길이 제한
  • 클립당 비용

짧은 목록으로 결과를 사용자에게 알립니다. 도구가 종료 이미지를 허용하지 않으면, 종료 프레임 프롬프트가 모션 설명의 가이드로만 사용된다고 말합니다.

4단계: 클립 생성하기

references/video-generation.md의 순서, 확인 사항 및 브라우저 규칙을 따릅니다. 핵심 사항:

  1. 먼저 프롬프트를 작성합니다(5단계). 생성기가 필요로 하기 때문입니다.
  2. 사용자에게 클립 수, 총 시간, 대략적인 비용 또는 시간을 알립니다. 시작하기 전에 묻습니다. 범위(예: 장면 1~10)로 시작할 것을 제안합니다.
  3. 테스트 클립. scene-001만 생성합니다. 프레임을 보여줍니다. 모션, 스타일 및 캐릭터가 올바른지 묻습니다. 계속하기 전에 프롬프트를 수정합니다.
  4. 장면 순서대로 생성합니다. 연속 장면의 경우 이전 클립의 실제 마지막 프레임을 시작 이미지로 사용합니다(계획된 종료 프레임에서 벗어난 경우, ffmpeg 명령어는 참조 참조).
  5. 각 클립 후에 지속 시간, 해상도 및 모양을 확인합니다. 장면당 최대 2회 재시도, 이후 needs-manual로 표시합니다. 각 호출은 크레딧을 소모할 수 있으므로 자동으로 생성 호출을 반복하지 마십시오.
  6. 각 클립을 clips/scene-<번호>_clip.<확장자>로 저장합니다. 재촬영은 scene-<번호>_clip_take2.<확장자>로 저장합니다. 묻지 않고 파일을 덮어쓰지 마십시오.
  7. 브라우저 생성: 먼저 개수, 시간, 사이트 및 다운로드 폴더에 대한 명시적 확인을 받습니다. 사용자가 로그인합니다. 비밀번호를 입력하거나 CAPTCHA를 해결하지 마십시오.
  8. 한 번에 모두 또는 하나씩: 사용자에게 묻습니다. 하나씩은 각 클립의 프레임을 보여주고 승인을 기다립니다.

생성이 실패하거나 사용자가 거부하면 나머지 장면에 대해 5단계로 대체합니다.

5단계: 사용자용 프롬프트

  1. 프로젝트 폴더에 완성된 비디오용 clips/와 프롬프트용 clip-prompts/를 만듭니다. 전체 경로를 표시합니다.
  2. references/clip-prompt-templates.md를 읽습니다. 20개 장면 배치 파일(scenes-001-020.md)당 하나의 프롬프트를 작성하고 clip-prompts/index.md도 작성합니다.
  3. 모든 프롬프트는 헤더에 다음을 포함하여 정보가 손실되지 않도록 합니다:
    • 저장할 클립 파일 이름: clips/scene-007_clip.mp4
    • 시작 이미지: frames/scene-007_start.png
    • 종료 이미지: frames/scene-007_end.png
    • 지속 시간, aspect ratio 및 해상도
  4. 질문: 한 번에 모두, 또는 하나씩.
    • 한 번에 모두. 폴더 경로와 하나의 예제 프롬프트를 보여줍니다. 사용자가 배치 파일을 통해 작업합니다.
    • 하나씩. 첫 번째 프롬프트를 파일 이름, 시작 이미지 및 종료 이미지와 함께 보여줍니다. 사용자가 클립이 저장되었다고 말할 때까지 기다립니다. clips/에 올바른 이름의 파일이 존재하는지 확인하고(ffprobe로 지속 시간 확인). 그런 다음 다음 프롬프트를 보여줍니다. 사용자가 "중지"라고 말하면 위치를 clips/status.md에 저장합니다.
  5. 언제든지 폴더를 확인하도록 제안합니다: 파일을 인덱스와 비교하고 누락, 잘못된 이름 또는 잘못된 길이의 클립을 나열합니다.

프롬프트 품질

프롬프트는 전문적이고 상세해야 합니다. 각 프롬프트는 다음을 다룹니다:

  • 카메라: 숏 크기, 각도, 렌즈, 방향, 속도 및 종료 위치를 포함한 움직임
  • 액션: 피사체가 하는 일, 클립의 초에 걸쳐 박자별로
  • 조명: 유형, 방향, 색상, 클립 중 변경 사항
  • 스타일: 고정된 아트 스타일 블록 및 필름 스타일 라인
  • 변경되지 않아야 할 것: 캐릭터 외형, 설정, 팔레트
  • 부정 조건, 지속 시간, aspect ratio

템플릿을 따르십시오. 프롬프트를 몇 단어로 줄이지 마십시오.

6단계: 상태 및 완료

  1. clips/status.md를 최신 상태로 유지합니다:
| 장면 | 파일 | 상태 | 지속 시간 | 비고 |
|------|------|------|-----------|------|
| 001 | scene-001_clip.mp4 | 완료 | 6.0 초 | |
| 002 | scene-002_clip.mp4 | 수동 필요 | | 두 번 이탈 |

상태 값: pending, done, needs-manual, skipped.

  1. project.json 업데이트: 프롬프트 저장 후 "stage": "clips-prompts-done", 모든 원하는 클립이 존재하고 사용자가 세트를 승인하면 "stage": "clips-done".
  2. 사용자에게 clips/와 clip-prompts/의 경로와 누락된 항목을 알립니다.
  3. 작동 중인 생성기를 설정에 저장할 것을 제안합니다(providers.video), 방법과 이름만.
  4. long-video-voice(내레이션 및 캐릭터 음성)로 계속할 것을 제안합니다. 사용자가 동의하는 경우에만 시작합니다. 사용자가 요청하고 해당 단계가 존재하지 않는 한 다른 이후 단계를 시작하지 마십시오.

프롬프트 저장 전 자체 확인

  • 모든 원하는 장면에 헤더에 클립 이름, 시작 이미지, 종료 이미지, 지속 시간, aspect ratio 및 해상도가 있는 프롬프트가 있습니다.
  • 프롬프트 지속 시간이 스크립트와 일치하고 도구 허용 길이 및 10초 제한을 존중합니다.
  • 카메라, 조명 및 스타일이 film-style.md 및 스크립트 숏과 일치합니다.
  • 스타일 블록과 부정 조건이 그대로 나타납니다.
  • 말하기 모드가 캐릭터 또는 혼합인 경우 대화 처리가 프롬프트에 명시됩니다(템플릿 참조).
  • 클립 파일 이름이 규칙을 정확히 따릅니다.

규칙

  • 승인된 스크립트 없이 절대 시작하지 마십시오.
  • 1단계를 절대 건너뛰지 마십시오. 사용자가 이미지만 원하면 단계를 건너뛰고 그렇게 말합니다.
  • 사용자가 개수와 비용에 동의하기 전에 절대 생성하지 마십시오.
  • 채팅에서 API 키를 요청하지 마십시오. 브라우저에서 비밀번호를 입력하거나 CAPTCHA를 해결하지 마십시오.
  • 프롬프트가 승인된 후에는 프롬프트 파일 이름이나 클립 이름을 변경하지 마십시오.
  • 채팅 메시지를 짧게 유지하십시오. 전체 프롬프트 텍스트는 파일에 넣고 샘플이나 현재 프롬프트만 표시하십시오.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

long-video-assets

Video and animation skill. Build the visual foundation for a long video from an approved story. Extracts the recurring characters, environments and key objects, helps the user choose one art style from suggested options (10 at a time, more on request), then writes image generation prompts for every character (portrait plus character sheet), environment and object, all sharing one locked style. Can also generate the images (installed tool, API, MCP or browser) or hand the user a folder and file names to fill. Use after lon

long-video-director

Turn an approved story into a shot-by-shot video script, acting as the director. Asks whether the video uses a narrator or characters who speak (or both), suggests professional filming choices (camera type, lenses, camera movement, lighting, color, pacing), saves them as a separate film style file, then writes a script that matches the project config. Outputs film-style.md and video-script.md. Use after long-video-story (and long-video-assets) are done, or when the user asks for the video script, shot list, camera style or lighting plan.

long-video-keyframes

Create the start and end frame image for every scene (clip) of the approved video script. Writes one image prompt per frame with a fixed file name that holds the scene number and start or end, makes a folder for the images, and can generate the images with an available image tool, or hand the prompts to the user all at once or one by one. Use after long-video-director, or when the user asks for start frames, end frames, keyframes or scene images.

long-video-niche-discovery

Find a differentiated video niche and a first video topic by applying seven discovery lenses (subject migration, angle inversion, hidden sub-niche, adjacent audience, format transplantation, perspective shift, cross-niche combination) to a niche, channel or video the user already likes. Returns the 10 strongest candidates, then episode topics for the chosen one. Called by long-video-story when the user picks the "niche" story style; also usable on its own.

long-video-publish

Prepare the YouTube packaging for the finished video: title options, a full description with chapters and credits, tags and hashtags, and thumbnail concepts with image prompts (made or handed over like the earlier image stages). Checks the text against YouTube limits and saves everything for the user to paste in. Use after long-video-render has produced the final video, or when the user asks for a YouTube title, description, tags, chapters or thumbnail.

long-video-render

Assemble the finished video and run the review loop. Builds the edit from the clips (or images with camera moves), voice, sound stems and captions, renders a low quality review version with scene numbers and time burned in so a client can review it, collects and applies changes (re-rendering reviews as often as needed), and when the user approves, renders the high quality final video. Uses a video editor with a CLI or MCP (FilmCraft, EffectCraft or another) if one is available and the user wants it, otherwise the bundled ffmpeg renderer. Use after long-video-sound, or when the user asks to render, assemble, export, preview or finalize the video.

long-video-sound

Video and animation skill. Create the sound effects, ambience and background music for the video and place them on the timeline. Plans the sound design from the approved script, sources or makes each sound (Openverse for openly licensed recordings and music, Earshot to make sounds from words and to listen to and judge sounds, Clipwing real-sfx to place real sounds on exact frames), records licences and credits, and mixes separate stems (effects, ambience, music) with the music ducked under speech. Or gives the user a fold

long-video-story

Agree on the story for a long video. The user either supplies a story or asks Claude to write one. When Claude writes, it first asks which story style to use (for example niche discovery, or a provocative-questions narration), runs that style's skill, and revises until the user approves. Use after long-video-setup, or when the user says "story for my video", "give me an idea", or wants to change an unapproved story. Ends only when the user explicitly approves the story.

long-video-voice

Create the spoken audio (narration and character voices) for the approved video script. First decides whether the video needs speech and asks the user to confirm. If yes, builds a voice cast (narrator plus each speaking character), makes a short sample of each voice with an available tool such as an ElevenLabs MCP and asks the user to approve the voices, then generates one audio file per spoken line with a name that holds the scene number and speaker. Or gives the user the lines, file names and folder to record or generate themselves. Use after long-video-clips (or long-video-keyframes), or when the user asks for narration, voiceover, voices or dialogue audio.

관련 스킬