Back to Autogpt

Ayrshare Post To YouTube

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

0.6.443.0 KB
Original Source

Ayrshare Post To YouTube

<!-- MANUAL: file_description -->

Blocks for uploading videos to YouTube using the Ayrshare social media management API.

<!-- END MANUAL -->

Post To YouTube

What it is

Post to YouTube using Ayrshare

How it works

<!-- MANUAL: how_it_works -->

Add technical explanation here.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
postVideo description (max 5,000 chars, empty string allowed). Cannot contain < or > characters.strYes
media_urlsRequired video URL. YouTube only supports 1 video per post.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_commentsWhether to disable commentsboolNo
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
titleVideo title (max 100 chars, required). Cannot contain < or > characters.strYes
visibilityVideo visibility: 'private' (default), 'public' , or 'unlisted'"private" | "public" | "unlisted"No
thumbnailThumbnail URL (JPEG/PNG under 2MB, must end in .png/.jpg/.jpeg). Requires phone verification.strNo
playlist_idPlaylist ID to add video (user must own playlist)strNo
tagsVideo tags (min 2 chars each, max 500 chars total)List[str]No
made_for_kidsSelf-declared kids contentboolNo
is_shortsPost as YouTube Short (max 3 minutes, adds #shorts)boolNo
notify_subscribersSend notification to subscribersboolNo
category_idVideo category ID (e.g., 24 = Entertainment)intNo
contains_synthetic_mediaDisclose realistic AI/synthetic contentboolNo
publish_atUTC publish time (YouTube controlled, format: 2022-10-08T21:18:36Z)strNo
targeting_block_countriesCountry codes to block from viewing (e.g., ['US', 'CA'])List[str]No
targeting_allow_countriesCountry codes to allow viewing (e.g., ['GB', 'AU'])List[str]No
subtitle_urlURL to SRT or SBV subtitle file (must be HTTPS and end in .srt/.sbv, under 100MB)strNo
subtitle_languageLanguage code for subtitles (default: 'en')strNo
subtitle_nameName of caption track (max 150 chars, default: 'English')strNo

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 -->

Add practical use case examples here.

<!-- END MANUAL -->