Documentation Index
Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
file=@/path/food.jpg(required, PNG / JPEG / WEBP / HEIC / HEIF)query=Maintain healthy diet(optional — inject user’s health goal)
SSE events
type | Meaning |
|---|---|
id | food_analysis_<ts>_<uid> |
thinking | Phase prompts (“Analyzing image…”) |
food | content is a stringified JSON containing is_food (1 = success / 0 = not food), food_items, nutrition, advice |
error | e.g. Recognition failed! |
end | End |
food.contentis a string — the client mustJSON.parseit.