{
  "slug": "audio-convert",
  "name": "gizza-ai/audio-convert",
  "version": "0.1.0",
  "title": "Convert Audio Online — gizza.ai",
  "description": "Convert any audio file to MP3, WAV, OGG, FLAC or M4A right in your browser — pick a bitrate for lossy formats. Runs locally, nothing is uploaded, free.",
  "tags": [
    "audio",
    "convert",
    "mp3",
    "wav",
    "ogg",
    "flac",
    "m4a",
    "bitrate"
  ],
  "category": "audio",
  "urls": {
    "page": "https://gizza.ai/tools/audio-convert/",
    "markdown": "https://gizza.ai/tools/audio-convert/index.md",
    "descriptor": "https://gizza.ai/tools/audio-convert/tool.json",
    "deep_link_example": "https://gizza.ai/tools/audio-convert/?url=https://example.com/input&format=mp3&bitrate=192"
  },
  "cli": "gizza tool audio-convert 'url=https://example.com/input' 'format=mp3' 'bitrate=192'",
  "tool": {
    "description": "Convert an audio file to mp3, wav, ogg, flac or m4a. Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). Lossy targets (mp3/ogg/m4a) take a bitrate in kbps (32-320, default 192); wav/flac are lossless and ignore it. Any input ffmpeg can decode works; embedded album art is dropped.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "bitrate": {
          "description": "Bitrate in kbps for lossy targets (32-320, default 192). Ignored for lossless wav/flac.",
          "maximum": 320,
          "minimum": 32,
          "type": "integer"
        },
        "format": {
          "description": "Target audio format: mp3/ogg/m4a are lossy (take a bitrate), wav/flac are lossless.",
          "enum": [
            "mp3",
            "wav",
            "ogg",
            "flac",
            "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"
        }
      },
      "required": [
        "format"
      ],
      "type": "object"
    }
  }
}