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 | Desde view | Descripción |
|---|---|---|---|
post_id | string | compact | El ID de la publicación o del video 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. · puede recortarse en compact |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | Todos los bloques unidos con saltos de línea. · puede recortarse en compact |
ext | objeto | completo | Datos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full |
TextBlock
| Campo | Tipo | Descripción |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | La imagen leída; null para fotogramas de video. |
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 | Las palabras leídas, con los saltos de línea. |
Endpoints que devuelven un MediaText
- Texto de notas con imágenes de RedNotexiaohongshu.notes.text.getMediaText$0.048/call
- Texto en pantalla de videos de RedNotexiaohongshu.videos.screen_text.getMediaText$0.052/call
- Texto de publicaciones de imagen de Douyinpróximamentedouyin.notes.text.getMediaText$0.007/call
- Texto en pantalla de vídeos de Douyindouyin.videos.screen_text.getMediaText$0.011/call