FORWHAT

178 ប្រយោគ

ប្រយោគបញ្ជា និងលទ្ធផល

បើកកាតមួយ ដើម្បីអានប្រយោគបញ្ជាជាភាសាដើមដែលវាសរសេរ ចម្លងអត្ថបទនោះ ហើយទៅកាន់ប្រភព។

Claude Opus 5.5 and Fable 5.2Claude Code

វីដេអូ Short ប្រវត្តិសាស្ត្របែប faceless មើលទៅជា 3D និងមានមនុស្សតុក្កតាសំប៉ែតៗ

A faceless history Short with 3D sets and flat cartoon people

Theo (@theoardley) បានសរសេរ prompt វែងមួយឲ្យ Claude Code ដើម្បីបង្កើត video Short ប្រវត្តិសាស្ត្រ 60 វិនាទី។ រូបរាងវាគឺដូចក្រុង 3D ដែលមានពន្លឺ បង្កើតដោយ three.js និងមានរូបមនុស្សតុក្កតាសំប៉ែតៗធំៗ។ Caption បង្ហាញម្តងមួយពាក្យៗ។ Prompt នេះសួររកសាច់រឿងពិត សំឡេង និងឈ្មោះ channel របស់អ្នក។ វាប្រើ tool ហ្វ្រីៗលើម៉ាស៊ីនផ្ទាល់ខ្លួន ដូចជាសំឡេង Kokoro ជាដើម។ វានឹងបង្ហាញ script ឲ្យអ្នកមើលសិន រួចចាំអ្នកយល់ព្រមទើបទៅមុខទៀត។ Theo បានសាកវាលើ Opus 5.5 និង Fable 5.2 ជាមួយរឿងយានអវកាសដែលបាត់ខ្លួនលើ Mars។ Prompt គឺនៅក្នុង post ហ្នឹង។

@theoardley ប្រភព

រូប ឬវីដេអូនៅលើប្រកាសដើម។ ទំព័រនេះមិនរក្សាទុកឯកសារនោះទេ។

Short preview clip made from the creator's original post, with credit. The full post is embedded. The rights stay with the creator.

<inputs>
Ask me 3 things, then wait:
1. The story in one line: a strange TRUE event from history, science or tech, told as a question ("Why did Russia guard an empty lawn for 60 years?"). If I say "you pick", pitch 3 with one source link each and take the first unless I choose.
2. The voice. Default: Kokoro (free, runs on my computer), a calm young male narrator.
3. A short wordmark for the top left (my name or channel name, never another channel's).
Then tell me everything else is free and installs itself into this folder: Python venv, Playwright + its Chromium, three.js (npm or one download), FFmpeg (imageio-ffmpeg), kokoro-onnx + its model files (kokoro-v1.0.onnx and voices-v1.0.bin from the kokoro-onnx GitHub releases), faster-whisper (small.en), numpy, Pillow. It needs no API key or account and runs on the CPU.
</inputs>

<direction>
The look: a warmly lit 3D world with flat 2D people in it.
- Sets are 3D, built in three.js from boxes and planes: a night city (tall blocks with glowing window grids, wet streets with a yellow centre line, warm street lamps, a moon), plus the interiors the story needs (an office, a lab, a police station, a hangar). BRIGHT enough to read on a phone: warm key light on the subject, blue fill, no shot darker than a lit evening street.
- People are flat cut-outs that face the camera: a white rounded head with dot eyes and short brows, a capsule body in a hoodie or work coat with one bold colour, thin stick arms and legs, a dark outline. They are BIG: the main character fills 35-60% of the frame height in most shots. Hats, helmets or uniforms tell you who they are. A new expression on every line.
- First-person moments: a white cartoon glove holding a phone whose screen reacts to the story.
- Props carry the facts, at most one sign or document per 8 seconds: a billboard, a price tag, a document with the key sentence underlined in red, a red circle around the detail that matters.
- Camera: slow push-ins and dollies, a new shot every 2-3 s, a fast whip between sections.
- Captions: ONE word at a time, heavy white font with a thick black outline, centred at 62% of the height, landing on the spoken word.
- Banned: real people's faces or likenesses, logos, footage, photos, AI images or AI video, downloaded music.
</direction>

<structure>
50-62 s, 140-170 words, 165-185 words a minute while speaking.
- 0-2 s: the strangest fact as ONE clear picture: the main character big, doing the strange thing, lit, with the key object in frame. Said in the first sentence.
- 2-15 s: who, where, when.
- 15-42 s: 3-4 beats that make it stranger, each with a number or a named place.
- 42-55 s: the real reason.
- Last line: a short twist that makes the first frame hit again.
Title = the question. The cover is the first frame.
</structure>

<build>
Save every stage to disk so a crash never costs more than one stage.
- sources.md: every fact with its link and the date you read it. Anything you can't verify stays out.
- script.json: lines, each with its shot id, the set and where the main character stands.
- https://t.co/2ltXAYBEB2: Kokoro (speed 1.1) reads the lines; faster-whisper times every word (pass it a 16 kHz numpy array, not a path); if a word's start is late after a pause, walk it back to where the speech energy starts; write captions.json.
- scenes.html: one three.js page with every set and shot, served from the folder over a local http server (not file://). `window.setT(t)` draws the exact frame for time t, `https://t.co/ZENXSgI6Ao` is the length. Replace Math.random with a seeded one at load.
- https://t.co/hpj8ttTO16: Playwright opens scenes.html?render=1 in headless Chromium with `--use-angle=swiftshader --enable-unsafe-swiftshader`, calls setT(k/30) for every frame and saves each frame. Expect about 1-2 s a frame on a laptop CPU, so run 3 renderers on interleaved frames and skip frames already on disk.
- https://t.co/49eJxversT, numpy only: a low city drone, a whoosh on every cut, a soft hit on the reveal; measure loudness on the whole stereo mix and master it to -14 LUFS with the bed ducked under the voice.
- Encode: out/<slug>_9x16.mp4 (1080x1920, 30 fps, TV-range yuv420p) and out/<slug>_x_7x8.mp4 (1008x1152, under 10 MB, 2-pass). For the X file, crop the 9:16 frame so the scene keeps its framing and put the caption at the same scene height as in the 9:16.
</build>

<gotchas>
- Script: numbers on screen exactly as they're said and nothing on screen counts or ticks that isn't said. Skip "imagine" and "did you know". If Kokoro mangles a foreign name, spell it the way it sounds.
- Framing: keep faces and key props between 15% and 55% of the height, so the caption at 62% never covers them. Never let a face touch the frame edge.
- Look: window grids as one canvas texture per building, used as map and emissiveMap. Push anything that sits on a wall 1 cm forward or it flickers. People, the glove and documents are planes with alphaTest cut-outs (not transparent, or they draw over screens) and toneMapped off, so the bloom never turns them into white halos.
- Camera: never cut in the middle of a word, never move through a wall.
- Check: make a contact sheet (a frame every 0.5 s) and look at every tile: the hook reads in the first 2 s, people are big and lit, nothing flickers or goes black and captions stay off faces and key props. Then step through the first 2 s, the middle and the end frame by frame. Fix, render only the changed shots again.
</gotchas>

<start>
Pitch (or take my story), then show me the script with the word count, the seconds for each line and the shot list with what the first frame shows. Build nothing until I say go.
</start>
បើកក្នុង ChatGPT (បើកផ្ទាំងថ្មី) បើកក្នុង Claude (បើកផ្ទាំងថ្មី)

ការបញ្ជាក់ឈ្មោះមិនមែនជាការអនុញ្ញាត។ កំណត់សម្គាល់អាជ្ញាប័ណ្ណ គឺជាកំណត់សម្គាល់សិទ្ធិដែលយើងមាន។ បើអ្នកនិពន្ធ ឬអាជ្ញាប័ណ្ណមិនស្គាល់ វានៅតែមិនស្គាល់។ សុំឱ្យយើងដកចេញ

ស្វែងរកក្នុងបណ្ដុំ