Skip to content
HALOWERK

Datenwerk

image transform url

Downloads the image (up to 15 MB, public addresses only), applies EXIF orientation, optional resize with fit cover/contain/inside, optional crop to an aspect ratio with attention-based placement, rotation, grayscale and quality settings, converts to WebP, AVIF, PNG or JPEG with libvips, and removes metadata unless you keep it. Returns the image as base64 with dimensions, size, the source hash and the operations applied. Nothing is cached or stored at HALOWERK.

POST https://daten.halowerk.com/v1/image-transform-url

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
urlstringYes
widthintegerNo
heightintegerNo
fitstringNo
formatstringNo
qualityintegerNo
rotateintegerNo
grayscalebooleanNo
keep_metadatabooleanNo
backgroundstringNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2000
    },
    "width": {
      "type": "integer",
      "minimum": 1,
      "maximum": 6000
    },
    "height": {
      "type": "integer",
      "minimum": 1,
      "maximum": 6000
    },
    "fit": {
      "type": "string",
      "enum": [
        "cover",
        "contain",
        "inside"
      ],
      "default": "inside"
    },
    "format": {
      "type": "string",
      "enum": [
        "webp",
        "avif",
        "png",
        "jpeg"
      ],
      "default": "webp"
    },
    "quality": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 80
    },
    "rotate": {
      "type": "integer",
      "enum": [
        0,
        90,
        180,
        270
      ],
      "default": 0
    },
    "grayscale": {
      "type": "boolean",
      "default": false
    },
    "keep_metadata": {
      "type": "boolean",
      "default": false
    },
    "background": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$",
      "default": "#ffffff"
    }
  }
}

Open original schema

Published input example

{
  "url": "https://www.iana.org/static/_img/2022/iana-logo-header.svg",
  "width": 400,
  "format": "png"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’