ShortGenius Audio API

The Audio API from ShortGenius — 5 operation(s) for audio.

GitHub OpenAPI

Operations 5

POST /audio/speech Create speech #
GET /audio List audio #
GET /audio/{id} Get audio #
GET /audio/voices List voices #
GET /audio/voices/{id} Get voice #

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/shortgenius-com:shortgenius-com-audio-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

shortgenius-com-audio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ShortGenius Audio API
  version: 1.0.0
  description: Generate AI-based videos, images, and audio, and manage your ShortGenius account.
servers:
- url: https://api.shortgenius.com/v1
security:
- bearerAuth: []
tags:
- name: Audio
paths:
  /audio/speech:
    post:
      operationId: createSpeech
      summary: Create speech
      description: Generate speech from provided text.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                text:
                  type: string
                  description: The text to generate speech from.
                locale:
                  type: string
                  enum:
                  - af-ZA
                  - id-ID
                  - ms-MY
                  - ca-ES
                  - cs-CZ
                  - da-DK
                  - de-DE
                  - en-US
                  - es-ES
                  - es-419
                  - fr-CA
                  - fr-FR
                  - hr-HR
                  - it-IT
                  - hu-HU
                  - nl-NL
                  - no-NO
                  - pl-PL
                  - pt-BR
                  - pt-PT
                  - ro-RO
                  - sk-SK
                  - fi-FI
                  - sv-SE
                  - vi-VN
                  - tr-TR
                  - el-GR
                  - ru-RU
                  - sr-SP
                  - uk-UA
                  - hy-AM
                  - he-IL
                  - ur-PK
                  - ar-SA
                  - hi-IN
                  - th-TH
                  - ko-KR
                  - ja-JP
                  - zh-CN
                  - zh-TW
                  - auto
                  default: auto
                  description: The locale of the text.
                voice_id:
                  type: string
                  description: The voice to use for speech generation. See the [List voices](#tag/voices/GET/voices) endpoint.
                wait_for_generation:
                  type: boolean
                  default: false
                  description: If false, this endpoint immediately returns the incomplete speech record, and you can poll the [Get speech](#tag/voices/GET/media/get/{id}) endpoint until the task completes. If true, this endpoint waits until the speech generation completes, then returns the complete speech record. Defaults to false.
              required:
              - text
              - voice_id
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audio'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
        '401':
          description: Unauthorized request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
      tags:
      - Audio
  /audio:
    get:
      operationId: getAllAudio
      summary: List audio
      description: Get all the speech generations you have created.
      parameters:
      - in: query
        name: page
        description: The page number to retrieve.
        schema:
          type: number
          default: 0
          description: The page number to retrieve.
      - in: query
        name: limit
        description: The maximum number of items per page.
        schema:
          type: number
          maximum: 200
          default: 50
          description: The maximum number of items per page.
      - in: query
        name: for_public
        description: If 1, only public audio is returned.
        schema:
          type: number
          default: 0
          description: If 1, only public audio is returned.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  audio:
                    type: array
                    items:
                      $ref: '#/components/schemas/Audio'
                    description: Array of audio records.
                  has_more:
                    type: boolean
                    description: Indicates if more items are available.
                required:
                - audio
                - has_more
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
      tags:
      - Audio
  /audio/{id}:
    get:
      operationId: getAudio
      summary: Get audio
      parameters:
      - in: path
        name: id
        description: The unique ID of the audio record to retrieve.
        schema:
          type: string
          format: uuid
          description: The unique ID of the audio record to retrieve.
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audio'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
      tags:
      - Audio
  /audio/voices:
    get:
      operationId: getVoices
      summary: List voices
      description: Gets a list of all voices available for text-to-speech.
      parameters:
      - in: query
        name: locale
        description: The locale for which to retrieve voices.
        schema:
          type: string
          enum:
          - af-ZA
          - id-ID
          - ms-MY
          - ca-ES
          - cs-CZ
          - da-DK
          - de-DE
          - en-US
          - es-ES
          - es-419
          - fr-CA
          - fr-FR
          - hr-HR
          - it-IT
          - hu-HU
          - nl-NL
          - no-NO
          - pl-PL
          - pt-BR
          - pt-PT
          - ro-RO
          - sk-SK
          - fi-FI
          - sv-SE
          - vi-VN
          - tr-TR
          - el-GR
          - ru-RU
          - sr-SP
          - uk-UA
          - hy-AM
          - he-IL
          - ur-PK
          - ar-SA
          - hi-IN
          - th-TH
          - ko-KR
          - ja-JP
          - zh-CN
          - zh-TW
          - auto
          default: auto
          description: The locale for which to retrieve voices.
      - in: query
        name: page
        description: The page number to retrieve.
        schema:
          type: number
          default: 0
          description: The page number to retrieve.
      - in: query
        name: limit
        description: The maximum number of items per page.
        schema:
          type: number
          maximum: 10000000
          default: 20
          description: The maximum number of items per page.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Voice'
                description: A list of available TTS voices.
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
      tags:
      - Audio
  /audio/voices/{id}:
    get:
      operationId: getVoice
      summary: Get voice
      parameters:
      - in: path
        name: id
        description: The unique ID of the voice to retrieve.
        schema:
          type: string
          description: The unique ID of the voice to retrieve.
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Voice'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type:
                    - string
                    - 'null'
                    description: Error message describing the reason for failure.
                description: An error response object.
      tags:
      - Audio
components:
  schemas:
    Voice:
      type: object
      properties:
        id:
          type: string
          description: Unique ID of the voice.
        name:
          type: string
          description: Name of the voice.
        description:
          type:
          - string
          - 'null'
          description: Description of the voice.
        avatar_url:
          type:
          - string
          - 'null'
          description: Avatar url of the voice.
        flag_url:
          type:
          - string
          - 'null'
          description: Flag url of the voice.
        tags:
          type:
          - object
          - 'null'
          properties:
            language:
              type:
              - string
              - 'null'
            accent:
              type:
              - string
              - 'null'
            age:
              type:
              - string
              - 'null'
            category:
              type:
              - string
              - 'null'
            gender:
              type:
              - string
              - 'null'
            tone:
              type:
              - string
              - 'null'
            useCase:
              type:
              - string
              - 'null'
          description: Tags of the voice. Describe the characteristics of the voice.
        preview_url:
          type:
          - string
          - 'null'
          description: URL of the preview audio of the voice.
        locale:
          type:
          - string
          - 'null'
          enum:
          - af-ZA
          - id-ID
          - ms-MY
          - ca-ES
          - cs-CZ
          - da-DK
          - de-DE
          - en-US
          - es-ES
          - es-419
          - fr-CA
          - fr-FR
          - hr-HR
          - it-IT
          - hu-HU
          - nl-NL
          - no-NO
          - pl-PL
          - pt-BR
          - pt-PT
          - ro-RO
          - sk-SK
          - fi-FI
          - sv-SE
          - vi-VN
          - tr-TR
          - el-GR
          - ru-RU
          - sr-SP
          - uk-UA
          - hy-AM
          - he-IL
          - ur-PK
          - ar-SA
          - hi-IN
          - th-TH
          - ko-KR
          - ja-JP
          - zh-CN
          - zh-TW
          - null
          description: Locale of the voice.
        source:
          type: string
          enum:
          - Cartesia
          - CartesiaClonedVoice
          - ElevenLabs
          - ElevenLabsShared
          - FishAudio
          - FishAudioClonedVoice
          - OpenAI
          description: Source of the voice.
      required:
      - id
      - name
      - description
      - tags
      - preview_url
      - locale
      - source
      description: A text-to-speech voice
    Audio:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique ID of the audio.
        created_at:
          type: string
          description: Date and time (ISO 8601) when the audio media was created.
        updated_at:
          type:
          - string
          - 'null'
          description: Date and time (ISO 8601) when the audio media was last updated.
        url:
          type:
          - string
          - 'null'
          description: URL of the audio. Only available after the audio is generated.
        user_id:
          type: string
          format: uuid
          description: ID of the user who generated the audio.
        transcript:
          type:
          - object
          - 'null'
          properties:
            words:
              type: array
              items:
                type: object
                properties:
                  text:
                    type: string
                  start:
                    type: number
                  end:
                    type: number
                  confidence:
                    type: number
                required:
                - text
                - start
                - end
          required:
          - words
          description: Transcript of the audio with timestamps. Only available after the audio is generated.
        category:
          type: string
          enum:
          - AIGeneratedAudio
          - AIGeneratedAudioForVideo
          - AIGeneratedMusic
          description: Category of the audio.
        state:
          type: string
          enum:
          - pending
          - generating
          - completed
          - error
          description: State of the audio generation.
        text:
          type:
          - string
          - 'null'
          description: Source text of the audio.
        locale:
          type:
          - string
          - 'null'
          enum:
          - af-ZA
          - id-ID
          - ms-MY
          - ca-ES
          - cs-CZ
          - da-DK
          - de-DE
          - en-US
          - es-ES
          - es-419
          - fr-CA
          - fr-FR
          - hr-HR
          - it-IT
          - hu-HU
          - nl-NL
          - no-NO
          - pl-PL
          - pt-BR
          - pt-PT
          - ro-RO
          - sk-SK
          - fi-FI
          - sv-SE
          - vi-VN
          - tr-TR
          - el-GR
          - ru-RU
          - sr-SP
          - uk-UA
          - hy-AM
          - he-IL
          - ur-PK
          - ar-SA
          - hi-IN
          - th-TH
          - ko-KR
          - ja-JP
          - zh-CN
          - zh-TW
          - null
          description: Locale of the audio to guide the AI. Auto-detected if not provided.
        voice:
          $ref: '#/components/schemas/Voice'
          description: Voice used to generate the audio.
        duration:
          type:
          - number
          - 'null'
          description: Duration of the generated audio. Only available after the audio is generated.
        lufs:
          type:
          - number
          - 'null'
          description: Loudness normalization value in LUFS. Only available after the audio is generated.
      required:
      - id
      - created_at
      - url
      - user_id
      - category
      - state
      description: Details about the created or retrieved audio media.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Your ShortGenius API token