Data API / Instagram / Media
Media Transcript
Transcribes the speech in a public Instagram video or reel and returns transcripts, each with id, shortcode and the transcribed text. The target must be a video under two minutes long: a photo post returns 400 bad_request, so when the URL's type is unknown check is_video with get_instagram_post first. For the caption the author wrote rather than the words spoken in the video, read edge_media_to_caption from get_instagram_post.
Параметры
запрос
urlstringОбязательныйInstagram post or reel URL
Пример запроса
curl -G "https://openapi.felo.ai/v1/beta/instagram/media/transcript" \
--data-urlencode "url=<string>" \
-H "Authorization: Bearer $FELO_API_KEY"Ответ
Пример ответа
{
"success": true,
"transcripts": [
{
"id": "3597267389859272809",
"shortcode": "DHsD6HGqJhp",
"text": "Let's fry up the perfect bunzel. Beautiful. Everybody, shh. The perfect bunzel. Let me show you my bunzel. When it comes down to bunzel, we make it the crispiest, get the crunch. Heaven."
}
]
}Поля ответа
successbooleanНеобязательныйcredits_remainingintegerНеобязательныйtranscriptsobject[]Необязательный