Api Endpoint

Image Understanding

Use when an agent must understand a picture (screenshot, product photo, chart, scene). Input: url of a png, jpeg, webp or gif (max 5 MB), optional question (max 1000 chars), optional json=true for fields (objects, text, people count, colors...). Output: answer or fields, image info, model. Does not name people; exact text: /v1/convert/ocr. Not stored. Example: ?url=https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png

Open interactive test console

Offering

Provider
1gateway.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://1gateway.dev/v1/ai/vision
MIME type
application/json
First seen
2026-11-08T18:32:41.291Z
Last seen
Tags
vision, image-understanding, image-captioning, visual-qa, AI

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.006 USDC
Atomic price: 6000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.006 USDC
Atomic price: 6000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Payment option 3
0.006 USDC
Atomic price: 6000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.006 USDC
Atomic price: 6000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 5
0.006 USDC
Atomic price: 6000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "6000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "6000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "6000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "6000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "6000",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
1005 ms
Average latency
592 ms
HTTP status
402
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Public http(s) image URL (png, jpeg, webp, gif; max 5 MB). Bad or private URL → 400 before payment;…",
          "pattern": "^https?://",
          "maxLength": 2048
        },
        "question": {
          "type": "string",
          "description": "What to ask about the image (default: a detailed description)",
          "maxLength": 1000
        },
        "json": {
          "type": "string",
          "description": "true returns structured fields instead of free text",
          "enum": [
            "true",
            "false"
          ]
        }
      },
      "required": [
        "url"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": true,
      "properties": {
        "answer": {
          "type": "string"
        },
        "costNeurons": {
          "type": [
            "number",
            "null"
          ]
        },
        "fields": {
          "additionalProperties": true,
          "properties": {
            "colors": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "description": {
              "type": "string"
            },
            "objects": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "people": {
              "type": "integer"
            },
            "setting": {
              "type": "string"
            },
            "text": {
              "items": {},
              "type": "array"
            }
          },
          "type": "object"
        },
        "image": {
          "additionalProperties": true,
          "properties": {
            "bytes": {
              "type": "integer"
            },
            "mimeType": {
              "type": "string"
            },
            "transparencyFlattened": {
              "type": "boolean"
            },
            "url": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "model": {
          "type": "string"
        },
        "notes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "question": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "question",
        "image",
        "model",
        "costNeurons",
        "notes"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}