Object
MediaText object
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 | Type | From view | Description |
|---|---|---|---|
post_id | string | compact | The post or video ID asked for. |
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. · may be cut in compact |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | All blocks joined with new lines. · may be cut in compact |
ext | object | full | Platform-specific extras. Only returned with view=full. · only with view=full |
TextBlock
| Field | Type | Description |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | The image read; null for video frames. |
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 | The words read, lines kept. |
Endpoints that return a MediaText
- RedNote image note textxiaohongshu.notes.text.getMediaText$0.048/call
- RedNote video on-screen textxiaohongshu.videos.screen_text.getMediaText$0.052/call
- Douyin image post textcoming soondouyin.notes.text.getMediaText$0.007/call
- Douyin video on-screen textdouyin.videos.screen_text.getMediaText$0.011/call