Get Audio Transcription
Use this API to retrieve the transcription result specifically from the audio track of a video you have uploaded.
Prerequisites
- You’re familiar with the concepts described on the Platform overview page.
- You have uploaded a video via the Upload API and obtained its
videoNo
. - You have a valid memories.ai API key.
- The video must include an audio track.
Host URL
https://api.memories.ai
Endpoint
GET /serve/api/video/get_audio_transcription
Request Example
import requests
headers = {"Authorization": "<API_KEY>"}
params = {"video_no": "<video_no>"}
response = requests.get("https://api.memories.ai/serve/api/video/get_audio_transcription", headers=headers, params=params)
print("Status:", response.status_code)
try:
print("Video Transcription Response:", response.json())
except Exception:
print("Response Text:", response.text)
Request Parameters
Name | Location | Type | Required | Description |
---|---|---|---|---|
video_no | query | string | Yes | Unique video number returned after upload |
Authorization | header | string | Yes | Your API key for authentication |
Response Example
Status code 200
{
"code": "0000",
"msg": "success",
"data": {
"videoNo": "VI605961375402668032",
"transcriptions": [
{
"index": 0,
"content": " I'm going to get my emergency and report.",
"startTime": "0",
"endTime": "7"
},
{
"index": 1,
"content": " Mommy, you're going to go.",
"startTime": "7",
"endTime": "12"
},
{
"index": 2,
"content": " What's going on up there?",
"startTime": "12",
"endTime": "15"
},
{
"index": 3,
"content": " Yes.",
"startTime": "15",
"endTime": "20"
},
{
"index": 4,
"content": " Mommy, you're going to go.",
"startTime": "20",
"endTime": "30"
},
{
"index": 5,
"content": " Mommy, you're going to go.",
"startTime": "30",
"endTime": "35"
}
]
},
"success": true,
"failed": false
}
Response Structure
Name | Type | Description |
---|---|---|
code | string | Response status code |
msg | string | Human-readable status message |
data | object | Response data container |
» videoNo | string | The unique video ID |
» transcription | list of objects | List of transcription segments from the audio track |
»» start | float | Segment start time in seconds |
»» end | float | Segment end time in seconds |
»» text | string | Transcribed speech content for that time segment |
Notes
- This endpoint returns only the transcription derived from the audio track.
- Ensure the video has finished processing (status:
PARSE
) before calling this API.