publish_to_tiktok
Publish completed videos or slideshows to TikTok with custom captions, visibility, and interaction controls. Set all posting options directly in one call.
Instructions
Publish a completed video to TikTok with all settings provided directly (no automation needed).
Note: TikTok limits 6 publishes per 24 hours. Use MEDIA_UPLOAD (draft) to avoid this.
Args: video_id: The video to publish (must be completed). tiktok_account_id: Target TikTok account. upload_type: "slides" (photo post, default) or "video" (.mp4). caption: Post title/caption (max 89 chars for slideshows). description: Description/hashtags (max 4000 chars). post_mode: "DIRECT_POST" (default) or "MEDIA_UPLOAD" (draft). visibility: "PUBLIC_TO_EVERYONE", "SELF_ONLY", "MUTUAL_FOLLOW_FRIENDS", "FOLLOWER_OF_CREATOR". allow_comments: Allow comments (default true). allow_duet: Allow duets (default true). allow_stitch: Allow stitches (default true). auto_music: Let TikTok add trending music (default true, slideshows only). disclose_video_content: Disclose video content. disclose_brand_organic: Disclose brand organic. disclose_branded_content: Disclose branded content. slideshow_image_urls: Override slideshow images with custom URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| video_id | Yes | ||
| post_mode | No | ||
| allow_duet | No | ||
| auto_music | No | ||
| visibility | No | ||
| description | No | ||
| upload_type | No | ||
| allow_stitch | No | ||
| allow_comments | No | ||
| tiktok_account_id | Yes | ||
| slideshow_image_urls | No | ||
| disclose_brand_organic | No | ||
| disclose_video_content | No | ||
| disclose_branded_content | No |