Zum Inhalt
HALOWERK

Agent Tools

image / preflight

Inspect an image before further processing. See the linked schema for inputs, coverage and limitations.

POST https://tools.halowerk.com/v1/image/preflight

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
base64stringJaBilddatei als Base64
requirementsobjectNeinEigene Anforderungen
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "base64"
  ],
  "properties": {
    "base64": {
      "type": "string",
      "description": "Bilddatei als Base64"
    },
    "requirements": {
      "type": "object",
      "description": "Eigene Anforderungen",
      "properties": {
        "min_width": {
          "type": "integer"
        },
        "min_height": {
          "type": "integer"
        },
        "max_width": {
          "type": "integer"
        },
        "max_height": {
          "type": "integer"
        },
        "max_bytes": {
          "type": "integer"
        },
        "aspect_ratio": {
          "type": "string",
          "description": "zum Beispiel 16:9"
        },
        "aspect_tolerance": {
          "type": "number",
          "default": 0.02
        },
        "formats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "require_no_metadata": {
          "type": "boolean"
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "base64": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
  "requirements": {
    "formats": [
      "png"
    ],
    "max_bytes": 2000000
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →