A toolbox of film styles made in code for Claude Code: 66 ready to use, and your own. Each style is a style prompt plus a demo film made entirely in code by Claude Opus 5.5, with no video model. By Lemomo. · 一套用代码做片的风格工具箱:66 种现成风格,也能做出你自己的
JavaScript agent-skillsai-agentsai-short-filmai-videoanimationcanvasclaudeclaude-codeclaude-code-pluginclaude-code-skillcreative-codingffmpegfilmmakingmotion-graphicsopus-5-5prompt-librarytext-to-speechthreejsvideo-productionwebgl
"""Subtitle cues (same rule as SUBS in main.js) → subs.json → core/render/srt.py exports the .srt"""
import json, os, re
H = os.path.dirname(os.path.abspath(__file__))
L = {l['id']: l for l in json.load(open(f'{H}/lines.json'))}; D = json.load(open(f'{H}/voices/dur.json'))
VO = dict(re.findall(r'(L\d): ([\d.]+)', re.search(r'export const VO = \{([^}]*)\}', open(f'{H}/story.js').read()).group(1)))
cues = [{'t0': float(t), 't1': float(t) + max(1.8, D[i] + .75), 'text': L[i].get('sub', L[i]['text'])} for i, t in VO.items()]
for a, b in zip(cues, cues[1:]): a['t1'] = min(a['t1'], b['t0'] - .1)
json.dump(cues, open(f'{H}/out/subs.json', 'w'), indent=1); print(cues)