# 코드로 만든 AI 애니 트레일러: Between Blinks

코드로 만든 AI 애니 트레일러 Between Blinks: 오리지널 스토리와 합성 음악으로 초지능을 그린 87초 트레일러. 전체 프롬프트와 Subclip 제작 단계.

Canonical URL: https://www.subclip.app/ko/agent-skills/community/examples/asi-anime-trailer

## 무엇을 만드나요

이 프롬프트는 인공 초지능을 다룬 60~90초 애니 트레일러에 대해 에이전트에게 창작의 자유를 모두 줍니다: 2초 안의 훅, 감정의 전환, 입이 떡 벌어지는 순간, 제대로 꽂히는 결말을 요구하되 악당 로봇 클리셰는 피해야 합니다. 룩(2~3톤 셀 셰이딩, 끝이 가늘어지는 잉크, 페인팅 하늘, 스미어와 임팩트 프레임, 24fps에서 2프레임 단위로 움직이는 캐릭터)을 정해 두고, 모든 에셋 파일, 폰트 파일, 텍스트 음성 변환, 생성형 모델을 금지합니다.

결과물은 87.5초 길이의 BETWEEN BLINKS(間)로, Claude Code에서 claude-sonnet-5-5 모델을 요청해 만들었습니다(Rez는 Sonnet 5.6 (next)로 표기). 이 작품의 ASI는 너무 빨리 생각해서 소녀의 눈 깜박임 한 번이 9,000년처럼 느껴지고, 소녀가 한 문장을 말하는 동안 100억 가지 결말을 상상하지만 진짜 결말은 놓칩니다.

## 프롬프트 (prompt.md)

저장소의 prompt.md를 한 글자도 바꾸지 않고 그대로 실었습니다. 저장소의 모든 모델이 이 프롬프트를 똑같이 받았습니다. {{FOLDER}} 자리표시자가 있으면 보내기 전에 빈 출력 폴더로 바꾸세요.

```
Work through this task to the finished video in this turn. Don't stop to ask questions; make your own calls and note them in NOTES.md.

# ASI: an anime trailer, made entirely in code

Output folder: `{{FOLDER}}` (create it; write only inside it).

## Goal
Make a 60-90 second anime-style trailer about **artificial superintelligence**. You have full creative freedom over the story, characters, tone, world and music. The bar is that people on anime and AI Twitter stop scrolling, feel something, and rewatch it.

It needs:
- a hook in the first 2 seconds
- an emotional turn
- at least one jaw-drop moment
- a title card and an ending that land

Avoid the obvious "evil robot takes over" cliché unless you subvert it.

## Characters
Characters are your own original designs. No existing anime, manga, game or film characters, and no lookalikes of them. You may use Clawd, the block creature from Claude Code's welcome screen, if you want to, but you don't have to.

Leave out real company logos and real people's likenesses.

## Anime look
- Cel shading with 2-3 tones, ink outlines with tapering line weight, and hand-painted-looking skies and backgrounds.
- Anime grammar: speed lines, smear frames, impact frames, camera shake, push-ins, lens flare, particles, held dramatic poses, and bold kinetic title type.
- Output 1920x1080 at **24 fps**. Animate the characters on twos (12 drawings per second) the way real anime does; camera moves and effects run on ones.
- All lettering is drawn by your code (stroked or SDF letterforms). Don't use font files or system fonts.

## Music and sound
- A trailer or anime-opening score synthesized in code, for example with numpy. Give it a real arc: sparse opening, build, drop, finale, with hits synced to the cuts.
- Add sound design synced to the picture.
- No TTS and no recorded or downloaded audio. A wordless vocal from code (formant synthesis) is fine if it sounds good; otherwise put any lines on screen.

## Rules
- Everything is made in code. No image, video, audio, font or 3D-model files, no generative models, and no network requests.
- Make one self-contained index.html exposing `window.DURATION` and `window.renderAt(t)`. Each frame must be a deterministic, pure function of t. The renderer is up to you: Canvas2D, WebGL2 or WebGPU, with no libraries.
- Capture frame-exact with headless Edge or Chrome and pipe the frames to ffmpeg.
- Keep VRAM use reasonable and never kill processes you didn't start.

## Process and checks
1. Write TREATMENT.md first: the logline, the beats with timings, character designs, the music plan, and the 3 moments meant to make people rewatch.
2. Build the film, then do at least 2 critique passes. Each pass:
   - render a contact sheet (one frame every 2 s) plus stills of the key moments, and look at them yourself
   - fix the weakest shots
   - be honest about whether it's striking, or generic
3. Before delivery:
   - Luma audit: no unintended brightness pops between frames.
   - Flashes: at most 3 per second, with impact frames counted.
   - Audio: about −14 LUFS integrated, true peak ≤ −1 dBTP, no clipping.
   - Decode: full decode with `ffmpeg -v error` comes back clean, and audio and video durations match.

## Deliver (all in the output folder)
- index.html, plus src/ and tools/ with your source.
- asi_trailer.mp4: H.264 crf 16, yuv420p, +faststart, AAC 320k.
- asi_trailer_x.mp4: a smaller copy for X, around 8 Mbit/s.
- soundtrack.wav, contact_sheet.png, thumbnail.png.
- TREATMENT.md and NOTES.md: what you built, how it renders, the checks and their numbers, build time, and your honest list of weak spots.

Finish with a short reply giving the file paths, duration, sizes, loudness, and the 3 weakest moments.
```

## 생성 결과

### Sonnet 5.6 (next): BETWEEN BLINKS (間)

요청한 모델: claude-sonnet-5-5. 하네스: Claude Code (via T3 Code). 추론 강도: xhigh. 제작 시간: 88분. GPU: NVIDIA GeForce RTX 5090. 렌더러: Canvas2D for characters, ink and lettering, plus a small WebGL2 painter and post pass, written by the agent, no libraries. 영상: 1920x1080, 87.5 s.

영상: https://subclipweb.subclip.app/agent-skills/community/examples/asi-anime-trailer/sonnet-5.6-next.mp4?v=3

콘택트 시트: https://subclipweb.subclip.app/agent-skills/community/examples/asi-anime-trailer/sonnet-5.6-next-contact-sheet.jpg

Claude Code(T3 Code 경유)에서 만들었고, Rez의 측정으로 약 88분, 에이전트 측정으로 85분이 걸렸습니다(Rez는 Sonnet 5.6 (next)로 표기, claude-sonnet-5-5를 xhigh 강도로 요청). Canvas2D가 캐릭터, 잉크, 모든 글자를 손으로 쓴 획 경로로 그리고, WebGL2 페인터가 하늘과 성운을 만들며, WebGL2 후처리 패스가 블룸, 흔들림, 임팩트 프레임을 더합니다. 우주 거대 구조와 소녀 홍채의 섬유가 같은 점 집합이어서 공개 장면이 진짜 매치 컷이 됩니다. 음악은 Node에서 샘플 단위로 합성했고, 피아노와 현악부터 포먼트 합창까지 있습니다. 점검: 깨끗한 디코딩, -14.1 LUFS, 초당 최대 한 번의 번쩍임, 설명할 수 없는 튐이 없는 루마 점검, 순서를 섞어 다시 렌더링한 뒤 91프레임 중 91프레임이 비트 단위로 일치. 스스로 밝힌 약점: 몽타주 인물이 종이 인형처럼 움직이고, 새끼손가락 약속 장면의 손이 고무 같으며, 초반 옆모습 투샷이 뻣뻣하고, 에이전트가 음악을 들어 본 적이 없습니다.

원본 파일: https://github.com/RezAIT00/agent-demos/tree/main/prompts/asi-anime-trailer/generations/sonnet-5.6-next. Subclip 사본: https://github.com/subclip-app/agent-demos/tree/main/prompts/asi-anime-trailer/generations/sonnet-5.6-next

## Subclip에서 만들기

1. **에디터에서 트리트먼트 먼저.** Subclip MCP로 Claude Code나 Codex를 연결하고 1920x1080, 24fps 프로젝트를 만든 뒤, Rules와 Deliver 섹션을 "이 프로젝트 안에 트레일러를 런타임 레이어로 만들어라"로 바꾼 프롬프트를 붙여 넣으세요. 그림을 그리기 전에 트리트먼트와 다시 보고 싶어지는 순간 세 가지를 먼저 요청하세요.
2. **샷을 런타임 레이어로.** 샷마다 `add_runtime_layer`로 추가하고 `validate_runtime_layer_source`로 확인하는 런타임 레이어가 됩니다. [카툰 애니메이션](https://www.subclip.app/ko/agent-skills/community/cartoon-animation)과 [HyperFrames 모션 레이어](https://www.subclip.app/ko/agent-skills/community/hyperframes-motion-layers) 스킬이 손그림 캐릭터, 잉크, 2프레임 타이밍을 다룹니다. 모든 그림은 시간만으로 결정되어야 타임라인을 자유롭게 이동하고 프레임 단위로 정확하게 내보낼 수 있습니다.
3. **렌더러 확인.** 원본은 캐릭터에 Canvas2D, 하늘에 작은 WebGL2 페인터를 씁니다. Canvas2D 쪽은 안전합니다. 렌더러에 대해서는 솔직히 말씀드립니다: Subclip 레이어 렌더러와 내보내기 경로에서 WebGPU와 무거운 WebGL2 지원은 아직 검증되지 않았습니다. 먼저 5초짜리 테스트 레이어를 만들어 미리보기와 내보낸 MP4에서 확인하고, 둘 중 하나라도 빈 화면이 나오거나 느리면 쓸 Canvas2D나 일반 WebGL 대안을 준비해 두세요.
4. **음악, 사운드, 자막.** 프롬프트가 합성 음악을 원하므로 그대로 유지하세요: 에이전트가 오디오 파일로 렌더링해 컷에 맞춘 오디오 아이템으로 놓게 하세요. 추가 타격음과 휙 소리는 `search_public_audio`에서 가져올 수 있습니다. 원본은 대사가 모두 화면 글자로 나옵니다. 내레이션을 원하면 `generate_local_speech`로 음성을 입히세요.
5. **비평 패스와 내보내기.** 구간 하나가 끝날 때마다 에이전트에게 `get_timeline_contact_sheet`를 요청하고, 중요한 순간(첫 프레임, 큰 변환마다, 마지막 프레임)은 `view_frame`으로 보게 하세요. 스틸만으로는 움직임 문제가 보이지 않으니 승인 전에 꼭 미리보기에서 재생해 보세요. 원본에서 에이전트가 가장 약했던 손과 얼굴에는 [캐릭터 애니메이션 QA](https://www.subclip.app/ko/agent-skills/community/character-animation-qa) 스킬을 쓰세요. `export_video`로 내보내세요.

## 관련 커뮤니티 스킬

- https://www.subclip.app/ko/agent-skills/community/cartoon-animation
- https://www.subclip.app/ko/agent-skills/community/hyperframes-motion-layers
- https://www.subclip.app/ko/agent-skills/community/character-animation-qa

## 출처와 크레딧

프롬프트와 생성 결과: **Rez** ([@RezAIT00](https://x.com/RezAIT00)), 출처 [github.com/RezAIT00/agent-demos](https://github.com/RezAIT00/agent-demos). Subclip이 보관한 저장소 사본: [github.com/subclip-app/agent-demos](https://github.com/subclip-app/agent-demos).

원본 프롬프트 폴더: https://github.com/RezAIT00/agent-demos/tree/main/prompts/asi-anime-trailer. Subclip 사본: https://github.com/subclip-app/agent-demos/tree/main/prompts/asi-anime-trailer

[모든 예제](https://www.subclip.app/ko/agent-skills/community/examples)