Objek
Objek 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.
| Field | Jenis | Dari view | Deskripsi |
|---|---|---|---|
post_id | string | compact | ID postingan atau video yang diminta. |
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. · mungkin dipotong di compact |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | Semua blok digabung dengan baris baru. · mungkin dipotong di compact |
ext | objek | lengkap | Data tambahan khusus platform. Hanya dikembalikan dengan view=full. · hanya dengan view=full |
TextBlock
| Field | Jenis | Deskripsi |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | Gambar yang dibaca; null untuk frame 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 | Kata-kata yang terbaca, baris dipertahankan. |
Endpoint yang mengembalikan MediaText
- Teks catatan gambar RedNotexiaohongshu.notes.text.getMediaText$0.048/call
- Teks di layar video RedNotexiaohongshu.videos.screen_text.getMediaText$0.052/call
- Teks postingan gambar Douyinsegera hadirdouyin.notes.text.getMediaText$0.007/call
- Teks di layar video Douyindouyin.videos.screen_text.getMediaText$0.011/call