Answer natural language questions about an image using Moondream’s query method.
This endpoint analyzes an image asset and answers questions about its content, objects, scenes, text, and other visual elements.
cURL
curl --request POST \ --url http://0.0.0.0:8008/analyze/ask \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "query": "<string>", "video_timestamp": 123 } '
{ "answer": "<string>", "reasoning": "<string>" }
JWT in Authorization header. 'Bearer ' prefix optional.
Successful Response