Create Post From Video
create_post_from_videoCreate posts from a video the user provides. Pass EXACTLY ONE of mediaId (from finalize_media_upload or import_media_from_url — preferred for files you uploaded) or videoUrl (a public link). Supply caption to use the creator's words exactly as written, never rewritten; otherwise AI writes captions based on topic. keepOriginal uses the media exactly as uploaded, with no crop or design. Runs asynchronously — the user is notified when posts are ready. Posts are always saved as DRAFTS: nothing is published or scheduled. To go live, call schedule_post or publish_post once the user confirms. Output: { success, taskId, groupId, count, finalStatus: 'draft', videoUrl, posts: [{ id, status: 'generating', index }] } — poll get_task_status with taskId.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_post_from_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of caption variants/posts to generate (default 1; only more when the user asks for more) | |
| topic | No | What the video/post is about (required unless caption is supplied) | |
| caption | No | Creator's caption, used exactly as written, never rewritten. No AI variants; forces one post. | |
| mediaId | No | mediaId of a video stored with finalize_media_upload or import_media_from_url. Omit when you pass videoUrl. | |
| videoUrl | No | Public HTTP/HTTPS URL of the video. Omit when you pass mediaId. | |
| keepOriginal | No | Use the media exactly as uploaded: no crop, design, re-upload or transcoding. Defaults to true with caption or when AI images are disallowed. |