AI 向け

オブジェクト

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.

フィールド種類view から説明
post_idstringcompactリクエストした投稿または動画の ID。
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. · compact では省略される場合あり
blocksTextBlock[]standardText read, image by image or by time; images and frames without text are left out.
textstringcompactすべてのブロックを改行で連結したもの。 · compact では省略される場合あり
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

TextBlock

フィールド種類説明
indexinteger | nullWhich image, from 0, in the post's order; null for video frames.
image_urlstring | null読み取った画像。動画フレームの場合は null。
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.
textstring読み取ったテキスト(改行を保持)。

MediaText を返すエンドポイント

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp