跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.nexa.ai/llms.txt

Use this file to discover all available pages before exploring further.

Android SDK(Beta)

Nexa Android SDK NexaSDK for Android 让你的 Android 应用实现本地 AI 推理。该 SDK 基于 Nexa AI 的自研 NexaML 引擎构建,支持在 Android 设备上直接运行 LLM、VLM、Embeddings、ASR、Reranking 与计算机视觉模型,并可使用 NPU、GPU 与 CPU 进行加速。

关键特性

  • 多模型类型:支持 LLM、VLM、Embeddings、ASR、Reranker 与计算机视觉模型
  • 硬件加速:支持 CPU、GPU 与 NPU(Qualcomm Hexagon NPU)
  • 易集成:提供简洁的 Kotlin/Java API(Builder 模式)

支持的模型

以下模型支持在 Android ARM64 设备上使用 NPU 加速运行:
除以上 NEXA 优化模型外,任何社区 GGUF 模型也可在高通 Hexagon NPU 上运行。使用 cpu_gpu 插件并设置 device_id = "dev0",由 GGML Hexagon 后端驱动。

快速开始

Android 快速开始

几分钟内开始构建你的 Nexa Android 应用。按照分步指南将 AI 模型集成到你的 Android 项目中。