> ## Documentation Index
> Fetch the complete documentation index at: https://api.finevoice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Speech Enhancement

> Reduce background noise and enhance speech quality. Supports WAV/MP3/FLAC/AAC/OGG/OPUS/M4A/WEBM.



## OpenAPI

````yaml POST /v1/enhancer/speech_enhancement
openapi: 3.0.1
info:
  title: FineVoice API
  description: >-
    This is the documentation for the FineVoice API. If you have any questions
    or need assistance, please contact support@finevoice.ai.
  version: v1
servers:
  - url: https://apis.finevoice.ai
    description: FineVoice API Gateway
security:
  - BearerAuth: []
paths:
  /v1/enhancer/speech_enhancement:
    post:
      tags:
        - Audio Enhancer
      summary: Speech Enhancement
      description: >-
        Reduce background noise and enhance speech quality. Supports
        WAV/MP3/FLAC/AAC/OGG/OPUS/M4A/WEBM. Returns enhanced audio file.
      operationId: SpeechEnhancement
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpeechEnhancementRequest'
      responses:
        '200':
          description: Enhanced audio returned.
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Unauthorized — invalid or missing API key.
        '422':
          description: Validation error — check request body fields.
components:
  schemas:
    SpeechEnhancementRequest:
      type: object
      description: The speech enhancement request payload.
      properties:
        url:
          type: string
          description: >-
            Audio file URL (http/https). Supports
            WAV/MP3/FLAC/AAC/OGG/OPUS/M4A/WEBM.
          example: https://example.com/audio.mp3
        model:
          type: string
          description: >-
            Enhancement model. Supported: `MossFormer2_SE_48K`, `FRCRN_SE_16K`,
            `MossFormerGAN_SE_16K`.
          example: MossFormer2_SE_48K
          default: MossFormer2_SE_48K
        use_vad:
          type: boolean
          description: Enable VAD (Voice Activity Detection) preprocessing.
          default: false
        enable_normalization:
          type: boolean
          description: Enable audio normalization after enhancement.
          default: false
        normalization_method:
          type: string
          description: 'Normalization method: `peak`, `rms`, or `both`.'
          default: peak
        normalization_peak_db:
          type: number
          description: Target peak level in dBFS.
          default: -1
        normalization_rms_db:
          type: number
          description: Target RMS level in dBFS.
          default: -20
        output_format:
          type: string
          description: 'Output format: `wav`, `mp3`, `flac`, or `m4a`.'
          default: wav
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token (API key). Format: `Bearer {your_api_key}`'

````