Get Video Transcription
Use this API to retrieve the transcription result for 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.
Host URL
https://api.memories.ai
Endpoint
GET /serve/api/video/get_video_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_video_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": "VI606041694843813888",
"transcriptions": [
{
"index": 0,
"content": "Under a rocky overhang, three people are washing clothes in a shallow stream. Two individuals are seated on the pebbled ground, tending to laundry in basins, while a third person stands in the water further downstream. To the left, an open doorway reveals a room with a fireplace and a person tending to the fire. The background shows a misty, mountainous landscape with trees.",
"startTime": "0",
"endTime": "8"
}
]
},
"success": true, "failed": false
}
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 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 |
»» start | float | Segment start time in seconds |
»» end | float | Segment end time in seconds |
»» text | string | Transcribed speech content for that time segment |
Notes
- Ensure the video has finished processing (status:
PARSE
) before calling this API. - This endpoint returns the final transcription of the full video (audio + visual).