資料 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[]選填