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
# narration: Kokoro af_heart, speed .93 → ../voices/v01..v13.wav + dur.json
# usage (repo root): .venv/bin/python styles/watercolor/demo/tts/gen.py (OUT=dir changes the output directory, default ../voices)
# the model is the same kokoro-v1.0.onnx / voices-v1.0.bin as in core/tts/
import soundfile as sf, json, numpy as np, os
OUT = os.path.abspath(os.environ['OUT']) if os.environ.get('OUT') else None
from kokoro_onnx import Kokoro
HERE = os.path.dirname(os.path.abspath(__file__)); os.chdir(HERE)
CORE = os.path.join(HERE, '..', '..', '..', '..', 'core', 'tts')
k = Kokoro(os.path.join(CORE, "kokoro-v1.0.onnx"), os.path.join(CORE, "voices-v1.0.bin"))
OUT = OUT or '../voices'; os.makedirs(OUT, exist_ok=True)
out={}
for name, txt in json.load(open('lines.json')):
s, sr = k.create(txt, voice="af_heart", speed=0.93, lang="en-us")
# trim silence
a=np.abs(s); th=a.max()*0.01; nz=np.where(a>th)[0]; s=s[max(0,nz[0]-240):nz[-1]+2400]
sf.write(f"{OUT}/{name}.wav", s, sr); out[name]=round(len(s)/sr,2); print(name, out[name])
json.dump(out, open(f'{OUT}/dur.json','w'))