Skip to content

Extract structured JSON tags and alt text from images

Accept uploaded product photos or screenshots via URL or base64 and return SEO alt text, color palettes, defects, and catalog tags.

Copy the prompt and paste it into the AI assistant you already use.

Checklist for reliable vision JSON endpoints

  1. 01

    Validate MIME type and dimensions

    Reject unsupported image formats or broken remote URLs before invoking multimodal tokens.

  2. 02

    Use auto/low detail when appropriate

    Choose lower vision resolution for simple product classification to cut latency and cost.

  3. 03

    Specify objective visual enums

    Constrain extracted colors, styles, or defect labels to exact catalog enums rather than free text.

  4. 04

    Handle occluded or blurry photos

    Include an image_quality enum so blurry uploads get flagged for seller re-upload.

Common questions

Should clients pass public/presigned URLs or raw base64 strings?

Short-lived signed HTTPS URLs keep request bodies tiny and fast, though bounded base64 uploads also work cleanly.

Can one endpoint inspect screenshots and product photos differently?

Pass a photo_type enum or build separate specialized schemas so attribute extraction stays crisp and accurate.

How do you keep vision API costs predictable?

Resize oversized photos upstream and configure explicit detail limits alongside strict output token caps.