AI interpretation
AvailableFloor-Plan Auto-Detect (Vision) API
An AI vision model proposes a floor plan from a picture of it (PNG, JPEG or WebP): outline, centre, rooms, structures and main entrance in pixel coordinates, shaped as vastu-analyse input, with a confidence note.
- POST /v1/ai/vastu-vision-detect
- Metered, from 15 credits
curl https://api.96astroapi.com/v1/ai/vastu-vision-detect \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAAAAABQyaazAAAAgklEQVR42u3bQQoAIAgEQP//6fpCBsFWs2fBEbyJNcJTgICAgIDXACspgIeAp/aouvWAgICAgICAgICAgICAgICAgICAgICAgICAgICAgGsN0+/F4cCNgQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE7QA/QbwMzAwgICPg7cAJxuHlDZty0owAAAABJRU5ErkJggg==", "mime_type": "image/png", "tier": "fast" }'
Overview
An AI vision model proposes a floor plan from a picture of it (PNG, JPEG or WebP): outline, centre, rooms, structures and main entrance in pixel coordinates, shaped as vastu-analyse input, with a confidence note.
Call it with POST /v1/ai/vastu-vision-detect. Input: specific input. Output: JSON, as a direct response. Each successful call costs metered, from 15 credits.
- POST /v1/ai/vastu-vision-detect
- Metered, from 15 credits
- Specific input
Example response
Fields in dataThe response contract: required fields are always present.
planobjectmain_entrancearray of number | nullnorth_hintstringimageobject | nullconfidenceobjecttierstring
200Example response (illustrative)
Written by hand from the documented shape: AI readings are not captured automatically. Real text, token counts and credits differ.
Loading the example…
Request schema and every field: the AI interpretation reference.
Related endpoints
01What does the Floor-Plan Auto-Detect (Vision) API return?
An AI vision model proposes a floor plan from a picture of it (PNG, JPEG or WebP): outline, centre, rooms, structures and main entrance in pixel coordinates, shaped as vastu-analyse input, with a confidence note. The response's data object includes plan, main_entrance, north_hint, image, confidence and tier. See the reference for an example response.
02What input does Floor-Plan Auto-Detect (Vision) need?
Specific input.
03How much does a Floor-Plan Auto-Detect (Vision) call cost?
Metered, from 15 credits per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


