{
  "openapi": "3.0.3",
  "info": {
    "title": "Audio Processing API",
    "version": "1.5.1",
    "description": "Convert, trim, merge, compress, normalize, denoise and re-time audio. Nine audio jobs over multipart upload: convert formats, trim, merge, compress, normalize loudness, change speed or pitch, reduce noise and remove silence. Files are processed in memory with ffmpeg and nothing is stored. Trial keys are limited to 25 MB and 60 seconds per request; paid plans keep larger limits. Over-limit requests return 413 or 422 and are not billed. One X-API-Key header authenticates every call, and the same key works across every FreeDailyPro API. Every 4xx response is documented and none of them is billed.",
    "contact": {
      "name": "FreeDailyPro",
      "url": "https://www.freedailypro.com/developers",
      "email": "support@freedailypro.com"
    },
    "termsOfService": "https://www.freedailypro.com/terms",
    "x-logo": {
      "url": "https://www.freedailypro.com/favicon.ico"
    }
  },
  "servers": [
    {
      "url": "https://api.freedailypro.com",
      "description": "Production"
    }
  ],
  "externalDocs": {
    "description": "Developer hub, plans and MCP setup",
    "url": "https://www.freedailypro.com/developers"
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  },
  "tags": [
    {
      "name": "Audio Processing",
      "description": "Convert, trim, merge, compress, normalize, denoise and re-time audio."
    }
  ],
  "paths": {
    "/v1/audio/convert": {
      "post": {
        "summary": "Convert audio to MP3, WAV, OGG, M4A or FLAC and return the audio",
        "operationId": "audioConvert",
        "description": "Re-encodes audio to another format. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "format": {
                    "type": "string",
                    "description": "mp3, wav, ogg, m4a or flac",
                    "enum": [
                      "mp3",
                      "wav",
                      "ogg",
                      "m4a",
                      "flac"
                    ]
                  }
                },
                "required": [
                  "file",
                  "format"
                ]
              },
              "example": {
                "file": "sample.mp3",
                "format": "mp3"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/wav, 264,678 bytes.",
            "content": {
              "audio/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/trim": {
      "post": {
        "summary": "Trim audio between a start and end time and return the clip",
        "operationId": "audioTrim",
        "description": "Keeps the part between startSeconds and endSeconds and returns it as MP3. Both are required. Errors: 400 when startSeconds or endSeconds is beyond the length of the audio (the message gives the length), when endSeconds is not greater than startSeconds, or when the file is not readable audio. It never returns an empty file. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "startSeconds": {
                    "type": "number",
                    "description": "Start time in seconds, 0 or more, before the end of the audio",
                    "minimum": 0
                  },
                  "endSeconds": {
                    "type": "number",
                    "description": "End time in seconds, greater than startSeconds and not beyond the end of the audio"
                  }
                },
                "required": [
                  "file",
                  "startSeconds",
                  "endSeconds"
                ]
              },
              "example": {
                "file": "sample.mp3",
                "startSeconds": 0,
                "endSeconds": 1
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 10,291 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/merge": {
      "post": {
        "summary": "Join several audio files into one and return the audio",
        "operationId": "audioMerge",
        "description": "Joins audio files end to end in the order sent. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "Two or more audio files (repeat the field). Each up to 30 MB."
                  }
                },
                "required": [
                  "files"
                ]
              },
              "example": {
                "files": [
                  "a.mp3",
                  "b.mp3"
                ]
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 28,336 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/compress": {
      "post": {
        "summary": "Compress audio to a smaller MP3, optionally to a target size, and return the audio",
        "operationId": "audioCompress",
        "description": "Re-encodes the audio as MP3 so that the result is about targetFileSize. targetFileSize is optional: leave it out and the result is about half the original size (0.5). The size is reached by choosing a bitrate between 32 and 320 kbps, so very small or very large targets are limited to that range, and a target at or above the original size is treated as 99% of it. Different targets give different file sizes. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "targetFileSize": {
                    "type": "string",
                    "description": "Optional. The size you want the file to end up at, for example 2MB, 500KB or a number of bytes. Default: half the original size.",
                    "example": "2MB"
                  }
                },
                "required": [
                  "file"
                ]
              },
              "example": {
                "file": "sample.mp3"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 12,347 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/normalize": {
      "post": {
        "summary": "Normalize audio loudness and return the audio",
        "operationId": "audioNormalize",
        "description": "Brings the whole file to one target loudness (EBU R128 integrated loudness, default -16 LUFS, true peak limited to -1.5 dB) in two passes: the file is measured first, then one fixed gain is applied, so the result lands on the target. Quiet files get louder and loud files get quieter. Returns MP3 at the file's own sample rate (or 44.1 kHz). A silent file returns 400. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "targetLufs": {
                    "type": "number",
                    "description": "Optional. The loudness to reach, as LUFS below full scale: 16 means -16 LUFS (default), 23 means -23 LUFS. 5 to 40.",
                    "minimum": 5,
                    "maximum": 40,
                    "default": 16
                  }
                },
                "required": [
                  "file"
                ]
              },
              "example": {
                "file": "sample.mp3"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 18,585 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/speed": {
      "post": {
        "summary": "Change audio speed between 0.5x and 2x and return the audio",
        "operationId": "audioSpeed",
        "description": "Speeds up or slows down without changing pitch. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "speed": {
                    "type": "number",
                    "description": "Between 0.5 and 2.0, for example 1.5"
                  }
                },
                "required": [
                  "file",
                  "speed"
                ]
              },
              "example": {
                "file": "sample.mp3",
                "speed": 1
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 11,539 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/pitch": {
      "post": {
        "summary": "Shift audio pitch by semitones and return the audio",
        "operationId": "audioPitch",
        "description": "Raises or lowers the pitch by a number of semitones and keeps the original speed and length (a 3 second file stays 3 seconds). Works for any sample rate. 12 semitones is one octave. Returns MP3. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "semitones": {
                    "type": "number",
                    "description": "Required. From -24 to 24: for example 4 to go up four semitones or -3 to go down three. 0 leaves the pitch unchanged.",
                    "minimum": -24,
                    "maximum": 24
                  }
                },
                "required": [
                  "file",
                  "semitones"
                ]
              },
              "example": {
                "file": "sample.mp3",
                "semitones": -24
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 13,698 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/denoise": {
      "post": {
        "summary": "Reduce background noise in audio and return the audio",
        "operationId": "audioDenoise",
        "description": "Reduces steady background noise (hiss, hum, fan noise). A higher strengthDb always removes more noise. Very high values can make voices sound thin, so start around the default. Returns MP3. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "strengthDb": {
                    "type": "number",
                    "description": "Optional. Noise reduction strength: minimum 1, maximum 60, default 30. Higher removes more noise.",
                    "minimum": 1,
                    "maximum": 60,
                    "default": 30
                  }
                },
                "required": [
                  "file"
                ]
              },
              "example": {
                "file": "sample.mp3"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 12,838 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    },
    "/v1/audio/remove-silence": {
      "post": {
        "summary": "Cut silent gaps out of audio and return the audio",
        "operationId": "audioRemoveSilence",
        "description": "Cuts every silent stretch that lasts at least minDurationSeconds, anywhere in the file (start, middle and end), and joins what is left. Only silence is removed: speech or sound, even a very short word, is never cut. Silences shorter than minDurationSeconds stay. If nothing qualifies, the audio comes back unchanged (as MP3), including when minDurationSeconds is longer than the file. Errors: 400 for a thresholdDb outside -90 to -10, a minDurationSeconds outside 0.01 to 60, a file that is not readable audio, or a file that is entirely quieter than thresholdDb (the message suggests a lower threshold). It never returns an empty file. Trial keys: audio up to 25 MB and 60 seconds in total (over the size returns 413 file_too_large, over the length returns 422 duration_too_long; neither is billed). Paid plans keep the larger limits (30 MB per file). The file is processed in memory and nothing is stored. Use POST with multipart/form-data (opening the URL in a browser sends GET and returns 405). Common errors: 400 missing or invalid field, 422 the file could not be processed (corrupted or password protected), 405 use POST, not GET.",
        "tags": [
          "Audio Processing"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary",
                    "description": "The audio file. Up to 30 MB."
                  },
                  "minDurationSeconds": {
                    "type": "number",
                    "description": "Optional. Shortest silence to remove, in seconds: 0.01 to 60, default 0.3.",
                    "minimum": 0.01,
                    "maximum": 60,
                    "default": 0.3
                  },
                  "thresholdDb": {
                    "type": "number",
                    "description": "Optional. Audio quieter than this counts as silence, in dB: -90 to -10, default -30. Use a lower value (for example -50) for quiet recordings.",
                    "minimum": -90,
                    "maximum": -10,
                    "default": -30
                  }
                },
                "required": [
                  "file"
                ]
              },
              "example": {
                "file": "sample.mp3"
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "The processed file. Real example: 200, audio/mpeg, 14,607 bytes.",
            "content": {
              "audio/mpeg": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Missing or invalid input; the body explains what to fix Not billed: a failed call does not count against your plan's calls."
          },
          "401": {
            "description": "Missing or invalid API key Not billed: a failed call does not count against your plan's calls."
          },
          "405": {
            "description": "Wrong HTTP method: this endpoint takes POST with multipart/form-data. The Allow header lists the accepted methods. Not billed: a failed call does not count against your plan's calls."
          },
          "413": {
            "description": "Trial file cap exceeded (image over 10 MB, video or audio over 25 MB). JSON body: {error, code: \"file_too_large\", tier, limit_bytes, received_bytes}. Nothing is processed and the call is not billed. Paid plans keep their larger limits. Not billed: a failed call does not count against your plan's calls."
          },
          "422": {
            "description": "The file could not be processed (corrupted or an unsupported format), or on trial keys it is longer than 60 seconds (code \"duration_too_long\", with limit_seconds and received_seconds). Neither is billed. Not billed: a failed call does not count against your plan's calls."
          },
          "429": {
            "description": "Rate limit exceeded for your plan Not billed: a failed call does not count against your plan's calls."
          }
        }
      }
    }
  }
}