Publish Media
AI-generatedSummary
Publish a video or photo post immediately or schedule it for future publication on a selected TikTok account via Nashir AI, supporting various post options such as privacy level, commenting, Duet, Stitch permissions, caption, brand content disclosures, and carousel images for photo posts.
Inputs
- Account (required) — Select the TikTok account to post to from your connected Nashir accounts.
- Media Binary Property (required) — Specify the name of the binary property containing the video or photo file to upload and publish.
- Caption — Provide the post caption; the first line becomes the title (max 100 characters for videos, 90 for photos).
- Privacy Level (required) — Set the visibility of the post: Public to Everyone, Friends Only, or Only Me.
- Allow Comments — Choose whether to allow viewers to comment on the post.
- Allow Duet — For video posts only, select whether to allow Duet interactions; ignored for photo posts.
- Allow Stitch — For video posts only, select whether to allow Stitch interactions; ignored for photo posts.
- Cover Frame (ms) — For video posts only, set the millisecond timestamp to select the thumbnail cover frame (default 2000 ms); ignored for photos.
- Content Disclosure — Indicate if this content promotes a brand, which reveals additional branded content options.
- Your Brand (Organic) — If content promotes your own brand or business; available only if Content Disclosure is enabled.
- Branded Content (Paid Partnership) — If content promotes another brand as a paid partnership; available only if Content Disclosure is enabled.
- Additional Carousel Image URLs — For photo posts only, provide a comma-separated list of public URLs for additional images in a carousel (up to 34 images).
Output shape
a list of JSON objects representing published or scheduled post details returned from the Nashir API
If scheduling, the post details reflect scheduled state; if publishing immediately, will attempt to poll until the post is published or a failure occurs, returning the final post status or error. Errors throw exceptions unless 'continue on fail' is enabled.
Examples
Example 1: Publishing a video immediately
Set Account, provide a binary property containing the video file, enter a caption, set privacy level and interaction options, and execute.
Example 2: Scheduling a photo post for later
Set Account, provide a binary property containing the photo file, enter a caption, set privacy level, optionally add carousel image URLs and brand disclosures, specify a future Scheduled At date/time, and execute.