Objekt
MediaText-Objekt
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.
| Feld | Art | Aus view | Beschreibung |
|---|---|---|---|
post_id | string | compact | Die angefragte Beitrags- oder Video-ID. |
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. · kann in compact gekürzt sein |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | Alle Blöcke, durch Zeilenumbrüche verbunden. · kann in compact gekürzt sein |
ext | Objekt | vollständig | Plattformspezifische Zusatzfelder. Nur mit view=full. · nur mit view=full |
TextBlock
| Feld | Art | Beschreibung |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | Das gelesene Bild; null bei Videoframes. |
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 | Der erkannte Text, Zeilenumbrüche erhalten. |
Endpunkte, die ein MediaText-Objekt liefern
- RedNote: Text von Bild-Notesxiaohongshu.notes.text.getMediaText$0.048/call
- RedNote: Bildschirmtext in Videosxiaohongshu.videos.screen_text.getMediaText$0.052/call
- Douyin-Bildbeitragstextdemnächstdouyin.notes.text.getMediaText$0.007/call
- Douyin-Video: Bildschirmtextdouyin.videos.screen_text.getMediaText$0.011/call