Post a finished video to Instagram
publish_videoUse this when the owner asks to post a video made here to Instagram or YouTube right now, or to share it to their Instagram Story. Post a rendered video to the client's connected Instagram as a Reel. ONLY when they have asked for it — show them the video first and let them say yes. This goes out immediately and publicly, with no undo — to post it later instead, use schedule_video. Its answer carries credits.say (what making the video cost and what is left; posting is free): tell the person. platform "youtube" posts it to the connected YouTube channel as a Short instead (one video, not a carousel; the first line of the caption becomes the title) — call once per platform to post to both. A reel goes out with the cover designed for it (automatic) unless they choose another: their own image (cover_file, or cover_upload_id from its own 1-file upload) or a moment (cover_frame_seconds). A carousel has no cover (its first slide shows), and a cover cannot be changed once posted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_id": "<video_id>"
},
"name": "publish_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | YouTube only: the title. Default: the first line of the caption. | |
| trial | No | Post it to Instagram as a TRIAL REEL: shown to people who do not follow the account first; it reaches their followers only when the client opens it in the Instagram app and taps "Share with everyone". One video only — never a photo or a carousel. Use it ONLY when the client asks for a trial reel. | |
| client | No | Client website slug (or id). Required for platform-scoped keys. | |
| caption | No | The post caption. Up to 2200 characters. | |
| platform | No | Default instagram. | |
| video_id | Yes | The video id, from list_recordings or start_recording_upload. | |
| placement | No | Where on Instagram. Default "feed": a post on the profile. "story": an Instagram Story for 24 hours instead — no caption, no cover and no trial (they are not sent), one Story per file or per carousel slide, a video 3 to 60 seconds. Use "story" ONLY when the client asks for a Story. | |
| auto_share | No | Only with trial: true. Instagram shares the trial reel with the account's followers by itself if it does well; Instagram decides what counts as doing well, so it may not happen. It is set when the reel goes out and cannot be added afterwards, and nothing here can share a reel that is already posted: for that the client taps "Share with everyone" on it in the Instagram app. Use it ONLY when the client asks for it. | |
| cover_file | No | A reel only: the cover image from this chat (one JPEG or PNG, up to 8MB). Use this OR cover_upload_id OR cover_frame_seconds. | |
| post_again | No | ONLY when the client says they want a second copy of something that already went out. Without it, the same video within the hour reports the first post instead of posting. | |
| cover_upload_id | No | A reel only: the owner's own cover image — the upload_id of a separate start_file_upload with count 1 (one JPEG or PNG, up to 8MB; 1080x1920 is best, and words kept to the middle). Use this OR cover_file OR cover_frame_seconds. | |
| cover_frame_seconds | No | A reel only: a moment of the video, in seconds from the start (decimals allowed), to be its cover. Use this OR cover_upload_id OR cover_file. | |
| resume_container_id | No | ONLY from a previous still_processing result. Finishes the upload already in flight on Instagram instead of starting a second one. Omit it on a first attempt; passing a stale id from an older video posts the wrong thing. |