Skip to content

Native multimodal: skip STT/TTS for models that handle audio/images directly #343

Closed

Description

@joelteply

Problem

Models like GPT-4o, Gemini Live, Qwen3-Omni can process audio and images NATIVELY — no need for STT transcription or vision description intermediaries. But we pipe everything through STT→text→LLM→text→TTS, losing quality and adding latency.

Current architecture (wasteful for capable models)

  • Audio in: mic → VAD → Whisper STT → text → LLM
  • Image in: base64 → VisionDescriptionService → text description → LLM
  • Audio out: LLM → text → TTS → audio

Target architecture (capability-aware)

  • Audio-native models: mic → raw audio → LLM (skip STT entirely)
  • Vision-native models: base64 image → LLM directly (skip description)
  • Audio output models: LLM → raw audio (skip TTS)
  • Image output models: LLM → generated image (diffusion/native)

Design

Already partially designed in CLAUDE.md "Sensory Architecture":

  • Capable model: receives raw media directly
  • Incapable model: receives text bridge (STT/vision description)
  • System bridges capability gaps transparently

Impact

  • Massive latency reduction for capable models (skip STT+TTS = save 5-10s)
  • Higher quality (no lossy text intermediate)
  • Cost reduction (no separate STT/TTS API calls)
  • Enables true real-time conversation with audio-native models

Activity

  1. joelteply commented on Mar 25, 2026

    @joelteply
    ContributorAuthor

    Architecture proven: Qwen3.5-4B is a VL (Vision-Language) model — handles both text and images natively. Text-only inference works via AutoProcessor text path. Vision inference bypasses VisionDescriptionService. The sensory bridge pattern from CLAUDE.md handles the routing: capable models get raw media, text-only models get descriptions. Candle GGUF backend needs VL architecture support for local inference — that's the remaining work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions