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
import soundfile as sf, json, numpy as np, sys, os
# The model is the repo's shared core/tts/; output directory defaults to demo/voices/, override with VO_DIR=... (when checking, don't overwrite the final voice-over)
HERE = os.path.dirname(os.path.abspath(__file__))
CORE = os.path.join(HERE, '../../../../core/tts')
VO = os.environ.get('VO_DIR', os.path.join(HERE, '../voices')); os.makedirs(VO, exist_ok=True)
from kokoro_onnx import Kokoro
k = Kokoro(os.path.join(CORE, "kokoro-v1.0.onnx"), os.path.join(CORE, "voices-v1.0.bin"))
voice = sys.argv[1] if len(sys.argv) > 1 else "af_bella"
out = {}
for name, txt in json.load(open(os.path.join(HERE, 'lines.json'))):
s, sr = k.create(txt, voice=voice, speed=0.9, lang="en-us")
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(os.path.join(VO, f"{name}.wav"), s, sr); out[name] = round(len(s) / sr, 2); print(name, out[name])
json.dump(out, open(os.path.join(VO, 'dur.json'), 'w'))