| Crates.io | moondream |
| lib.rs | moondream |
| version | 0.1.1 |
| created_at | 2025-06-15 12:30:37.542852+00 |
| updated_at | 2025-06-15 12:34:05.828456+00 |
| description | Client for interacting with the Moondream API |
| homepage | https://github.com/jbernavaprah/moondream-ai-rs |
| repository | https://github.com/jbernavaprah/moondream-ai-rs |
| max_upload_size | |
| id | 1713227 |
| size | 100,136 |
An async Rust client for the Moondream API.
This library wraps the HTTP endpoints exposed by the service, providing a simple interface for point detection, object detection, captioning and visual question answering.
Add the crate to your Cargo.toml:
moondream = "0.1"
For a local deployment:
use moondream::MoonDream;
let md = MoonDream::local("http://localhost:8000");
For the hosted service:
let md = MoonDream::remote("YOUR_TOKEN");
The examples directory contains runnable samples. Execute one with:
cargo run -p moondream --example points
/point - detect objects and return centre points/detect - bounding box detection/caption - generate captions for images/query - visual question answeringcargo test -p moondream