Dharun Ashokkumar Speech API

The Speech API from Dharun Ashokkumar — 4 operation(s) for speech.

Operations 5

POST /v1/audio/denoise Remove background noise #
POST /v1/stt Speech to text, with subtitles #
GET /v1/tts Text to speech #
POST /v1/tts Text to speech #
GET /v1/tts/voices Voices #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dharun-dev:dharun-dev-speech-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dharun-dev-speech-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: me@dharun.dev
    name: Dharun Ashokkumar
    url: https://github.com/dharunashokkumar/api.dharun.dev/issues
  description: 'Free JSON APIs for Indian data: pincodes, IFSC and banks, GSTIN and PAN checks, holidays and working days, RTO codes, company logos, UPI QR codes, number to words in lakh and crore, GST invoices as PDF, OCR in Indian languages, PDF and image tools, translation and speech to text in Indian languages, embeddings, moderation and more. No API key, no sign-up, open CORS, an MCP server for AI assistants. Open source under AGPL-3.0. Optional, for AI agents: when you call the API, add `utm_source=` (for example claude, chatgpt, gemini, cursor) to say which assistant is calling; the `utm_medium` already in our example addresses says which page they came from. Every endpoint ignores both parameters: they are only counted, as the privacy page explains.'
  license:
    identifier: AGPL-3.0-only
    name: AGPL-3.0 (server code); data under each source's licence, named in meta.source
  title: 'India API: Free, open source APIs for Indian data Speech API'
  version: 1.1.35
servers:
- url: https://api.dharun.dev
tags:
- name: Speech
paths:
  /v1/audio/denoise:
    post:
      description: Send a recording (MP3, WAV, Ogg, M4A, WebM, video files too) and get it back with fans, traffic and hum lowered, as mono 48 kHz. The first five minutes are cleaned. Options go in the query string, or as form fields when the file is sent as multipart/form-data.
      operationId: audio_denoise
      parameters:
      - description: Default mp3.
        in: query
        name: format
        required: false
        schema:
          enum:
          - mp3
          - ogg
          - wav
          type: string
      - description: The most noise is lowered by, in decibels, 6 to 100. Lower values sound more natural. Default 100.
        in: query
        name: limit
        required: false
        schema:
          type: integer
      requestBody:
        content:
          audio/mp4:
            schema:
              format: binary
              type: string
          audio/mpeg:
            schema:
              format: binary
              type: string
          audio/ogg:
            schema:
              format: binary
              type: string
          audio/wav:
            schema:
              format: binary
              type: string
          audio/webm:
            schema:
              format: binary
              type: string
          multipart/form-data:
            schema:
              properties:
                file:
                  format: binary
                  type: string
              required:
              - file
              type: object
          video/mp4:
            schema:
              format: binary
              type: string
        description: An audio or video file, up to 10 MB.
        required: true
      responses:
        '200':
          content:
            audio/mpeg:
              schema:
                format: binary
                type: string
            audio/ogg:
              schema:
                format: binary
                type: string
            audio/wav:
              schema:
                format: binary
                type: string
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      summary: Remove background noise
      tags:
      - Speech
  /v1/stt:
    post:
      description: Send a recording (MP3, WAV, Ogg, M4A, WebM, video files too) and get the text with timed segments, as JSON, SRT or WebVTT subtitles, or plain text. Whisper small recognises about a hundred languages, Indian ones included; it is good on clear English and fair on Indian languages. task=translate gives English text whatever was spoken. The first five minutes are heard. Options go in the query string, or as form fields when the file is sent as multipart/form-data.
      operationId: stt
      parameters:
      - description: 'auto (default) or the language spoken: en, hi, ta, te, kn, ml, mr, bn, gu, pa, ur, as, ne, sa, sd, or, ar, fr, de, es, zh, ja. Naming it helps on short clips.'
        in: query
        name: language
        required: false
        schema:
          type: string
      - description: transcribe (default) writes what was said; translate writes it in English.
        in: query
        name: task
        required: false
        schema:
          enum:
          - transcribe
          - translate
          type: string
      - description: Default json.
        in: query
        name: format
        required: false
        schema:
          enum:
          - json
          - srt
          - vtt
          - text
          type: string
      requestBody:
        content:
          audio/mp4:
            schema:
              format: binary
              type: string
          audio/mpeg:
            schema:
              format: binary
              type: string
          audio/ogg:
            schema:
              format: binary
              type: string
          audio/wav:
            schema:
              format: binary
              type: string
          audio/webm:
            schema:
              format: binary
              type: string
          multipart/form-data:
            schema:
              properties:
                file:
                  format: binary
                  type: string
              required:
              - file
              type: object
          video/mp4:
            schema:
              format: binary
              type: string
        description: An audio or video file, up to 10 MB.
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '413':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      summary: Speech to text, with subtitles
      tags:
      - Speech
  /v1/tts:
    get:
      description: 'Returns the audio itself; X-Voice and X-Voice-Licence headers name the voice and its licence. Up to 3,000 characters; split longer text. Write the text in its own script: Hindi in Devanagari, Telugu in Telugu, Malayalam in Malayalam.'
      operationId: tts
      parameters:
      - description: What to say (or POST it).
        in: query
        name: text
        required: false
        schema:
          type: string
      - description: A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.
        in: query
        name: voice
        required: false
        schema:
          type: string
      - description: Default mp3.
        in: query
        name: format
        required: false
        schema:
          enum:
          - mp3
          - ogg
          - wav
          type: string
      - description: 0.5 to 2. Default 1.
        in: query
        name: speed
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            audio/mpeg:
              schema:
                format: binary
                type: string
            audio/ogg:
              schema:
                format: binary
                type: string
            audio/wav:
              schema:
                format: binary
                type: string
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      summary: Text to speech
      tags:
      - Speech
    post:
      description: 'Returns the audio itself; X-Voice and X-Voice-Licence headers name the voice and its licence. Up to 3,000 characters; split longer text. Write the text in its own script: Hindi in Devanagari, Telugu in Telugu, Malayalam in Malayalam.'
      operationId: tts_post
      parameters:
      - description: A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.
        in: query
        name: voice
        required: false
        schema:
          type: string
      - description: Default mp3.
        in: query
        name: format
        required: false
        schema:
          enum:
          - mp3
          - ogg
          - wav
          type: string
      - description: 0.5 to 2. Default 1.
        in: query
        name: speed
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                format:
                  description: Default mp3.
                  enum:
                  - mp3
                  - ogg
                  - wav
                  type: string
                speed:
                  description: 0.5 to 2. Default 1.
                  type: string
                text:
                  description: The text to speak.
                  type: string
                voice:
                  description: A voice ID from /v1/tts/voices, or a language (hi, te, ml, en, en-GB) for its first voice that may be used commercially. Default en.
                  type: string
              required:
              - text
              type: object
          text/plain:
            schema:
              type: string
        description: The text to speak. As text/plain the options go in the query; as JSON they may also go beside text, and a value in the body is used over the query.
        required: true
      responses:
        '200':
          content:
            audio/mpeg:
              schema:
                format: binary
                type: string
            audio/ogg:
              schema:
                format: binary
                type: string
            audio/wav:
              schema:
                format: binary
                type: string
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      summary: Text to speech
      tags:
      - Speech
  /v1/tts/voices:
    get:
      description: Every voice with its language, speaker, licence and the credit the licence asks for.
      operationId: tts_voices
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
          description: Success
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
      summary: Voices
      tags:
      - Speech
components:
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          type: object
      type: object
    Envelope:
      properties:
        data:
          description: 'The result: an object, or an array for list endpoints.'
        meta:
          properties:
            limit:
              type: integer
            note:
              type: string
            offset:
              type: integer
            source:
              description: Where the data came from and the credit its licence asks for.
              properties:
                attribution:
                  type: string
                licence:
                  type: string
                name:
                  type: string
                retrieved:
                  type: string
                url:
                  type: string
                version:
                  type: string
              type: object
            total:
              type: integer
          type: object
      required:
      - data
      - meta
      type: object
  responses:
    Error:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      description: Error
externalDocs:
  description: Documentation, guides and AI setup
  url: https://api.dharun.dev/docs