Skip to content
96Astro API

AI interpretation

Available

Floor-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
Request
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.

  • planobject
  • main_entrancearray of number | null
  • north_hintstring
  • imageobject | null
  • confidenceobject
  • tierstring
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.

FAQ

Floor-Plan Auto-Detect (Vision) API: common questions

4answers

Ask the team
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.

Send us feedback

What is it about?