数据 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[]可选