{
  "slug": "audio-fade",
  "name": "gizza-ai/audio-fade",
  "version": "0.1.0",
  "title": "Add Fade In & Fade Out to Audio Online — gizza.ai",
  "description": "Add a smooth fade-in and fade-out to any audio file right in your browser — pick the lengths in seconds. Nothing is uploaded, free.",
  "tags": [
    "audio",
    "fade",
    "fade-in",
    "fade-out",
    "smooth",
    "intro",
    "outro"
  ],
  "category": "audio",
  "urls": {
    "page": "https://gizza.ai/tools/audio-fade/",
    "markdown": "https://gizza.ai/tools/audio-fade/index.md",
    "descriptor": "https://gizza.ai/tools/audio-fade/tool.json",
    "deep_link_example": "https://gizza.ai/tools/audio-fade/?url=https://example.com/input&fade_in=3&fade_out=3&format=mp3"
  },
  "cli": "gizza tool audio-fade 'url=https://example.com/input' 'fade_in=3' 'fade_out=3' 'format=mp3'",
  "tool": {
    "description": "Add a smooth fade-in at the start and/or fade-out at the end of an audio file. Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). fade_in and fade_out are lengths in seconds (0-30, both default 3); set one to 0 to fade only the other side — both at 0 is rejected. Fades longer than the track just fade across the whole file. Output is re-encoded to mp3 (192 kbps), wav, ogg, flac or m4a; embedded album art is dropped.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "fade_in": {
          "default": 3.0,
          "description": "Fade-in length in seconds at the start (0-30, default 3). 0 skips the fade-in.",
          "maximum": 30,
          "minimum": 0,
          "type": "number"
        },
        "fade_out": {
          "default": 3.0,
          "description": "Fade-out length in seconds at the end (0-30, default 3). 0 skips the fade-out.",
          "maximum": 30,
          "minimum": 0,
          "type": "number"
        },
        "format": {
          "default": "mp3",
          "description": "Output audio format. Default mp3 (192 kbps).",
          "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"
        }
      },
      "type": "object"
    }
  }
}