MiMo-VL-API-inference is an open-source project for rapid deployment and inference of Xiaomi's MiMo-VL-7B-RL multi-modal vision-language model via a RESTful API. Fast API-based, Supports both image URL and local file input, Customizable prompts. 基于 FastAPI 的 MiMo-VL-7B-RL 推理服务 支持图片 URL 和本地文件输入,可自定义提示词等
5
stars
5
commits
Python
primary language
May 30, 2025
updated
🇨🇳 中文说明 | 🇺🇸 English
The MiMoVLM-api_server.py script in this project is designed for rapid deployment and invocation of Xiaomi's open-source multi-modal Vision-Language Model (VLM) — MiMo-VL-7B-RL. It supports image captioning and other multi-modal reasoning tasks.
MiMo-VL-7B-RL is a high-performance vision-language model released by Xiaomi's large model team. It features powerful image understanding, reasoning, and multi-modal dialogue capabilities. The model utilizes a native-resolution ViT encoder, MLP projector, and MiMo-7B language model, and is optimized through multi-stage pre-training and mixed reinforcement learning, achieving state-of-the-art results on several public benchmarks.
Prepare Model Weights
MODEL_PATH in MiMoVLM-api_server.py (default: /hy-tmp/data/MiMo-VL-7B-RL).Install Dependencies
pip install -r requirements.txt
Start the API Service
python MiMoVLM-api_server.py
The service will listen on http://0.0.0.0:8000 after startup.
POST /describe_url/{
"image_url": "URL of the image",
"prompt_text": "(Optional) Custom prompt"
}
{
"description": "Image caption",
"prompt_used": "Prompt actually used",
"error": null
}
POST /describe_upload/image: The uploaded image file (form-data)prompt_text: (Optional) Custom promptSee requirements.txt for details.
This project is based on the open-source MiMo-VL project by Xiaomi Large Model Team. Special thanks!
For more technical details, please refer to the MiMo-VL Technical Report.
5 commits
Python
100.0%
MiMo-VL-API-inference is an open-source project for rapid deployment and inference of Xiaomi's MiMo-VL-7B-RL multi-modal vision-language model via a RESTful API. Fast API-based, Supports both image URL and local file input, Customizable prompts. 基于 FastAPI 的 MiMo-VL-7B-RL 推理服务 支持图片 URL 和本地文件输入,可自定义提示词等
5
stars
5
commits
Python
primary language
May 30, 2025
updated
🇨🇳 中文说明 | 🇺🇸 English
The MiMoVLM-api_server.py script in this project is designed for rapid deployment and invocation of Xiaomi's open-source multi-modal Vision-Language Model (VLM) — MiMo-VL-7B-RL. It supports image captioning and other multi-modal reasoning tasks.
MiMo-VL-7B-RL is a high-performance vision-language model released by Xiaomi's large model team. It features powerful image understanding, reasoning, and multi-modal dialogue capabilities. The model utilizes a native-resolution ViT encoder, MLP projector, and MiMo-7B language model, and is optimized through multi-stage pre-training and mixed reinforcement learning, achieving state-of-the-art results on several public benchmarks.
Prepare Model Weights
MODEL_PATH in MiMoVLM-api_server.py (default: /hy-tmp/data/MiMo-VL-7B-RL).Install Dependencies
pip install -r requirements.txt
Start the API Service
python MiMoVLM-api_server.py
The service will listen on http://0.0.0.0:8000 after startup.
POST /describe_url/{
"image_url": "URL of the image",
"prompt_text": "(Optional) Custom prompt"
}
{
"description": "Image caption",
"prompt_used": "Prompt actually used",
"error": null
}
POST /describe_upload/image: The uploaded image file (form-data)prompt_text: (Optional) Custom promptSee requirements.txt for details.
This project is based on the open-source MiMo-VL project by Xiaomi Large Model Team. Special thanks!
For more technical details, please refer to the MiMo-VL Technical Report.
5 commits
Python
100.0%