publish_now
Publish local videos and images instantly to TikTok, Instagram, and YouTube. Create carousels from image folders or target specific accounts with connection IDs.
Instructions
Upload local file(s) and publish immediately to TikTok, Instagram, and/or YouTube. Pass a folder path to publish all images in it as a carousel. Use account_ids (from list_connections) to target a specific account when you have multiple accounts on the same platform.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Local file path(s) or a folder path. Single video → video post. Multiple images or image folder → carousel. | |
| caption | Yes | Post caption. | |
| hashtags | No | Hashtags without # prefix. | |
| platforms | No | Platforms to publish to (uses the first connected account per platform). Omit when using account_ids. | |
| account_ids | No | Specific connection IDs to publish to. Use list_connections to get IDs. Required when you have multiple accounts on the same platform and want to target a specific one. Takes precedence over 'platforms' when both are provided. |