{
  "slug": "audio-compress",
  "name": "gizza-ai/audio-compress",
  "version": "0.1.0",
  "title": "Compress Audio Online — gizza.ai",
  "description": "Shrink MP3, WAV, M4A or any audio file right in your browser — pick a target bitrate (96 kbps default) and format. Nothing is uploaded, free.",
  "tags": [
    "audio",
    "compress",
    "shrink",
    "mp3",
    "bitrate",
    "smaller",
    "reduce",
    "size"
  ],
  "category": "audio",
  "urls": {
    "page": "https://gizza.ai/tools/audio-compress/",
    "markdown": "https://gizza.ai/tools/audio-compress/index.md",
    "descriptor": "https://gizza.ai/tools/audio-compress/tool.json",
    "deep_link_example": "https://gizza.ai/tools/audio-compress/?url=https://example.com/input&bitrate=96&format=mp3"
  },
  "cli": "gizza tool audio-compress 'url=https://example.com/input' 'bitrate=96' 'format=mp3'",
  "tool": {
    "description": "Reduce an audio file's size by re-encoding it at a lower lossy bitrate. Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). bitrate is the target in kbps (32-320, default 96; 64 suits speech, 96-128 music) — out-of-range values are rejected, not clamped. format is mp3 (default), ogg or m4a; for lossless wav/flac use audio-convert instead. Embedded album art is dropped. If the source's bitrate is already at or below the target, the output won't get meaningfully smaller.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "bitrate": {
          "default": 96,
          "description": "Target bitrate in kbps (32-320, default 96). Lower means smaller: 64 suits speech, 96-128 keeps music listenable.",
          "maximum": 320,
          "minimum": 32,
          "type": "integer"
        },
        "format": {
          "default": "mp3",
          "description": "Output format, all lossy. Default mp3 (most portable). Lossless wav/flac never shrink a file — use audio-convert for those.",
          "enum": [
            "mp3",
            "ogg",
            "m4a"
          ],
          "type": "string"
        },
        "ref": {
          "description": "Reference id from a prior tool call. Use either url or ref.",
          "type": "string"
        },
        "url": {
          "description": "Audio URL (HTTP/HTTPS). Use either url or ref.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}