使用 Boring 将视频和图片轮播发布到 TikTok。当用户说“发布到 TikTok”“上传 TikTok 视频”“创建 TikTok 帖子”“发布 Tik...”时使用。
Publish videos and photo carousels to TikTok. Powered by Boring.
Call boring_list_accounts and filter for tiktok platform.
TikTok supports:
TypeMediaSpecsVideo1 videoMP4 recommended, max 4GB, max 10 minutesPhoto Carousel2-35 imagesPNG auto-converts to JPEG
Upload files to get public URLs:
boring_upload_file with file_pathboring_upload_from_urlCall boring_publish_post:
Video post:
text
boring_publish_post(
account_id="<tiktok_account_id>",
platform="tiktok",
text="Caption for the video #fyp #trending",
media_urls=["https://...video.mp4"]
)
Photo carousel:
text
boring_publish_post(
account_id="<tiktok_account_id>",
platform="tiktok",
text="Swipe through these photos!",
media_urls=["https://...1.jpg", "https://...2.jpg", "https://...3.jpg"]
)
Use draft: true to send the video to the creator's TikTok inbox instead of publishing directly. The creator must manually publish it in the TikTok app.
text
boring_publish_post(
account_id="<tiktok_account_id>",
platform="tiktok",
text="Review this before posting",
media_urls=["https://...video.mp4"],
draft=true
)
This is useful when:
Show:
PUBLIC_TO_EVERYONE. Other options: MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLYvideo.upload, video.publishErrorSolutionMediaRequiredTikTok requires video or photosMediaTooLargeVideo max 4GBVideoProcessingFailedCheck video format — MP4 recommendedTokenExpiredReconnect at boring.aiagent-me.comPublishingFailedCheck TikTok account status and permissions
Full API docs: boring-doc.aiagent-me.com