06. Multimodal & Real-time Interaction
Augmentation·Chapter 06
Adding image, voice and video inputs
Where this chapter fits: the engineering problems of multimodal work concentrate in two places: pipeline latency and format alignment. This chapter covers preprocessing standards for image and voice input, end-to-end latency breakdown of streaming pipelines, implementation paths for OCR and voice conversation, and the verification cost of multimodal results.
Questions this chapter answers
- Should an image be compressed before going to the model, and how far can compression go without losing information?
- Which segment actually bottlenecks voice-conversation latency?
- How do you validate multimodal output while keeping human review costs under control?
Article index
The image looks fine and OCR returns a blank page: three silent traps in EXIF orientation, 16-bit depth and transparency
Three synthetic documents of 102 characters each, seven preprocessing paths, three tesseract runs per path. Saving an EXIF Orientation=6 file without transposing gives a 100% character error rate; converting a 16-bit scan (values 3000-60000) straight to RGB pushes 100% of pixels to 255 and blanks all three documents; a transparent PNG whose hidden RGB under alpha=0 is black turns the whole image black and blanks them too. None of the three paths raises an exception, and every output is a valid PNG. Transpose first, composite second, normalize depth third, resize last, and all of them return to 0%.
How much can field validation catch in OCR output? On 200 documents, order numbers 32/32 and totals 45/45, but dates 3/14 and unit prices 0/27
Across 200 synthetic documents and 1,400 fields, tesseract's field error rate was 10.9% and only 115 documents had all seven fields right. Three rule layers (format, check digit, total cross-check) flagged 75% of wrong fields with a 7.4% false-flag rate, leaving 2.7% silent errors. Order numbers, line subtotals and totals were nearly all caught, dates only 3 of 14 and unit prices 0 of 27. A character-confusion repair pass (O to 0, I to 1) fixed 0 of 90 wrong amount fields.
How far to compress an image before it enters the model: tokens follow pixel size, not JPEG quality
On gpt-6-astra the detail parameter defaults to auto, and auto equals original: a 4000x3000 screenshot is 11,750 32px patches, 14,100 tokens, and anything past 30,000 patches is rejected rather than resized. On one A4 page, character error rate was 100% at the 512 tier, 84.8% at 768, 15.6% at 1024 and 4.0% at the high budget; saving the same image as JPEG q40 cut the file to 42% without removing a single token.
From a special token to a plain sentence: how GPT-Live-1.1 decides when to hand work to the backend, and how to test it
GPT-Live-1.1 (released 2026-11-19) writes the voice model's handoff decision as a natural-language Delegation policy instead of Generate <|SpawnThinking|>. This piece covers the two-part split, why the capability list you write drives misrouting, how to choose between Responses and client delegation, why transcripts are not in the delegation event, the 500-token append limit, non-rolling-back async validation, and the three test cases such a policy needs.
Five minutes of silence bills $0.25: GPT-Live standby cuts the rate, not the silence
GPT-Live-1.1 arrived in the Live API on 2026-11-19 along with WebRTC standby: idle_timeout_s accepts only 5-60 seconds, standby bills at $0.02 per minute against $0.05 active, both per second. A 10-minute call with four 90-second silences saves 12% at a 60-second threshold and 32% at 10 seconds, because the first 60 seconds of every silence still bills at the active rate.
Topic backlog
- Voice-conversation pipeline breakdown: latency of each VAD, ASR, LLM and TTS stage
- Streaming output and barge-in implementation points
- Multimodal evaluation: what to do when automatic metrics fail