Objeto
Objeto MediaText
Words read off a post's pictures: each image of an image post, or the text shown on screen in a video, with times. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Campo | Tipo | Da view | Descrição |
|---|---|---|---|
post_id | string | compact | O ID do post ou vídeo solicitado. |
source | string | compact | images: an image post, one block per image with text. frames: a video, one block per stretch of frames showing the same words. |
title | string | null | compact | The post's own title, as the platform gives it. |
description | string | null | standard | The post's own caption, as the platform gives it. · pode ser cortado em compact |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | Todos os blocos unidos por quebras de linha. · pode ser cortado em compact |
ext | objeto | completo | Extras específicos da plataforma. Retornados apenas com view=full. · apenas com view=full |
TextBlock
| Campo | Tipo | Descrição |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | A imagem lida; null para frames de vídeo. |
start | number | null | Seconds into the video where the words appear; null for images. |
end | number | null | Seconds into the video where the words were last seen; null for images. |
text | string | As palavras lidas, mantendo as linhas. |
Endpoints que retornam MediaText
- Texto de notas com imagem do RedNotexiaohongshu.notes.text.getMediaText$0.048/call
- Texto na tela de vídeos do RedNotexiaohongshu.videos.screen_text.getMediaText$0.052/call
- Texto de post de imagem do Douyinem brevedouyin.notes.text.getMediaText$0.007/call
- Texto na tela de vídeo do Douyindouyin.videos.screen_text.getMediaText$0.011/call