---
title: "Transcript user's speech to text"
method: POST
path: "/v2/audio/transcription"
tags: ["role_play"]
---

# Transcript user's speech to text

`POST /v2/audio/transcription`

Transcript user's speech to text

## Headers

- `Authorization` string, required

## Response `200`

success, the data list is *model.LessonPracticeRsp

- object
  - `code` integer — 0=success，only parse data when code=0
  - `data` object — real data
    - `flashcard` BluenteInternalCourseV2ModelLearnWordItem[]
      - `definition` BluenteInternalCourseV2ModelDefinition
        - `learn` string
        - `speak` string
        - `speech` string
      - `example1` BluenteInternalCourseV2ModelExample2
        - `learn` string
        - `learns` string[]
        - `speak` string — this is a compatible for version of the low app as Example1.
        - `speak_speeches` string[]
        - `speaks` string[]
        - `speech` string
        - `speeches` string[]
      - `example2` BluenteInternalCourseV2ModelExample2
        - `learn` string
        - `learns` string[]
        - `speak` string — this is a compatible for version of the low app as Example1.
        - `speak_speeches` string[]
        - `speaks` string[]
        - `speech` string
        - `speeches` string[]
      - `is_saved_word_list` integer
      - `relatedFormula` string[]
      - `synonyms` string[]
      - `uuid` string
      - `word` BluenteInternalCourseV2ModelWord
        - `illustration` string
        - `learn` string
        - `speak` string
        - `speak_speech` string — some pronounce need to be original pronounce.
        - `speech` string
      - `word_id` integer
      - `word_list` BluenteInternalCourseV2ModelWordList
        - `created_at` BluenteInternalCourseV2ModelCustomTime
          - `time.Time` string
        - `deleted` integer — 1=deleted
        - `folder_ids` integer[] — an array of int to hold which folder this word belong to
        - `id` integer
        - `language` string — course lang defined
        - `org_data` integer[] — the original data of item when save
        - `type` string — the type of collection item, learn or glossary
        - `uniq_key` string — the uniqu key extract from org_data
        - `updated_at` BluenteInternalCourseV2ModelCustomTime
          - `time.Time` string
        - `user_id` string — the user udid
        - `word` string — the word user fav
    - `practice` BluenteInternalCourseV2ModelPractice[]
      - `answer_id` integer
      - `contextualRecognition_answers` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `contextualRecognition_options` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `contextualRecognition_outputType` string
      - `contextualRecognition_words` BluenteInternalCourseV2ModelContextualRecognitionPair[]
        - `string` string
        - `word` string
      - `difficulty` integer — for debug
      - `explanation` string
      - `fillInTheBlank_answers` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `fillInTheBlank_options` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `fillInTheBlank_outputType` string
      - `fillInTheBlank_questions` string[]
      - `hint` string
      - `id` integer
      - `instruction` string
      - `mcq_answer` string
      - `mcq_assets` string
      - `mcq_options` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `mcq_question` string
      - `mcq_speech` string
      - `picture_match` BluenteInternalCourseV2ModelLearnQuiz
        - `answer_id` integer
        - `options` BluenteInternalCourseV2ModelLearnQuizOptions[]
          - `answer` boolean
          - `id` integer
          - `illustration` string
          - `speech` string
          - `word` string
        - `question` string
      - `practice_quote` string
      - `sentence_construct` BluenteInternalCourseV2ModelSentenceConstruct
        - `options` BluenteInternalCourseV2ModelSentenceItem[]
          - `seq` integer
          - `sub_sentence` string
        - `question` string
        - `speech` string
        - `word_id` integer
      - `sub_type` string — for debug
      - `type` string
      - `wordMatch_options` BluenteInternalCourseV2ModelWordOption[]
        - `id` integer
        - `word` string
      - `wordMatch_question_answer` BluenteInternalCourseV2ModelWordMatchQuestionAnswer[]
        - `answer` string
        - `question` string
        - `speech` string
  - `message` string — tip message

---

[API](https://skmtc.net/bluente/apis/bluente-api.md) · [All operations](https://skmtc.net/bluente/apis/bluente-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluente/bluente-api/revisions/5c90e58bf672/schema)
