---
title: "Get image metadata"
method: POST
path: "/image/info"
tags: ["Image"]
---

# Get image metadata

`POST /image/info`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/image/info`
- Auth: none declared

Return format, dimensions, channels, color space, alpha, orientation, and byte size — without re-encoding.

## Request body

- object
  - `url` string: Public image URL
  - `base64` string: Base64-encoded image (data URI ok)

## Response `200`

Default Response

- object
  - `format` string, nullable
  - `width` integer, nullable
  - `height` integer, nullable
  - `channels` integer, nullable
  - `space` string, nullable
  - `hasAlpha` boolean
  - `orientation` integer, nullable
  - `bytes` integer

## Other responses

- `400`: Bad request
- `502`: Could not load the image

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
