Skip to main content
Version: v1.2

Get Aaudio Transcription from a public video

Use this API to retrieve the transcription result specifically from the audio track of a video from public video sources.

uploadupload

Prerequisites

  • You’re familiar with the concepts described on the Platform overview page.
  • You have a valid memories.ai API key.

Host URL

  • https://api.memories.ai

Endpoint

GET /serve/api/v1/get_public_audio_transcription


Request Example

import requests

headers = {"Authorization": "<API_KEY>"}

params = {"video_no": "PI-594031499251159058"}

response = requests.get("https://api.memories.ai/serve/api/v1/get_public_audio_transcription", headers=headers, params=params)

print("Status:", response.status_code)
try:
print("Audio Transcription Response:", response.json())
except Exception:
print("Response Text:", response.text)

Request Parameters

NameLocationTypeRequiredDescription
AuthorizationheaderstringYesYour API key for authentication
video_noquerystringYesUnique video number returned after upload

Response Example

Status code 200

{
"code": "0000",
"msg": "success",
"data": {
"videoNo": "PI-594031499251159058",
"transcriptions": [
{
"index": 0,
"content": "I just got back from my friend's vintage liquidation sale.",
"startTime": "0",
"endTime": "3"
},
{
"index": 1,
"content": "Somehow I came back with two bags full of stuff.",
"startTime": "3",
"endTime": "7"
},
{
"index": 2,
"content": "Fully intended just to browse.",
"startTime": "7",
"endTime": "9"
},
{
"index": 3,
"content": "First up, vintage leather skirt.",
"startTime": "9",
"endTime": "11"
},
{
"index": 4,
"content": "I can always justify leather.",
"startTime": "11",
"endTime": "13"
},
{
"index": 5,
"content": "Fits me like a glove.",
"startTime": "13",
"endTime": "15"
},
{
"index": 6,
"content": "I'm 100% that bitch.",
"startTime": "15",
"endTime": "17"
},
{
"index": 7,
"content": "If you follow me, you saw this one on my stories.",
"startTime": "17",
"endTime": "19"
},
{
"index": 8,
"content": "It's really soft.",
"startTime": "19",
"endTime": "21"
},
{
"index": 9,
"content": "Matches my hair.",
"startTime": "21",
"endTime": "22"
},
{
"index": 10,
"content": "It matches my personality.",
"startTime": "22",
"endTime": "23"
},
{
"index": 11,
"content": "I've always wanted one of these tops.",
"startTime": "23",
"endTime": "25"
},
{
"index": 12,
"content": "Little butterfly top and it's like crisscross in the back.",
"startTime": "25",
"endTime": "29"
},
{
"index": 13,
"content": "This one's so cute.",
"startTime": "30",
"endTime": "32"
},
{
"index": 14,
"content": "Vintage bustier moment.",
"startTime": "32",
"endTime": "33"
},
{
"index": 15,
"content": "It's a little big in the cups, but we can work with it.",
"startTime": "34",
"endTime": "36"
},
{
"index": 16,
"content": "Look back.",
"startTime": "36",
"endTime": "37"
},
{
"index": 17,
"content": "Obviously, I would wear this as a top because I'm insufferable.",
"startTime": "37",
"endTime": "41"
},
{
"index": 18,
"content": "It's cargo pants that I thought weren't going to fit me, but they magically did.",
"startTime": "41",
"endTime": "45"
},
{
"index": 19,
"content": "And I have been looking for some of these.",
"startTime": "45",
"endTime": "47"
},
{
"index": 20,
"content": "Also adjustable on the sides here.",
"startTime": "47",
"endTime": "48"
},
{
"index": 21,
"content": "Little Nike top.",
"startTime": "50",
"endTime": "52"
},
{
"index": 22,
"content": "Just, it's getting sporty.",
"startTime": "52",
"endTime": "54"
},
{
"index": 23,
"content": "It's like sheer at the top.",
"startTime": "54",
"endTime": "56"
},
{
"index": 24,
"content": "Britney Spears shirt.",
"startTime": "57",
"endTime": "58"
},
{
"index": 25,
"content": "Little DIY moment.",
"startTime": "58",
"endTime": "60"
},
{
"index": 26,
"content": "Classic.",
"startTime": "60",
"endTime": "61"
},
{
"index": 27,
"content": "Beat it inside the fire.",
"startTime": "61",
"endTime": "63"
},
{
"index": 28,
"content": "Literally fits me perfectly.",
"startTime": "63",
"endTime": "64"
},
{
"index": 29,
"content": "Couldn't leave it.",
"startTime": "64",
"endTime": "65"
},
{
"index": 30,
"content": "Because Leo.",
"startTime": "66",
"endTime": "66"
},
{
"index": 31,
"content": "Fire.",
"startTime": "67",
"endTime": "67"
},
{
"index": 32,
"content": "Also snagged this bottle tab purse.",
"startTime": "67",
"endTime": "70"
},
{
"index": 33,
"content": "We love an upcycled moment.",
"startTime": "70",
"endTime": "72"
},
{
"index": 34,
"content": "I've been looking for a new black bag.",
"startTime": "72",
"endTime": "73"
},
{
"index": 35,
"content": "What do you know?",
"startTime": "73",
"endTime": "74"
},
{
"index": 36,
"content": "I found one.",
"startTime": "74",
"endTime": "74"
},
{
"index": 37,
"content": "This cute vintage clam dish.",
"startTime": "74",
"endTime": "77"
},
{
"index": 38,
"content": "In the process of decorating my new place.",
"startTime": "77",
"endTime": "79"
},
{
"index": 39,
"content": "So my room's going to be kind of like rock and roll music vibes.",
"startTime": "79",
"endTime": "82"
},
{
"index": 40,
"content": "And this Madonna print is perfect.",
"startTime": "82",
"endTime": "84"
},
{
"index": 41,
"content": "Goal.",
"startTime": "85",
"endTime": "85"
},
{
"index": 42,
"content": "Artwork.",
"startTime": "85",
"endTime": "86"
},
{
"index": 43,
"content": "Coffee table book.",
"startTime": "86",
"endTime": "87"
},
{
"index": 44,
"content": "If you know me, I decorate with a lot of skulls in my house.",
"startTime": "87",
"endTime": "90"
},
{
"index": 45,
"content": "Over here it is spooky season year round.",
"startTime": "90",
"endTime": "93"
},
{
"index": 46,
"content": "So I decorate with a lot of skulls.",
"startTime": "93",
"endTime": "95"
},
{
"index": 47,
"content": "And this just fits my place so perfectly.",
"startTime": "95",
"endTime": "97"
},
{
"index": 48,
"content": "And apparently this glows in the dark.",
"startTime": "97",
"endTime": "98"
},
{
"index": 49,
"content": "Like and follow for more vintage hauls.",
"startTime": "98",
"endTime": "100"
},
{
"index": 50,
"content": "And be sure to guess in the comments how much I paid.",
"startTime": "100",
"endTime": "103"
}
]
}
}

Response Structure

NameTypeDescription
codestringResponse status code
msgstringHuman-readable status message
dataobjectResponse data container
» videoNostringThe unique video ID
» transcriptionslist of objectsList of transcription segments from the audio track
»» startTimefloatSegment start time in seconds
»» endTimefloatSegment end time in seconds
»» contentstringTranscribed speech content for that time segment
»» indexintid of segment

Notes

  • This endpoint returns only the transcription derived from the audio track.