百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

Stream-Omni

> AI 编程
开源

Stream-Omni 是一种类似 GPT-4o 的语言-视觉-语音聊天机器人,可同时支持在各种模态组合之间进行交互。

390 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Stream-Omni 是一种类似 GPT-4o 的语言-视觉-语音聊天机器人,可同时支持在各种模态组合之间进行交互。

Stream-Omni: Simultaneous Multimodal Interactions with Large Language-Vision-Speech Model

Shaolei Zhang, Shoutao Guo, Qingkai Fang, Yan Zhou, Yang Feng*

Stream-Omni is a GPT-4o-like language-vision-speech chatbot that simultaneously supports interaction across various modality combinations, with the following features:

  • Omni Interaction: Support multimodal inputs including text, vision, and speech, and generate both text and speech responses.
  • Seamless "see-while-hear" Experience: Simultaneously output intermediate textual results (e.g., ASR transcriptions and model responses) during speech interactions, like the advanced voice service of GPT-4o.
  • Efficient Training: Require only a small amount of omni-modal data for training.

Demo

Vision-grounded Speech Interaction (simultaneously produce intermediate text)

https://github.com/user-attachments/assets/25807982-aa95-4633-9e92-10d995900258

https://github.com/user-attachments/assets/df8d79ba-63db-487c-a4a9-f183372168a1

[!NOTE]

Stream-Omni can produce intermediate textual results (ASR transcription and text response) during speech interaction, offering users a seamless "see-while-hear" experience.

  • Downlaod Stream-Omni model from here, put in ${STREAMOMNI_CKPT}.
  • Downlaod CosyVoice (Tokenizer & Flow Model) from here, put in COSYVOICE_CKPT=./CosyVoice-300M-25Hz:
    python
    from modelscope import snapshot_download
    snapshot_download('iic/CosyVoice-300M-25Hz', local_dir='./CosyVoice-300M-25Hz')
  • Run these scripts to launch the API and interface, and then interact through the browser (http://localhost:7860):
…
  • You can also refer to api.py for the usage of API.

Quick Start

[!Tip]

Stream-Omni achieves modality alignments through sequence-dimension concatenation for vision-text alignment and layer-dimension mapping for speech-text alignment.

Requirements

  • Install packages:
    bash
    conda create -n streamomni python=3.10 -y
    conda activate streamomni
    pip install -e .
    pip install flash-attn --no-build-isolation
    pip install -r requirements.txt
    pip install -r CosyVoice/requirements.txt

Command Interaction

  • Run these scripts for vision-grounded speech interaction:
…
You should get the following outputs:

```yaml
ASR Outputs:
What is the color of the cat
LLM Outputs:
The cat is gray and black.
Speech Tokens:

Speech Outputs:
Audio saved at ./output_893af1597afe2551d76c37a75c813b16.wav
```
  • Interaction across various modality combinations:

    Inputs Outputs Intermediate Outputs Scripts
    Text + Vision (or None) Text / run_stream_omni_t2t.py
    Text + Vision (or None) Speech Text result of model outputs run_stream_omni_t2s.py
    Speech + Vision (or None) Text ASR transciption of user inputs run_stream_omni_s2t.py
    Speech + Vision (or None) Speech Text result of model outputs, ASR transciption of user inputs run_stream_omni_s2s.py

    Control the interaction mode via inference_type in model.generate() (select from text_to_text, text_to_speech, speech_to_text, speech_to_speech)

Evaluation

  • Refer to ./scripts/stream_omni/ for evaluation scripts.

Acknowledgement

  • LLaVA/LLaVA-NeXT/LLaVA-OneVision: Stream-Omni is built upon the LLaVA and LLaVA-NeXT codebases and incorporates image instruction data from LLaVA-OneVision.
  • CosyVoice: Stream-Omni uses the tokenizer and flow model of CosyVoice.
  • UltraEval-Audio: Some normalization processing during evaluation refer to UltraEval-Audio.
  • VisIT-Bench: Stream-Omni constructs SpokenVisIT benchmark based on VisIT-Bench for the evaluation of vision-grounded speech interaction.

Citation

If this repository is useful for you, please cite as:

@misc{streamomni,
      title={Stream-Omni: Simultaneous Multimodal Interactions with Large Language-Vision-Speech Model}, 
      author={Shaolei Zhang and Shoutao Guo and Qingkai Fang and Yan Zhou and Yang Feng},
      year={2025},
      eprint={2506.13642},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2506.13642}, 
}

If you have any questions, please feel free to submit an issue or contact [email protected].

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonasrchatbotchatgptgpt-4o

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.