Skip to content
HALOWERK

Podcast and Music Analysis

flac handoff compression overhead

FLAC size comparison separates metadata and the remaining file region and calculates the file size ratio to decoded PCM. Use it when an agent needs the storage tradeoff for a supplied lossless recording.

POST https://ton.halowerk.com/v1/flac-handoff-compression-overhead

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
audio_base64stringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "audio_base64": {
      "type": "string",
      "maxLength": 60000,
      "minLength": 1
    }
  },
  "required": [
    "audio_base64"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "audio_base64": "ZkxhQwAAACIAQABAAAAnAAA1AfQA8AAAAIDq7lKO6VBm21EHo4bbFfKzAwAAJAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAACcAQAQAAC8IAAAASEFMT1dFUksCAAAACgAAAFRJVExFPVRvbmUNAAAAVFJBQ0tOVU1CRVI9MYEAAAwAAAAAAAAAAAAAAAD/+GQIAD9eQSAA5zafCD//h//4f/+oDpMmTJkyZMmTJkyZMmTAlF7/+GQIAT9LQSB95zsqDRRRRRRRRFFFFFFFFEUUUUUUUURRRRRRRRRAACsIQhCEA/w/w/y6fA=="
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "container_bytes": {
          "type": "integer"
        },
        "metadata_with_magic": {
          "type": "integer"
        },
        "frame_region_bytes": {
          "type": "integer"
        },
        "ratio_to_pcm": {
          "type": "number"
        }
      },
      "required": [
        "container_bytes",
        "metadata_with_magic",
        "frame_region_bytes",
        "ratio_to_pcm"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’