SevyDevy

Module 6 · Beyond text: images, voice and video · Lesson 26 of 32

Voice and multimodal AI

10 minFree GenAI course · BeginnerLesson 6.2By Saket Bhatnagar

Researched and drafted with AI, reviewed and edited by Saket Bhatnagar.

In short

  • Multimodal AI can take in and give out more than text: photos, speech, screenshots and video.
  • A classic voice assistant is a relay: listen, turn speech into text, think, turn the answer into speech, and play it.
  • Images and sound are cut into small pieces and turned into tokens too, so the same kind of model can read them.
Soon

Video lesson · coming soon

Voice and multimodal AI explained in 3 minutes

Lala, your AI mentor, will walk you through this lesson in a short animated video. Until then, everything is here to read and try.

  1. 01 Nani has never typed a message
  2. 02 More than text in, text out
  3. 03 A relay, like the dabbawalas
  4. 04 Follow one sentence through
  5. 05 Every hop adds a wait
  6. 06 How a model sees a photo
  7. 07 Try the relay, then build an app

Asha’s Nani in Lucknow has never typed a message in her life. But one evening she holds the phone close and says, “Raat nau baje BP ki dawai yaad dila dena.” Remind me about my BP medicine at nine tonight. The phone answers in a calm voice: “Done, Nani. I’ll remind you at 9 pm.”

No keyboard, no menus. For hundreds of millions of people, talking is far more natural than typing. So how does a model that works with tokens hear Nani, and talk back? Let’s follow her sentence.

What does “multimodal” mean?

A “mode” is a kind of information: words, pictures, sounds. Early chat apps only did text in and text out. By 2026, most big chat apps let you show a photo, speak a question, or share your screen, and many can answer by voice or with a picture.

What goes in, what comes out
You giveYou getEveryday example
Photo + questionTextSnap a menu in Tamil and ask what is vegetarian
ScreenshotTextShare an error message and ask what went wrong
SpeechSpeechAsk for a reminder while cooking, hands covered in atta
TextImageDescribe a poster for the college fest
Long audioTextTurn a one-hour class recording into notes

How does a voice assistant work?

The classic design is a relay race of separate parts. Each part does one job well and passes the baton on. Three of them are new words, so let’s meet them first.

The voice assistant relay

Sound comes in, becomes text, the model thinks and may call a tool, and the reply becomes sound again. Every hop adds a little delay, so good apps overlap the steps.

Diagram connections:

  • Microphone to Speech-to-text (audio)
  • Speech-to-text to Language model (text)
  • Language model to Reminder tool (tool call)
  • Reminder tool to Language model (result)
  • Language model to Text-to-speech (reply text)
  • Text-to-speech to Speaker (audio)
  • Microphone: Records sound; voice activity detection spots when speech e…
  • Speech-to-text: Turns the recording into written words.
  • Language model: Reads the words and writes a reply, the same way as in chat.
  • Reminder tool: An ordinary app feature the model asks for, as in the tool…
  • Text-to-speech: Turns the reply into spoken audio.
  • Speaker: Plays the answer, and stops if you interrupt.
Try it yourselfFollow Nani’s sentence through the assistantStep through the relay. At each step, notice what form her words are in: sound, text, a tool request, or sound again.

Why speed and accents make voice hard

In a normal phone call, people reply to each other within a fraction of a second. If an assistant goes quiet for two or three seconds, it feels broken. Every hop in the relay adds delay, so the waits pile up.

  • Overlap the steps: transcribe while the person is still talking, and start speaking the first sentence before the whole reply is written.
  • Keep replies short. A shorter answer means fewer tokens to write and less audio to make.
  • Allow interruptions. If the person starts talking, stop speaking at once and listen. This is often called barge-in.
  • Guess the end of a sentence carefully. Reply too early and you cut people off; too late and it feels slow.

Then there is how India speaks. Many people mix languages in one sentence, like Nani’s Hindi with “BP”. Accents change every few hundred kilometres. Numbers can come as “nau”, “nine” or “twenty-one hundred”. Speech-to-text has improved a lot for Indian languages, but mixed speech and noisy rooms still cause mistakes.

Since 2024, some assistants skip parts of the relay. A speech-to-speech model hears your tone, not only your words, and can answer with feeling and less delay. The trade-off: there is no clean text in the middle to check, log or search, so many products still use the relay, or a mix of both.

How can a model “see” a photo?

Remember tokens and embeddings? A model only works with numbers. So a photo is cut into a grid of small squares, called patches. Each patch is turned into an embedding, the same kind of meaning-numbers that words become.

How a photo joins the conversation

The photo is cut into patches, each becomes an embedding, and they sit in the context next to the tokens of your question. Attention then links words to the parts of the picture they are about.

Diagram connections:

  • Your photo to Cut into patches (grid)
  • Cut into patches to Patch embeddings (to numbers)
  • Patch embeddings to Multimodal model (image tokens)
  • Your question to Multimodal model (text tokens)
  • Multimodal model to Answer (writes)
  • Your photo: For example, a restaurant menu written in Tamil.
  • Cut into patches: A grid of small squares, each a few dozen pixels across or…
  • Patch embeddings: Each square becomes a list of numbers, like a word token.
  • Your question: “Which dishes here are vegetarian?”
  • Multimodal model: Reads image pieces and words together in one context window.
  • Answer: Text about the photo, which you should still double-check.

Sound works in a similar way: audio is sliced into very short moments, and each slice becomes numbers. Once everything is numbers in one context window, attention can connect “vegetarian” in your question with the patch that says “paneer”.

Check yourself

Check yourself

In a classic voice assistant, what is the right order?

Pick an answer to see why it is right or wrong.

Check yourself

Users say your voice assistant feels slow. Which change helps most?

Pick an answer to see why it is right or wrong.

Check yourself

How does a multimodal model read a photo you send?

Pick an answer to see why it is right or wrong.

Remember these three

  1. Multimodal AI works with text, images, sound and video, often mixed in one conversation.
  2. A voice assistant is a relay: listen, speech-to-text, think, text-to-speech, speak, with every hop adding delay.
  3. Photos and sound are cut into small pieces and turned into numbers, so one model can read words and pictures together.

Questions people ask

What is multimodal AI?
Multimodal AI is AI that can understand or produce more than one kind of information, such as text, images, speech and video. For example, you can show it a photo, ask about it out loud, and hear the answer.
How do AI voice assistants work?
Most work as a relay. They detect when you speak, turn your speech into text, let a language model write a reply (sometimes using tools), and turn that reply back into speech. Some newer models handle audio in and out directly.
What is the difference between speech-to-text and text-to-speech?
Speech-to-text listens to audio and writes down the words. Text-to-speech does the opposite: it takes written words and speaks them in a natural voice. A voice assistant uses both, one at each end.
Can AI understand Indian languages and Hinglish?
Yes, increasingly well, for both speech and text in major Indian languages. Mixed-language sentences, strong accents and noisy rooms still cause more mistakes, so important actions should be confirmed before they happen.