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
// Read window.SUBS from the page and export subs.json (the srt and the burned-in subtitles share the same data)
import { chromium } from 'playwright-core'; import fs from 'fs'; import path from 'path'; import { fileURLToPath } from 'url';
const HERE = path.dirname(fileURLToPath(import.meta.url)), ROOT = path.resolve(HERE, '../../../..');
const { serve } = await import(path.join(ROOT, 'core/render/serve.mjs')); const { EXE, ARGS } = await import(path.join(ROOT, 'core/render/browser.mjs'));
const { server, port } = await serve(ROOT); const b = await chromium.launch({ executablePath: EXE, args: ARGS }); const p = await b.newPage();
await p.goto(`http://127.0.0.1:${port}/styles/blueprint/demo/index.html`); await p.waitForFunction(() => window.READY === true);
const subs = await p.evaluate(() => window.SUBS); fs.writeFileSync(path.join(HERE, '../subs.json'), JSON.stringify(subs, null, 1));
console.log(subs.map(s => `${s.t0.toFixed(2)}-${s.t1.toFixed(2)} ${s.text}`).join('\n')); await b.close(); server.close();