API Reference
Complete documentation for all Moondream API endpoints and SDKs
Caption
Generate detailed image descriptions with remarkable detail
View documentation
Query
Answer natural language questions about any image
View documentation
Detect
Identify and locate objects within images
View documentation
Point
Get precise coordinates for objects mentioned in prompts
View documentation
Getting Started with the API
All Moondream APIs use a consistent request/response format and authentication method. To get started with any endpoint:
- Obtain an API key from the Cloud Dashboard
- Include your API key in the request headers as
Authorization: Bearer YOUR_API_KEY
- Send your request using JSON format to the appropriate endpoint
- Process the JSON response according to your application needs
Available SDKs
We currently provide official SDKs for the following languages:
- Python:
pip install moondream
- JavaScript/TypeScript:
npm install moondream
Additional language SDKs are in development and will be released soon.