Dành cho AI

Đối tượng

Đối tượng 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.

TrườngLoạiTheo viewMô tả
post_idstringcompactID bài đăng hoặc video được yêu cầu.
sourcestringcompactimages: an image post, one block per image with text. frames: a video, one block per stretch of frames showing the same words.
titlestring | nullcompactThe post's own title, as the platform gives it.
descriptionstring | nullstandardThe post's own caption, as the platform gives it. · có thể bị cắt bớt ở chế độ compact
blocksTextBlock[]standardText read, image by image or by time; images and frames without text are left out.
textstringcompactTất cả khối, nối bằng dòng mới. · có thể bị cắt bớt ở chế độ compact
extobjectfullDữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. · chỉ khi view=full

TextBlock

TrườngLoạiMô tả
indexinteger | nullWhich image, from 0, in the post's order; null for video frames.
image_urlstring | nullẢnh đã đọc; null với khung hình video.
startnumber | nullSeconds into the video where the words appear; null for images.
endnumber | nullSeconds into the video where the words were last seen; null for images.
textstringPhần chữ đã đọc, giữ nguyên xuống dòng.

Các endpoint trả về MediaText

Kết nối một lần, sau đó chỉ cần hỏi.

Mỗi khóa mới đi kèm $0.20 để dùng thử. Một câu là kết nối được agent của bạn.

Bắt đầu miễn phí
Kết nối AI của bạn

Dán câu này vào agent của bạn

Đọc https://okdata.online/agents.md và thiết lập okdata cho tôi; khóa của tôi nằm trong biến môi trường OKDATA_API_KEY.

Claude Code, Cursor, Codex và các agent khác có thể mở liên kết sẽ tự thiết lập từ đó.

MCP serverhttps://api.okdata.online/mcp