Pictomancer.ai Analyze API

The Analyze API from Pictomancer.ai — 1 operation(s) for analyze.

Operations 1

POST /v1/analyze Analyze an image #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pictomancer-ai:pictomancer-ai-analyze-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pictomancer-ai-analyze-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pictomancer.ai Gateway Analyze API
  version: 0.1.0
tags:
- name: Analyze
paths:
  /v1/analyze:
    post:
      summary: Analyze an image
      description: 'Fetch an image from a URL or base64 and return its metadata: size in bytes, pixel dimensions, source format, and what it costs every supported vision model in tokens. Always free. Dimensions are omitted if the image header cannot be read. Also reports whether the input carries a C2PA (Content Credentials) manifest and in which container; the manifest is not validated.'
      operationId: analyze_image
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageSource'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyzeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyze
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    AnalyzeResponse:
      properties:
        size_bytes:
          type: integer
          title: Size Bytes
          description: File size of the fetched image in bytes.
        width:
          anyOf:
          - type: integer
          - type: 'null'
          title: Width
          description: Image width in pixels, if it could be read.
        height:
          anyOf:
          - type: integer
          - type: 'null'
          title: Height
          description: Image height in pixels, if it could be read.
        format:
          anyOf:
          - type: string
          - type: 'null'
          title: Format
          description: Detected source format, e.g. jpeg, png, webp, avif.
        vision_tokens:
          anyOf:
          - additionalProperties:
              type: integer
            type: object
          - type: 'null'
          title: Vision Tokens
          description: What this image costs each supported vision model, in tokens. Providers downscale oversized input before counting, so these are the prices actually charged, not a naive pixel estimate.
        c2pa_manifest:
          type: boolean
          title: C2Pa Manifest
          description: True when the input embeds a C2PA (Content Credentials) manifest. Presence only; the signature is not validated.
          default: false
        provenance:
          anyOf:
          - $ref: '#/components/schemas/ProvenanceInfo'
          - type: 'null'
          description: 'C2PA detection detail: {c2pa: bool, container: ''jpeg-app11'' | ''png-caBX'' | ''webp-C2PA'' | ''isobmff-uuid'' | null}.'
      type: object
      required:
      - size_bytes
      title: AnalyzeResponse
    ImageSource:
      properties:
        source:
          type: string
          title: Source
          description: 'Image source: a public URL (https://...) or a base64-encoded string (optionally as a data URI like data:image/png;base64,...).'
      type: object
      required:
      - source
      title: ImageSource
    ProvenanceInfo:
      properties:
        c2pa:
          type: boolean
          title: C2Pa
          description: True when the input embeds a C2PA (Content Credentials) manifest. Presence only; the signature is not validated.
        container:
          anyOf:
          - type: string
          - type: 'null'
          title: Container
          description: 'Where the manifest was found: jpeg-app11, png-caBX, webp-C2PA, isobmff-uuid, or null.'
      type: object
      required:
      - c2pa
      title: ProvenanceInfo