EveryDev.ai
Subscribe
Home
Tools

6,925+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3692
  • Coding2804
  • Infrastructure1176
  • MCP1007
  • Projects967
  • Research797
  • Analytics620
  • Marketing569
  • Design567
  • Testing519
  • Security481
  • Data473
  • Communication350
  • Integration332
  • Prompts319
  • Extensions273
  • Voice241
  • DevOps216
  • Commerce199
  • Web148
  • Learning146
  • Finance45
AI Tools by Topic
  • AI Coding Assistants
  • AI Code Review Tools
  • Agent Frameworks
  • AI Workflow Automation
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • Newsletter
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
  • Newsletter Archive
Get Started
  • Submit a Tool
  • Rate Tools
  • Start a Discussion
  • Write a Blog
  • Share a Build
  • Users
  • About
  • Contact Us
  • Advertise
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Search & AI
  • llms.txt
  • Add to favorites on Google
Theme
Terms of ServicePrivacy Policy
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Xiaomi-Lens-0
    Xiaomi-Lens-0 icon

    Xiaomi-Lens-0

    Image

    A 4B open multimodal language model that predicts pixel-level masks and bounding boxes for grounding and visual reasoning.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Xiaomi-Lens-0 code is licensed under Apache-2.0; self-hosted use with publicly released model weights, code, and training/fine-tuning scripts at no charge.

    Engagement

    Available On

    Linux
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    ImageAI Development LibrariesLocal Inference

    Alternatives

    MLX-VLMZ-ImagePerception Models
    Developer
    Xiaomi Research

    Listed Dec 2026

    About Xiaomi-Lens-0

    Xiaomi-Lens-0 is a 4B multimodal large language model from Xiaomi's SeerRay Lab, built on Qwen3.5-4B. It decodes each generated mask token into a pixel mask, so the model can point at the regions it describes in its answer or mid-reasoning. Weights, a demo, training and inference code, and the LensBench benchmark are publicly released under Apache-2.0.

    What It Is

    Xiaomi-Lens-0 is a vision-language model for grounding and segmentation. Given an image and a text instruction, it returns text containing bounding boxes and mask tokens, and a lightweight decoder turns each mask token into a pixel mask. The documented capabilities are referring expression comprehension, referring expression segmentation, multi-instance grounding, reasoning segmentation, embodied referring, and fine-grained perception such as counting and high-resolution question answering.

    How the Method Works

    Each generated mask token carries a contextual state that represents a target region given the image, instruction, and preceding response. The decoder combines this state with a single pre-merge feature grid from the vision encoder, with no separate segmentation encoder or multi-scale fusion. Mask tokens inside the reasoning trace also decode to masks, which the project calls thinking with visual latents. Training has two stages: mask decoder pretraining with the backbone frozen, then full-parameter supervised fine-tuning.

    LensBench and Reported Results

    The team also released LensBench, a segmentation benchmark with 4,800 instruction-level samples from 1,200 human-reviewed paired units across general, aerial, driving, and panoramic imagery. Each unit pairs single or multiple targets with explicit or implicit wording. The project reports that Xiaomi-Lens-0 leads compared models on all eight referring segmentation splits and improves over its Qwen3.5-4B backbone on all eight fine-grained perception benchmarks. The authors note that implicit instructions remain challenging on LensBench.

    Setup Path

    The repository provides a Transformers inference script that overlays masks and boxes on an image, and a two-process vLLM serving setup for text generation and mask decoding. Inference requires a CUDA GPU with bf16 and FlashAttention-2. An evaluation script runs LensBench, and training scripts support full fine-tuning or LoRA on the released checkpoint as well as reproducing the two-stage training.

    Xiaomi-Lens-0 - 1

    Collections

    Popular collections

    • Run YOLO Mode Without Risking Your Laptop

      Collection by @reproalex

      Remix
    • Let Your Agents Talk to Each Other

      Collection by @leftchannel

      Remix
    • See What Your Agent Is Doing remix

      Collection by @joemseifi

      Remix
    • Let Your AI Read the Document, Not Just the Words

      Collection by @priyashah

      Remix

    Add Xiaomi-Lens-0 to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about Xiaomi-Lens-0

    Share your experience with Xiaomi-Lens-0, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache-2.0)

    Xiaomi-Lens-0 code is licensed under Apache-2.0; self-hosted use with publicly released model weights, code, and training/fine-tuning scripts at no charge.

    • Code licensed under Apache-2.0
    • Model weights published on Hugging Face and ModelScope
    • Training and fine-tuning code (full-parameter and LoRA)
    • LensBench benchmark dataset
    • Weights license not separately evidenced; Apache-2.0 statement covers code

    Capabilities

    Key Features

    • Referring expression comprehension with bounding boxes
    • Referring expression segmentation with pixel masks
    • Multi-instance grounding with per-instance boxes and masks
    • Reasoning segmentation for implicit and functional requests
    • Embodied referring in cluttered scenes
    • Fine-grained perception with counting and high-resolution QA
    • Thinking with visual latents via mask tokens in reasoning traces
    • LensBench segmentation benchmark
    • Full fine-tuning and LoRA on the released checkpoint
    • Transformers inference and vLLM serving

    Integrations

    Hugging Face
    ModelScope
    vLLM
    Transformers
    DeepSpeed
    Qwen3.5
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Xiaomi-Lens-0 and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Xiaomi Research

    Read more about Xiaomi Research
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    MLX-VLM icon

    MLX-VLM

    A Python library for running Vision Language Models on Apple Silicon using the MLX framework.

    Z-Image icon

    Z-Image

    Open-source 6B-parameter image generation model family from Tongyi-MAI using a single-stream diffusion transformer.

    Perception Models icon

    Perception Models

    Meta FAIR's open-source repository of state-of-the-art vision, video, and audio encoders (Perception Encoder) and a multimodal language model (PerceptionLM) for image, video, and audio understanding.

    Browse all tools

    Related Topics

    Image

    AI tools that generate or edit still images — illustrations, photos, logos, icons, and graphics — from text prompts, references, or existing images.

    121 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    620 tools

    Local Inference

    Tools and platforms for running AI inference locally without cloud dependence.

    397 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions