A Camera Narrator Using GPT-4 Vision and ElevenLabs

Matthew Berman demonstrates a 2023 project that turns webcam frames into spoken nature-documentary-style narration.

MBMatthew BermanIntervenant · Forward Future
Chaîne
Matthew Berman
Publié
22 nov. 2023
Vidéo
6:57
Lecture
2 min
Diapositives
1
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

Matthew Berman demonstrates Charlie Holtz's Narrator project, which combines GPT-4 Vision with ElevenLabs speech synthesis. He walks through setup, creates a voice resembling David Attenborough and troubleshoots the output. The demonstration produces audio files, although direct playback in his terminal fails; the interfaces and prices described are historical.

  1. 1Nature-style narrationThe opening example narrates a person and their surroundings in a nature-documentary style.
  2. 2Vision and speechThe project uses GPT-4 Vision to describe camera frames and ElevenLabs to generate a spoken voice.
  3. 3Local setupBerman clones the project, sets up a Python environment and configures API credentials.
  4. 4Voice setupHe creates a voice clone, selects a faster speech model and locates its voice ID.
  5. 5Troubleshooting outputAfter adjusting API-key handling, he finds an audio file and plays it outside the terminal.

À retenir

  1. The project captures webcam frames, describes them with a vision model and generates spoken narration.
  2. Berman configures Python dependencies and separate API credentials for OpenAI and ElevenLabs.
  3. His 2023 demonstration uses a voice clone and a voice ID, and he says Attenborough has rights to his own voice.
  4. He fixes a key-handling problem and plays the resulting audio file after terminal playback fails.
  5. The example's model availability, interface and pricing reflect the time of recording.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

A camera narrator

Berman presents the narration example and credits Charlie Holtz's project. It combines image analysis and generated speech.

A generated David Attenborough-like voice narrates what my camera sees, describing my colorful clothing, microphone and movements in the style of a nature documentary. I'm going to show how this works. Charlie Holtz first shared the project, which uses GPT-4 Vision for camera images and ElevenLabs for speech.

02

Install and configure

He sets up the repository and credentials, then starts camera capture and narration processes.

I clone the Narrator repository, enter its directory and create a Python 3.11 Conda environment. After activating it, I install the requirements using that environment's Python. The demonstration requires access to the vision API and an ElevenLabs account; I configure their API keys as environment variables.

In the 2023 ElevenLabs interface I locate the API key under the account profile. I also create an OpenAI secret key and say I will revoke the one displayed in the video. The process uses two terminal sessions: one runs the camera capture script and asks for camera permission; the other analyzes frames and produces narration.

03

Voice setup and troubleshooting

Berman creates a voice clone and sets its ID. He adjusts key handling and plays a generated audio file after direct playback fails.

The first attempt reports that the configured voice ID cannot be found. I say Attenborough has rights to his own voice and describe my use as educational. I upload an audio sample to ElevenLabs' instant voice cloning feature; at the time, this requires a paid subscription, while a separate voice-design option is free. These are the settings and prices shown in 2023.

I test the cloned voice with text already generated by the project and find that it sounds convincing. I switch from the multilingual voice model to a faster Turbo option. Then I use the voices API to find the clone's ID and replace the hardcoded ID in the narrator script.

Testing the generated narration
DIAPOSITIVE 1 / 1Testing the generated narrationThe speech interface shows generated narration text and the selected voice settings.

The next run appears not to use my API key, so I change the script to set the ElevenLabs key explicitly. Direct playback in the terminal still does not work, but I find the generated audio files and open one separately. It plays a narration describing me at my computer.

Sur la même chaîne

12 diapositives34:21EN
Matthew Berman· 27 oct. 2026Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI SafetyIA en entreprise+2
0:26EN
Matthew Berman· 25 oct. 2026Sam Altman on Human Values and Problem-Solving in an AI WorldSam Altman · OpenAIIn a short interview excerpt, Altman considers the enjoyment of solving hard problems and the human role in interpreting results.Human-AI CollaborationFuture of WorkAI Strategy
2 diapositives0:36EN
Matthew Berman· 25 oct. 2026Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.ÉvaluationsAgents de codeOpen-weight models
2 diapositives0:21EN
Matthew Berman· 24 oct. 2026An AI-Generated Kimi Benchmark Chart Used Invented ScoresMatthew Berman · Forward FutureMatthew Berman asks for a graph of Kimi K3.1 Pro benchmarks, then discovers that the displayed figures are illustrative placeholders.BenchmarksÉvaluationsGenerative media
6 diapositives25:50EN
Matthew Berman· 24 oct. 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 diapositives32:20EN
Matthew Berman· 23 oct. 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1