~/talk

Building a Multi-modal AI Application in TypeScript using ModelFusion

Talkat CityJS Berlin 2024 · 2024-01-05..02-02· [large-language-models, typescript]
links:none on file
slides:none on file

A TypeScript kids‑story app built with ModelFusion turns speech into a full audio story with images and multi‑voice narration, using Whisper for 1.5s transcription, GPT‑3.5‑instruct and GPT‑4 for outline, title and prompts, Stability for images (~15s, ~25s total to image), and 11Labs/Element for TTS. Architecture uses Fastify, server‑sent events, asset storage (filesystem/S3), and streaming partial JSON so audio starts in ~10–20s instead of minutes; voices are chosen by voice embedding nearest‑neighbor on a vector store. Code and tooling are open source.

AI-written summary · about

  1. 0:00Introduction to Storyteller app
  2. 1:06Challenges in AI story generation
  3. 2:37Architecture and providers overview
  4. 5:06Client-server flow setup
  5. 6:31First AI call transcription
  6. 7:34Generating story outline
  7. 8:38Parallel title and image generation
  8. 10:58Streaming structured audio story
  9. 13:44Voice selection with embeddings
  10. 15:31Text-to-speech synthesis
  11. 17:18Progressive content delivery
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.