Back to Autogpt

Ayrshare Post To TikTok

docs/integrations/block-integrations/ayrshare/post_to_tiktok.md

0.6.444.0 KB
Original Source

Ayrshare Post To TikTok

<!-- MANUAL: file_description -->

Blocks for posting videos and image slideshows to TikTok using the Ayrshare social media management API.

<!-- END MANUAL -->

Post To Tik Tok

What it is

Post to TikTok using Ayrshare

How it works

<!-- MANUAL: how_it_works -->

This block uses Ayrshare's API to publish content to TikTok. It supports video posts and image slideshows (up to 35 images), with extensive options for content labeling including AI-generated disclosure, branded content, and brand organic content tags.

The block connects to TikTok's API through Ayrshare with controls for visibility, duet/stitch permissions, comment settings, auto-music, and thumbnail selection. Videos can be posted as drafts for final review, and scheduled for future publishing.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
postThe post text (max 2,200 chars, empty string allowed). Use @handle to mention users. Line breaks will be ignored.strYes
media_urlsRequired media URLs. Either 1 video OR up to 35 images (JPG/JPEG/WEBP only). Cannot mix video and images.List[str]No
is_videoWhether the media is a videoboolNo
schedule_dateUTC datetime for scheduling (YYYY-MM-DDThh:mm:ssZ)str (date-time)No
disable_commentsDisable comments on the published postboolNo
shorten_linksWhether to shorten linksboolNo
unsplashUnsplash image configurationstrNo
requires_approvalWhether to enable approval workflowboolNo
random_postWhether to generate random post textboolNo
random_media_urlWhether to generate random mediaboolNo
notesAdditional notes for the poststrNo
auto_add_musicWhether to automatically add recommended music to the post. If you set this field to true, you can change the music later in the TikTok app.boolNo
disable_duetDisable duets on published video (video only)boolNo
disable_stitchDisable stitch on published video (video only)boolNo
is_ai_generatedIf you enable the toggle, your video will be labeled as “Creator labeled as AI-generated” once posted and can’t be changed. The “Creator labeled as AI-generated” label indicates that the content was completely AI-generated or significantly edited with AI.boolNo
is_branded_contentWhether to enable the Branded Content toggle. If this field is set to true, the video will be labeled as Branded Content, indicating you are in a paid partnership with a brand. A “Paid partnership” label will be attached to the video.boolNo
is_brand_organicWhether to enable the Brand Organic Content toggle. If this field is set to true, the video will be labeled as Brand Organic Content, indicating you are promoting yourself or your own business. A “Promotional content” label will be attached to the video.boolNo
image_cover_indexIndex of image to use as cover (0-based, image posts only)intNo
titleTitle for image postsstrNo
thumbnail_offsetVideo thumbnail frame offset in milliseconds (video only)intNo
visibilityPost visibility: 'public', 'private', 'followers', or 'friends'"public" | "private" | "followers"No
draftCreate as draft post (video only)boolNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
post_resultThe result of the postPostResponse
postThe result of the postPostIds

Possible use case

<!-- MANUAL: use_case -->

Creator Content Pipeline: Automate video uploads with proper AI disclosure labels and visibility settings for content creators.

Brand Campaigns: Publish branded content with proper disclosure labels to maintain FTC compliance and platform guidelines.

Image Slideshow Posts: Create TikTok slideshows from product images or photo series with automatic cover selection.

<!-- END MANUAL -->