API para TikTok: Transcrição de vídeo (versão completa)
Transcreva o áudio falado de um vídeo do TikTok com o speech-to-text próprio da AnyAPI: segmentos com tempo por frase, rótulos de locutor, idioma detectado e tempos por palavra opcionais, para vídeos em que o TikTok não publica faixa de legenda e para vídeos cuja faixa de legenda erra as palavras. A AnyAPI baixa o vídeo e processa o áudio com o MAI-Transcribe-2 em vez de ler qualquer coisa que o TikTok escreveu, e é por isso que lida com fala em outros idiomas além do inglês e ouve palavras que as legendas nativas entendem errado. A resposta também traz o ID do vídeo, a URL, o nome de usuário do criador e a imagem de capa. Ative hostVideo para também receber o MP4 em um link hospedado que toca sem depender da URL de CDN assinada e de curta duração do TikTok, que expira. Se você só quer o que o próprio TikTok publicou, e por um décimo do preço, use tiktok.video_transcript.
US$ 5,94/mil minutos de áudio, pague por requisição, sem assinatura.
@theodorekitchen
Okay so this is the three ingredient dinner that saved my week.
{"text": "Okay so this is the three ingredient dinner that saved my week.","startSeconds": 0,"endSeconds": 3.8,"language": "en","speaker": "speaker_1","words": object[]}
Preços
Preços do endpoint Transcrição de vídeo (versão completa) da API para TikTok
Teste
Obtenha Transcrição de vídeo (versão completa) do TikTok em uma só requisição
Este exemplo mostra 16 de 24 campos. Ver todos os campos
{
"found": true,
"data": {
"id": "7458219903341129744",
"url": "https://www.tiktok.com/@theodorekitchen/video/7458219903341129744",
"ownerUsername": "theodorekitchen",
"thumbnailUrl": "https://p16-sign-va.tiktokcdn.com/obj/tos-useast5-p-0068-tx/theodorekitchen-cover-7458219903341129744~tplv-obj.jpeg?x-signature=Xa4bDe6f",
"transcript": "Okay so this is the three ingredient dinner that saved my week. You just need butter, garlic, and a rotisserie chicken. Shred it up, melt the butter with the garlic until it smells amazing, toss it all together, and that is it. Fifteen minutes, done.",
"language": "en",
"source": "audio_asr",
"durationSeconds": 41.9,
"segments": [
{
"text": "Okay so this is the three ingredient dinner that saved my week.",
"startSeconds": 0,
"endSeconds": 3.8,
"language": "en",
"speaker": "speaker_1"
},
{
"text": "You just need butter, garlic, and a rotisserie chicken.",
"startSeconds": 3.9,
"endSeconds": 7.2,
"language": "en",
"speaker": "speaker_1"
},
{
"text": "Shred it up, melt the butter with the garlic until it smells amazing, toss it all together, and that is it.",
"startSeconds": 7.3,
"endSeconds": 13.6,
"language": "en",
"speaker": "speaker_1"
},
{
"text": "Fifteen minutes, done.",
"startSeconds": 13.7,
"endSeconds": 15.1,
"language": "en",
"speaker": "speaker_1"
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- urlstring
https://www.tiktok.com/@theodorekitchen/video/7458219903341129744
URL do vídeo do TikTok (ex.: "https://www.tiktok.com/@user/video/1234567890").
- hostVideoboolean
Também armazena o vídeo e retorna um link de MP4 hospedado que toca sem a URL de CDN assinada do TikTok. Cobrado como adicional, além da transcrição.
- wordTimestampsboolean
Retorna tempos por palavra dentro de cada segmento. As palavras trazem apenas tempos; o reconhecedor pontua uma frase, não uma palavra, então não há confiança por palavra para informar.
Resposta
JSON, um valor de exemplo por campo.
- bytesinteger
Size of the hosted MP4 in bytes.
- durationSecondsnumber
41.9
Video duration in seconds.
- expiresUtcnumber
When the hosted link stops working. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- hostedUrlstring
Hosted MP4 link, returned only when the request set hostVideo. It plays without TikTok's signed CDN URL and without any cookie, and it stops working at expiresUtc.
- idstring
7458219903341129744
TikTok video id.
- languagestring
en
Detected spoken language of the audio (BCP-47 style code, e.g. "en").
- ownerUsernamestring
theodorekitchen
Creator handle, without the leading @.
- source"audio_asr" | "no_audio" | "transcript_unavailable"
audio_asr
How the text was produced. "audio_asr" means the words come from speech recognition over the video's audio, never from a caption track TikTok published - for TikTok's own captions, use tiktok.video_transcript. "transcript_unavailable" means recognition did not complete for this video, so the transcript is empty for that reason rather than because the video has no speech in it; the rest of the record is still what we resolved, and no audio time is charged. "no_audio" means there was nothing to listen to: the video has no audio track, or the post has no video. The transcript is empty because that is the answer, the rest of the record is still what we resolved, and only the request price is charged, with no audio time. Populated whenever the provider has data for the entity.
- thumbnailUrlstring
https://p16-sign-va.tiktokcdn.com/obj/tos-useast5-p-0068-tx/theodorekitchen-cover-7458219903341129744~tplv-obj.jpeg?x-signature=Xa4bDe6f
Cover image for the video. A signed, short-lived TikTok CDN URL, often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support.
- transcriptstring
Okay so this is the three ingredient dinner that saved my week. You just need butter, garlic, and a rotisserie chicken. Shred it up, melt the butter with the garlic until it smells amazing, toss it all together, and that is it. Fifteen minutes, done.
Full spoken-word transcript, recognized from the video's audio track. Populated whenever the provider has data for the entity.
- urlstring
https://www.tiktok.com/@theodorekitchen/video/7458219903341129744
Canonical URL of the video this transcript came from.
Timed transcript segments in playback order, one per sentence, so a segment locates a specific line in the video rather than a whole speaker turn. Populated whenever the provider has data for the entity.
- endSecondsnumber
3.8
Segment end offset in seconds, taken from the last word it contains.
- languagestring
en
Detected language for this segment.
- speakerstring
speaker_1
Speaker label for this segment, stable within one response and meaningless across responses. Telling voices apart is a guess, not an identification, and the label is not a name.
- startSecondsnumber
0
Segment start offset in seconds, taken from the first word it contains.
- textstring
Okay so this is the three ingredient dinner that saved my week.
Text of this segment.
Per-word timings for this segment, returned only when the request set wordTimestamps. Words carry no confidence score: the recognizer scores a phrase rather than a word.
- endSecondsnumber
Word end offset in seconds.
- startSecondsnumber
Word start offset in seconds.
- textstring
The recognized word, in display form with its own punctuation.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Dúvidas frequentes
Sobre o endpoint Transcrição de vídeo (versão completa) da API para TikTok
O endpoint Transcrição de vídeo (versão completa) da AnyAPI para TikTok retorna dados de TikTok em JSON normalizado com uma chamada POST para /v1/run/tiktok.video_transcript_full. Transcreva o áudio falado de um vídeo do TikTok com o speech-to-text próprio da AnyAPI: segmentos com tempo por frase, rótulos de locutor, idioma detectado e tempos por palavra opcionais, para vídeos em que o TikTok não publica faixa de legenda e para vídeos cuja faixa de legenda erra as palavras. A AnyAPI baixa o vídeo e processa o áudio com o MAI-Transcribe-2 em vez de ler qualquer coisa que o TikTok escreveu, e é por isso que lida com fala em outros idiomas além do inglês e ouve palavras que as legendas nativas entendem errado. A resposta também traz o ID do vídeo, a URL, o nome de usuário do criador e a imagem de capa. Ative hostVideo para também receber o MP4 em um link hospedado que toca sem depender da URL de CDN assinada e de curta duração do TikTok, que expira. Se você só quer o que o próprio TikTok publicou, e por um décimo do preço, use tiktok.video_transcript. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa US$ 5,94 por mil minutos de áudio, e nunca mais de US$ 0,095 por requisição, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 98,8% das chamadas ao endpoint Transcrição de vídeo (versão completa) da API para TikTok feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 6,7 segundos, em 7.122 chamadas medidas.