Gladia
    Gladia
    • List Transcriptions
      GET
    • Create Transcription
      POST
    • Get Transcription
      GET
    • Delete Transcription
      DELETE
    • Download Transcription audio
      GET
    • Create Upload
      POST

      Create Transcription

      Develop Env
      https://dev.your-api-server.com
      Develop Env
      https://dev.your-api-server.com
      POST
      /v2/transcription
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://dev.your-api-server.com/v2/transcription' \
      --header 'x-gladia-key: <api-key>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
        "context_prompt": "<string>",
        "custom_vocabulary": [
          "<string>"
        ],
        "detect_language": true,
        "enable_code_switching": true,
        "code_switching_config": {
          "languages": [
            "af"
          ]
        },
        "language": "en",
        "callback_url": "http://callback.example",
        "subtitles": true,
        "subtitles_config": {
          "formats": [
            "srt"
          ]
        },
        "diarization": true,
        "diarization_config": {
          "number_of_speakers": 2,
          "min_speakers": 1,
          "max_speakers": 2
        },
        "translation": true,
        "translation_config": {
          "target_languages": [
            "en"
          ],
          "model": "base"
        },
        "summarization": true,
        "summarization_config": {
          "type": "general"
        },
        "moderation": true,
        "named_entity_recognition": true,
        "chapterization": true,
        "name_consistency": true,
        "custom_spelling": true,
        "custom_spelling_config": {
          "spelling_dictionary": {
            "Gettleman": [
              "gettleman"
            ],
            "SQL": [
              "Sequel"
            ]
          }
        },
        "structured_data_extraction": true,
        "structured_data_extraction_config": {
          "classes": [
            "Persons",
            "Organizations"
          ]
        },
        "sentiment_analysis": true,
        "audio_to_llm": true,
        "audio_to_llm_config": {
          "prompts": [
            "Extract the key points from the transcription"
          ]
        },
        "custom_metadata": {},
        "sentences": true,
        "display_mode": true,
        "audio_url": "http://files.gladia.io/example/audio-transcription/split_infinity.wav"
      }'
      Response Response Example
      200 - Success
      {
        "id": "45463597-20b7-4af7-b3b3-f5fb778203ab",
        "result_url": "https://api.gladia.io/v2/transcription/45463597-20b7-4af7-b3b3-f5fb778203ab"
      }

      Request

      Header Params

      Body Params application/json

      Examples

      Responses

      🟢200Success
      application/json
      Body

      🟠400Bad Request
      Modified at 2024-07-30 09:02:56
      Previous
      List Transcriptions
      Next
      Get Transcription
      Built with