1. Open a new local folder in Codex
Use the ChatGPT desktop app with access to Codex. Check your plan for access and usage limits. Each media tool runs on your computer after the initial downloads, while Codex helps with setup and writing scripts.
The example is a clip for YouTube creators about opening with the answer. You will make an English voice-over and a simple animation from scratch, so you can start with an empty folder.
- Create an empty folder named youtube-local-demo in Finder, File Explorer or your file manager.
- Open the ChatGPT desktop app, sign in and select Codex. Open the new folder as a local project.
- Paste the first prompt. Read the setup plan before approving any download or system installation.
Prompt to paste into Codex
Iβm new to local video tools. This empty folder is my project. Detect my operating system and processor and check which tools are already available. Give me a short setup plan for Python with Kokoro ONNX, Blender, whisper.cpp and FFmpeg. Use official project sources and choose versions compatible with my computer. Tell me which downloads or permissions Iβll need. Keep project files and model downloads here where practical. Ask before any system-wide install or administrator action. Wait for my approval before installing.
2. Install the tools and check each one
Kokoro ONNX runs text-to-speech, Blender renders the animation, whisper.cpp transcribes audio and FFmpeg assembles the video. Depending on your computer, whisper.cpp can need CMake and a compiler. If Codex asks you to run an installer, use the official download link and tell Codex when it finishes.
Before moving on, check that the tools open or respond to a version or help command. If one step fails, paste its exact error into Codex and ask it to fix that step before continuing.
Prompt to paste into Codex
Proceed with the approved setup. Create a project-local Python virtual environment, install kokoro-onnx and its required dependencies, and obtain the matching model and voice files from the official project instructions. Set up Blender, whisper.cpp and FFmpeg with the official instructions for my operating system. Reuse anything suitable that is already installed. Stop for any permission I need to grant or any installer I need to open. Verify Python can import kokoro_onnx, Blender and FFmpeg report their versions, and whisper-cli responds to its help command. List what is ready and what still needs my action.
Source: Kokoro ONNX: Official project and setup β, Blender: Command-line rendering β, whisper.cpp: Official project and setup β, FFmpeg: Video and audio conversion β
3. Generate and listen to the voice-over
Start with an English voice supported by the downloaded Kokoro model. The sample uses an English sentence so you can follow the same instructions on either language version of this guide. Read the model and voice terms before using other assets in a published video.
Open output/voice.wav and listen from start to finish. If the voice fumbles a word, change its spelling in the script or choose another supported voice and regenerate the audio before rendering.
Prompt to paste into Codex
Create script.txt with this exact English narration: Open your notes. Write down one question your viewer wants answered. Put the answer in the first shot. Then record the rest of your video. Use the projectβs Kokoro ONNX environment and a supported English voice to synthesize script.txt into output/voice.wav. Create a reusable script in this folder and show me how to run it again. Tell me which voice you used and report the WAVβs duration. Keep synthesis local and do not upload the audio.
4. Render a short animation in Blender
Keep the first scene simple. The example uses a cube and a fixed camera so you can see the entire process with no assets to find. Start with one image and check that the subject and lighting are clear.
Prompt to paste into Codex
Create a Blender scene locally using a small Python script with a lit cube, fixed camera and simple rotation. Save the scene as demo.blend. Set 1280 by 720 pixels and 24 frames per second. Use the length of output/voice.wav to calculate the frame count, rounding up. Render one PNG preview first so I can check framing and lighting. Once I confirm it looks good, render the full range in background mode to sequential PNGs in output/frames. Tell me the filename pattern and frame range.
5. Make the MP4 and subtitle file
The MP4 contains the animation and narration. The SRT is a separate text file with subtitle times. Keeping these separate makes it easy to fix a word or timing without re-rendering the animation.
Prompt to paste into Codex
Use FFmpeg to assemble the numbered PNGs at 24 fps, add output/voice.wav and export output/preview.mp4 with H.264 video and AAC audio. Match the PNG sequence start number and end the clip with the audio. Convert the final narration to 16-bit PCM WAV, mono, 16 kHz for whisper.cpp. Install the appropriate English model using its official instructions if needed, then transcribe the audio in English and export output/captions.srt. Verify that the MP4 has video and audio and that the SRT has non-empty, increasing subtitle timestamps.
Source: whisper.cpp: Official project and setup β, FFmpeg: Video and audio conversion β
6. Check the result before repeating it
Play the file once with sound and once with the captions visible in a compatible player. For your own videos, check names, numbers and the timing after every edit.
- Open output/preview.mp4. Check that the animation lasts until the last spoken word.
- Open output/captions.srt and compare the text against script.txt. Fix any words or timings that are off.
- Keep the scene, script and tested tool versions together. Replace the narration next time and rerun voice, render and captions in that order.
Sources and further reading
Put the overview to work.
Try ChannelRoster Unlimited FREE for 7 days. No card needed.
Start my FREE trial β