{
  "slug": "aiff-to-flac",
  "name": "gizza-ai/aiff-to-flac",
  "version": "0.1.0",
  "title": "AIFF to FLAC Converter — gizza.ai",
  "description": "Convert AIFF or AIF audio to lossless FLAC in your browser — preserve samples and textual tags, choose FLAC compression level 0-12, and download the result.",
  "tags": [
    "audio",
    "aiff",
    "aif",
    "flac",
    "convert",
    "lossless"
  ],
  "category": "audio",
  "urls": {
    "page": "https://gizza.ai/tools/aiff-to-flac/",
    "markdown": "https://gizza.ai/tools/aiff-to-flac/index.md",
    "descriptor": "https://gizza.ai/tools/aiff-to-flac/tool.json",
    "deep_link_example": "https://gizza.ai/tools/aiff-to-flac/?compression_level=5&url=https://example.com/input"
  },
  "cli": "gizza tool aiff-to-flac 'url=https://example.com/input' 'compression_level=5'",
  "tool": {
    "description": "Compress an AIFF audio file into lossless FLAC — a smaller file with bit-for-bit identical samples. Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). Textual metadata tags (title, artist, album, year, …) are preserved into the FLAC; embedded cover art is dropped. compression_level (0-12, default 5) trades encode speed for file size and never changes the audio. Any audio ffmpeg can decode is accepted, but AIFF → FLAC is the intended use.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "compression_level": {
          "description": "FLAC compression level 0-12 (default 5). Higher = smaller file and slower encoding; the decoded audio samples are bit-for-bit identical at every level, so this only trades CPU time for size.",
          "maximum": 12,
          "minimum": 0,
          "type": "integer"
        },
        "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"
    }
  }
}