Skip to content
96Astro API

Face: Skin Clarity

POSTAvailable

POSThttps://api.96astroapi.com/v1/face-reading/face-skin

Clarity and radiance, never colour. Read from one photo of the face by a vision model; the photo is not stored.

Credits
Metered, from 15 credits
Input
A photo
Output
JSON
Delivery
Direct response
Languages
26 languages; translated term names with labels
Headers
HeaderValue and description
AuthorizationRequiredBearer YOUR_API_KEY

Your sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead.

Content-TypeRequiredapplication/json

The body is JSON.

Idempotency-KeyOptional<unique string>

Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters)

Body · application/json
FieldDescription
image_base64stringRequired

The photo or image file (a palm, a face or a floor plan), base64-encoded (a `data:image/...;base64,` prefix is accepted). PNG, JPEG or WebP; at most 3.75 MiB decoded and 8000 px a side.

Limits: 1 to 5400000 characters

Example: iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAAAAABQyaazAAAAgklEQVR42u3bQQoAIAgEQP//6fpCBsFWs2fBEbyJNcJTgICAgIDXACspgIeAp/aouvWAgICAgICAgICAgICAgICAgICAgICAgICAgICAgGsN0+/F4cCNgQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE7QA/QbwMzAwgICPg7cAJxuHlDZty0owAAAABJRU5ErkJggg==

mime_typestring | nullOptional

The image's type. Required unless image_base64 is a data: URI; must match the file.

Default: null

Allowed values: image/pngimage/jpegimage/webp

Example: image/png

tierstringOptional

fast (Claude Haiku) or balanced (Sonnet). Sets the price range.

Default: fast

Allowed values: fastbalanced

Example: fast

consentbooleanRequired

Must be true: the person in the photo agreed to this reading, and is an adult or has a guardian's agreement.

Allowed value: true

Example: true

languagestringOptional

Output language (ISO 639-1). The values listed are the ones this capability supports; any other is refused with 422 unsupported_language. Identifiers, enum values and numbers never change with language.

Default: en

Allowed values: enasbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur

labelsstringOptional

Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language.

Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur

Response · fields in data

The response contract: required fields are always present.

  • sections · object
  • notice · string
  • tier · string
  • language · string

Try in Playground →Capability overview

Example request

Example response (illustrative)

200application/json
{
  "data": {
    "sections": {
      "skin": {
        "observed": [
          "An example observation about skin."
        ],
        "reading": "An example reading of skin, based on what the photo shows.",
        "advice": "One practical sentence."
      }
    },
    "notice": "For reflection, not fact. This reading is not medical, legal or financial advice.",
    "tier": "fast",
    "language": "en"
  },
  "meta": {
    "request_id": "req_00000000000000000000",
    "api_version": "v1",
    "credits_used": 0,
    "warnings": [],
  …

Written by hand from the documented shape: AI readings are not captured automatically. Real text, token counts and credits differ.

Error responses

  • 400invalid_request
  • 401invalid_key, expired_key
  • 402payment_required
  • 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
  • 404not_found
  • 409idempotency_conflict
  • 413payload_too_large
  • 422invalid_request, unsupported_language
  • 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
  • 500computation_failed
  • 502unavailable
  • 503unavailable, maintenance, temporarily_unavailable
  • 504deadline_exceeded

Errors are never charged. What each status means and what to do: errors.

Was this page helpful?

Send us feedback

What is it about?