Communitygithub.com

art-video

Make a narrated YouTube explainer video about one artwork, from research to finished MP4, and optionally a vertical YouTube Shorts version of it. Use when the user gives an artwork title and artist and wants a video, the next step of one already started, or a Short cut from a finished one - researches with cited sources, drafts a script of about 3 minutes, gets the user's approval, then generates the ElevenLabs voiceover, music, subtitles and a video that opens on a designed title card and introduction, then pans and zooms across the work.

art-video란 무엇인가요?

art-video is a Claude Code agent skill that make a narrated YouTube explainer video about one artwork, from research to finished MP4, and optionally a vertical YouTube Shorts version of it. Use when the user gives an artwork title and artist and wants a video, the next step of one already started, or a Short cut from a finished one - researches with cited sources, drafts a script of about 3 minutes, gets the user's approval, then generates the ElevenLabs voiceover, music, subtitles and a video that opens on a designed title card and introduction, then pans and zooms across the work.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tayfun/art-video-pipeline-skill/tree/HEAD/.claude/skills/art-video

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

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

문서


name: art-video description: Make a narrated YouTube explainer video about one artwork, from research to finished MP4, and optionally a vertical YouTube Shorts version of it. Use when the user gives an artwork title and artist and wants a video, the next step of one already started, or a Short cut from a finished one - researches with cited sources, drafts a script of about 3 minutes, gets the user's approval, then generates the ElevenLabs voiceover, music, subtitles and a video that opens on a designed title card and introduction, then pans and zooms across the work. argument-hint: "" by (add "short" for the Shorts version)

Art video

Input: an artwork title and its artist ($ARGUMENTS). If either is missing, ask for it. Ask for nothing else.

Output: one folder per artwork under artworks/ holding everything about it, ending with a YouTube video of about 3 minutes (16:9, 1080p) in output/. If the user asks for a Short, or says yes when offered one at the end, follow "Shorts version" below.

Run every command from the project folder: the folder Claude Code was opened in. artworks/ and .env are created there on first use; channel.json is optional. S below means this skill's scripts/ folder: ${CLAUDE_SKILL_DIR}/scripts. Scripts need Python 3.10+, ffmpeg, and pip install -r ${CLAUDE_SKILL_DIR}/requirements.txt.

The artwork folder

artworks/<slug>/
  artwork.json            title, artist, year, location (where the work is now), slug (optional "music_prompt")
  research/
    sources.md            numbered citations [1], [2] ...
    notes.md              every fact found, each tagged with its source numbers
  script/
    script.md             the narration, by section, with citations, and the title card's wording
    storyboard.json       named regions of the image + the list of shots cued to the narration
    short.md              narration of the Shorts version
    short-storyboard.json shots of the Shorts version
  images/
    source/               main.jpg (the work), artist.jpg (portrait), period.jpg (the period), any others
                          + credits.json (origin and licence of each)
    crops/                coordinate grids and detail crops
    previews/             storyboard contact sheets, full-size previews of the title and context cards
  audio/
    voiceover/            voiceover.wav, alignment.json (word timings), sections/ (per-section cache)
    music/                music.mp3 + music.json
    mix.wav               narration + music, final soundtrack
    short/                the same files for the Shorts version
  subtitles/              <slug>.en.srt (and <slug>.short.en.srt)
  output/                 <slug>.mp4, <slug>-short.mp4, youtube.md, chapters.txt, drafts, previous/ (older renders)
  work/                   temporary files, safe to delete

If the folder already exists, read what is in it and continue from the first step that is not done. Never redo an approved step unless the user asks.

Steps

1. Create the folder

python3 $S/new_artwork.py "<Title>" "<Artist>" --slug <artist-surname>-<short-title> --year <year>

Once research has confirmed where the work is now, put it in artwork.json as "location" (for example "National Gallery, London"). The title card shows the artist, year, title and location from this file.

Stop and tell the user if the artist died less than 70 years ago: the image is probably still in copyright and cannot be used without a licence.

2. Research, with citations

Search the web and read the pages themselves, not just search snippets. Record as you go:

  • research/sources.md: one numbered entry per source, with author or institution, title, URL, access date, and what it supports.
  • research/notes.md: every usable fact, each ending with the source numbers that support it.

Rules:

  • At least 6 sources. Prefer the museum that owns the work, museum catalogues and technical bulletins, academic publications, Smarthistory, Britannica, and established newspapers for events such as thefts. Wikipedia is for finding leads only; cite what it cites, after reading it.
  • A surprising claim needs two independent sources. If you cannot find them, list it under "could not verify" and leave it out of the script.
  • Where scholars disagree, record it as DISPUTED with both positions. Disagreements are good material, not a problem.
  • For the introduction, record three things with sources: where the work is now; the artist (dates, where they worked, where they stood in their career when they made this); and the period (what was happening in that place in those years, and how it touched the artist, the patron or the picture). Choose one event or condition of the period that the sources themselves connect to the work: a war, a plague, a religious break, a rivalry between states, a new trade or invention.
  • Look specifically for: what is depicted and the small details people miss; who commissioned it and why; how it was made (materials, X-ray or infrared findings, changes the artist made); what happened to it since (theft, damage, restoration, sales, wartime history); attribution or meaning disputes; how its reputation changed (ignored, mocked, rediscovered); its influence.

3. Get the images

Find the largest public-domain image available (aim for 6000 px or more on the long side; under 3000 px close-ups look soft). Museum open-access downloads and Wikimedia Commons are the usual sources.

python3 $S/fetch_image.py artworks/<slug> --commons "File:<name on Commons>.jpg"
python3 $S/fetch_image.py artworks/<slug> --url <direct image URL> --source-page <page> --license "Public domain" --credit "<museum>"

The introduction needs two more pictures, fetched the same way:

  • --name artist: a portrait of the artist. Prefer a self-portrait, then a portrait made in their lifetime, then a later engraving. If no likeness is accepted as certain, say so in what the card shows ("Presumed self-portrait"); if none exists at all, use something of theirs instead (a signature, their house or city) and name it for what it is.
  • --name period: a picture of the event or condition chosen in step 2, ideally made at the time: a painting or print of the battle, siege, coronation, council or city, a map, or for recent periods a photograph. It must show that event, not merely be from the same century.

Both must be public domain or freely licensed, like the main image (photographs from the twentieth century need particular care: check the licence on the file's page). At least 1,400 px on the long side. Record in research/notes.md what each one shows, who made it and when, and where it is kept: the cards credit them on screen.

Add other supporting images (an X-ray, a related work, a preparatory drawing) with --name <short-name>. Every image must have a licence recorded in images/source/credits.json. Then look at the image itself before writing: python3 $S/crops.py grid artworks/<slug> and read the resulting file, so the script describes what is really visible.

4. Write the script

Read references/script-guide.md first, then write script/script.md. Essentials:

  • About 3 minutes in all, title card included: 430 to 500 words (the narrator speaks briskly, about 168 words a minute). Under 2:30 or over 3:30 is rejected. With so little room, choose the three or four best things in the research and leave the rest out.
  • Written for a fast voice: see "Writing for a fast voice" in the guide.
  • 4 to 6 sections, each a ## heading (headings are not read aloud) followed by narration paragraphs.
  • A line > Title card: <a few alluring words> under the main heading: the title shown on the opening screen beside the whole artwork.
  • Section 1 is the introduction, spoken after the title card: the work's name, artist, date and where it is now; then the artist (over their portrait); then the period in a sentence or two (over a picture of it); then the promise of what is coming. The close look at the strangest detail starts in section 2.
  • Every paragraph ends with its source numbers, like [2][5]. They are stripped before narration.
  • Mix close looks at specific parts of the picture with stories about the whole work (see the guide).
python3 $S/check_script.py artworks/<slug>

Fix everything it reports. It fails if the script is too short, too long, or cites a source that is not listed.

5. STOP: get the script approved

First make sure the key file exists:

python3 $S/setup_env.py artworks/<slug>

This creates .env in the project folder if it is not there (it never overwrites one) and reports KEY_SET or KEY_MISSING. A key set as an environment variable (as in a cloud session, where it is stored in the environment's settings) also counts as KEY_SET. Never read out, print or ask the user to paste the key into the chat.

Then, in one message, show the user:

  • the title card's wording, and which portrait of the artist and which picture of the period the introduction will show,
  • a one or two sentence summary of each section, with its estimated length (from check_script.py),
  • the total estimated length and number of sources,
  • anything disputed or left out because it could not be verified,
  • the path to script/script.md so they can read it in full,
  • that going ahead will spend ElevenLabs credits on the voiceover and music,
  • if the result was KEY_MISSING: that a .env file is waiting in the project folder (give its full path), and that they need to open it, paste their ElevenLabs API key after ELEVENLABS_API_KEY=, and save it before approving. If it was KEY_SET, just say the key is in place.
  • the voice and model that will be used (printed by setup_env.py), and that they can change either by filling in ELEVENLABS_VOICE_ID or ELEVENLABS_MODEL_ID in the same .env file.

Ask whether to go ahead or what to change. Do not generate any audio until they approve: voiceover costs ElevenLabs credits. When they approve, run setup_env.py again; if the key is still missing, say so and wait rather than continuing. Apply requested changes, rerun check_script.py, and confirm again if the changes were substantial.

6. Storyboard

Read references/storyboard.md, then fill in script/storyboard.json: name the regions of the image worth showing, and list the shots, each cued to an exact phrase of the narration.

The video opens the same way every time: the title card (whole artwork, title beside it) held for a few seconds over music, the whole artwork as the narration begins, a card with the artist's portrait when the artist is introduced, and a card with the period picture when the date is given. After that, whenever the narration names a person or thing that the shot is showing, the shot carries a "label" with that name.

python3 $S/crops.py grid artworks/<slug>                        # read off coordinates
python3 $S/crops.py grid artworks/<slug> --box 0.2 0.7 0.5 0.3  # zoom in for precise boxes
python3 $S/voiceover.py artworks/<slug> --dry-run               # free: estimated timings, no audio
python3 $S/crops.py sheet artworks/<slug>                       # contact sheet of every shot
python3 $S/crops.py cards artworks/<slug>                       # title and context cards at full size

Read the contact sheets and every card-NN.jpg in images/previews/. Fix any region that misses its subject, and any card whose title breaks badly, whose text is cramped or whose picture is soft, before spending credits.

7. Voiceover, music, mix

python3 $S/voiceover.py artworks/<slug>          # narration, word timings, subtitles, chapters
python3 $S/music.py generate artworks/<slug>     # optional --prompt "..." to suit the period
python3 $S/music.py mix artworks/<slug>          # final soundtrack
  • The key is read from ELEVENLABS_API_KEY in the project's .env (created in step 5). If a script reports it missing or rejected, tell the user and stop here.
  • If voiceover.py reports TOO SHORT (under 2:30) or TOO LONG (over 3:30), extend the script from unused notes or cut it, tell the user what changed, and run it again (unchanged sections are reused at no cost).
  • The user can supply their own track: music.py mix artworks/<slug> --music <file>.

8. Render

python3 $S/render.py artworks/<slug> --check    # shot list with real timings; fix warnings
python3 $S/render.py artworks/<slug> --draft    # quick low-resolution render
python3 $S/render.py artworks/<slug>            # final 1080p -> output/<slug>.mp4

Extract a few frames from the draft and look at them (the title card about 3 seconds in, each card of the introduction, a shot with a label, each section change, the end) before the final render. A full render takes a few minutes. Add --burn-subtitles only if the user wants captions drawn into the picture; the .srt file is otherwise uploaded alongside the video.

9. STOP: deliver and ask for changes

Write output/youtube.md, ready to paste into YouTube:

  • three title options, under 60 characters, built on the hook rather than "X explained";
  • a description: two sentences that restate the hook, the chapter list from output/chapters.txt (first entry must be 0:00), the sources from research/sources.md, and the image credits and licences from images/source/credits.json;
  • 8 to 12 tags;
  • two thumbnail suggestions: a region from the storyboard (export with crops.py crop) and three or four words of text to put on it.

Give the user the video (output/<slug>.mp4), its length, and the paths to output/youtube.md and the subtitles file (uploaded to YouTube as captions). Ask whether anything needs changing, and whether they want a Shorts version.

Requested changeRerun
Wording, facts, lengthedit script.md → check_script.py → voiceover.py → music.py mix → render.py
What is on screen, framing, pacing of shotsedit storyboard.json → crops.py sheet → render.py (use --shots A B to check quickly)
Title card wording, card text, name labels, transitionsedit storyboard.json (or short-storyboard.json) → crops.py cards → render.py
A different portrait or period picturefetch_image.py --name artist (or period) → crops.py cards → render.py
Title card on screen for longer or shortervoice.lead_in_s in channel.json (seconds of music before the first word; default 6.5) → voiceover.py (no new credits) → music.py mix → render.py
Different voice or modelset ELEVENLABS_VOICE_ID / ELEVENLABS_MODEL_ID in .env → voiceover.py → music.py mix → render.py
Speaking speed (voice.speed, default 1.12; 1.0 is the voice's natural pace)edit voice in channel.json → voiceover.py → music.py mix → render.py. With the default model this reuses the audio already paid for
Voice livelier or steadier (voice.stability, default 0.4; lower is livelier)edit voice in channel.json → voiceover.py (regenerates, costs credits) → music.py mix → render.py
Longer or shorter videolength in channel.json (min_seconds, target_seconds, max_seconds), then rewrite the script to the word count check_script.py prints
Different musicmusic.py generate --prompt "..." → music.py mix → render.py
Music louder or quietermusic.py mix --level <dB> (default -16; lower is quieter) → render.py

After any script edit, check that storyboard cues still match the new wording (render.py --check reports any that do not).

Shorts version

A vertical (9:16) video of about one minute built from the best part of the full video, with its own tight narration, fast shots and large captions. It opens with very short versions of the full video's title card, introduction, artist card and period card (about 10 seconds in all), then goes to the detail. It needs the full script to be approved first; it does not need the full video to be rendered. Read references/shorts-guide.md before starting.

S1. STOP: agree what to carry over

Propose three or four candidate angles from the full script. For each: which sections of the full video it draws on (with timestamps if the voiceover exists), the opening line, and why it should work (funny, surprising, a mystery, raises curiosity, emotional, corrects a common belief). Say which you recommend. Ask the user to pick one, combine them, or name the parts they want instead and why. Run setup_env.py here too and include the same key reminder if it reports KEY_MISSING. Do not continue until they confirm.

S2. Script and storyboard

Write script/short.md and script/short-storyboard.json as the guide describes. Show the user the full text of the Short (it is only a few sentences) with its estimated length, and apply any changes they ask for.

python3 $S/check_script.py artworks/<slug> --short
python3 $S/voiceover.py artworks/<slug> --short --dry-run
python3 $S/crops.py sheet artworks/<slug> --short      # read images/previews/storyboard-short-*.jpg
python3 $S/crops.py cards artworks/<slug> --short      # read images/previews/card-short-*.jpg
python3 $S/render.py artworks/<slug> --short --check

S3. Produce

python3 $S/voiceover.py artworks/<slug> --short
python3 $S/music.py mix artworks/<slug> --short        # reuses audio/music/music.mp3
python3 $S/render.py artworks/<slug> --short           # -> output/<slug>-short.mp4, captions included

Look at a frame about one second in (the title card with its title and the first caption, neither covering the other), one from each of the two cards, and one from the first detail shot.

S4. STOP: deliver and ask for changes

Give the user output/<slug>-short.mp4, its length, a title under 50 characters, and the publishing notes from the guide. Ask whether anything needs changing. Changes follow the same table as above, with --short added to each command.

Settings

.env in the project folder holds the ElevenLabs key and, optionally, ELEVENLABS_VOICE_ID and ELEVENLABS_MODEL_ID. When those are empty the defaults are used: the eleven_v4 model and the stock voice "George" (JBFqnCBsd6RMkjVDRZzb). ElevenLabs withdraws George and its other Default voices on 31 December 2026; if the user asks about voices, or a voice is reported as not found, point them to "Choosing a voice" in the project README and offer python3 $S/audition.py artworks/<slug>, which reads the opening of the script in several candidate voices (it spends a few credits per voice, so ask first). Values in .env take priority over channel.json.

channel.json in the project folder is optional (without it the built-in defaults are used). It holds settings shared by every video: the video's length (length), voice settings, narration speed (voice.speed), the title card's hold (voice.lead_in_s), music prompt and level, video size, transition length and card colours (video.transition_s, video.card_accent, video.card_text), subtitle length, and a short block for the Shorts version (caption size and position, pace, length limits). Change it there, not in the scripts. Every script prints its options with --help.

관련 스킬