{
  "openapi": "3.0.1",
  "info": {
    "title": "Audio Noise Remover — AI Noise Removal for Voice & Video",
    "description": "Remove background noise from voice recordings, podcasts, interviews and videos with DeepFilterNet AI: fans, traffic, hum, wind, room noise. Optional loudness normalization (-16 LUFS podcast, YouTube, ACX) and silence trimming. Videos keep the picture. Links, uploads or datasets.",
    "version": "1.0",
    "x-build-id": "yUw9SiOnl66rx42Vs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tidydata~audio-noise-remover/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tidydata-audio-noise-remover",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/tidydata~audio-noise-remover/runs": {
      "post": {
        "operationId": "runs-sync-tidydata-audio-noise-remover",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/tidydata~audio-noise-remover/run-sync": {
      "post": {
        "operationId": "run-sync-tidydata-audio-noise-remover",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "fileUrls": {
            "title": "Audio or video links",
            "type": "array",
            "description": "One link per line: direct links to MP3, WAV, M4A, FLAC, OGG, OPUS, MP4, MOV, MKV, WebM… files, Google Drive / Dropbox / OneDrive share links, public Google Drive folders or archive.org. YouTube, TikTok, Instagram, Spotify, SoundCloud, Facebook, X, Vimeo and their CDNs are refused (their terms forbid downloading).",
            "items": {
              "type": "string"
            }
          },
          "uploadedFiles": {
            "title": "Or upload files",
            "type": "array",
            "description": "Upload recordings, voice notes or videos from your computer (they go to a key-value store of your account and only this run reads them)."
          },
          "keyValueStoreId": {
            "title": "Or: files of a key-value store",
            "type": "string",
            "description": "Clean the audio/video files saved in one of your key-value stores (e.g. the output of another Actor). Only read access to this one store is requested."
          },
          "keyValueStoreKeys": {
            "title": "Only these keys of the store",
            "type": "array",
            "description": "Record keys to clean. Empty = every audio or video record of the store (up to 'Max files').",
            "items": {
              "type": "string"
            }
          },
          "strength": {
            "title": "Noise reduction strength",
            "enum": [
              "gentle",
              "balanced",
              "strong",
              "max"
            ],
            "type": "string",
            "description": "How much background noise to take away. Every strength costs the same. Use Gentle or Balanced for music-heavy content or if Max sounds too dry.",
            "default": "strong"
          },
          "loudness": {
            "title": "Loudness",
            "enum": [
              "podcast",
              "youtube",
              "audiobook",
              "broadcast",
              "off"
            ],
            "type": "string",
            "description": "Makes every file equally loud with two-pass loudness normalization (EBU R128) and a true-peak limiter. Free.",
            "default": "podcast"
          },
          "trimSilence": {
            "title": "Trim silence",
            "enum": [
              "off",
              "edges",
              "pauses"
            ],
            "type": "string",
            "description": "Remove silence after cleaning. 'Shorten long pauses' cuts every pause longer than the value below down to 0.6 s — great for podcasts and voice-overs. Audio file only: videos keep their timing. Free.",
            "default": "off"
          },
          "maxPauseSec": {
            "title": "Longest pause to keep",
            "minimum": 0.3,
            "maximum": 5,
            "type": "number",
            "description": "With 'Shorten long pauses': pauses longer than this are shortened.",
            "default": 1
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "same",
              "mp3",
              "wav",
              "flac",
              "m4a",
              "opus"
            ],
            "type": "string",
            "description": "Format of the clean audio file. Videos also come back as a video with the clean soundtrack (see below).",
            "default": "same"
          },
          "videoOutput": {
            "title": "For videos: return the video with the clean audio",
            "type": "boolean",
            "description": "The picture is copied as is (no quality loss, fast); only the soundtrack is replaced. The clean audio file is returned too.",
            "default": true
          },
          "removeRumble": {
            "title": "Remove low rumble (high-pass 70 Hz)",
            "type": "boolean",
            "description": "Cuts inaudible low rumble (desk bumps, traffic, mic handling) below 70 Hz that eats loudness. Turn off for music or deep sound design.",
            "default": true
          },
          "extraClean": {
            "title": "Extra-clean post-filter",
            "type": "boolean",
            "description": "Adds DeepFilterNet's post-filter: a little more suppression between words for very noisy recordings. Can sound slightly drier.",
            "default": false
          },
          "mono": {
            "title": "Mix down to mono",
            "type": "boolean",
            "description": "Return mono files (usual for spoken word: half the size). Off = keep the input's channels (stereo stays stereo).",
            "default": false
          },
          "startTime": {
            "title": "Start time (trim)",
            "type": "string",
            "description": "Clean only a part: start here. Seconds (90), mm:ss (1:30), hh:mm:ss, 1m30s or a percent (10%). Empty = from the start. You pay only for the part cleaned."
          },
          "endTime": {
            "title": "End time (trim)",
            "type": "string",
            "description": "Clean only a part: end here (same formats). Empty = to the end."
          },
          "bitrateKbps": {
            "title": "MP3 / M4A / Opus bitrate",
            "minimum": 64,
            "maximum": 320,
            "type": "integer",
            "description": "Bitrate for compressed formats (M4A and Opus are capped at 256).",
            "default": 192
          },
          "bitDepth": {
            "title": "WAV / FLAC bit depth",
            "enum": [
              "16",
              "24"
            ],
            "type": "string",
            "description": "Bit depth for WAV and FLAC files.",
            "default": "16"
          },
          "maxMinutesPerFile": {
            "title": "Max minutes per file",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Longer audio is not cleaned (free), so a long file by mistake can't run up a big bill.",
            "default": 180
          },
          "maxFiles": {
            "title": "Max files",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many files (links, folder files and dataset rows together).",
            "default": 100
          },
          "maxFileSizeMb": {
            "title": "Max input file size",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Bigger files are not downloaded (free). Lowered automatically to what the run's disk can hold (it grows with memory).",
            "default": 2048
          },
          "datasetId": {
            "title": "Or: dataset with audio/video links (chain another Actor)",
            "type": "string",
            "description": "A dataset from another run whose rows contain audio or video links. Only read access to this one dataset is requested."
          },
          "datasetUrlFields": {
            "title": "Dataset fields with the links",
            "type": "string",
            "description": "Field name(s), comma separated; nested paths work (media.url, audio.0.src). Empty = detect it (audioUrl, fileUrl, url…)."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}