Apify Store
AS
Apify Store
/streamers/youtube-video-downloader

YouTube Video Downloader

Use YouTube Video Downloader to download YouTube videos in MP4, MP3, avi, and other formats directly to your cloud storage service. Just add a YouTube video URL and get the converted video in a few se

liveverifiedasyncdegraded · 168.3s~30s typical
videossocial mediayoutubevideodownloader
$0.0075
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.006 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /streamers/youtube-video-downloader for me.

Input

FieldTypeDescription
videos*arrayA list of video urls
storeInKVStorebooleanInstead of a cloud storage, you can download the videos to Apify Storage. **IMPORTANT**: The storage is owned by Apify and the videos in it will be deleted after ~3 days. Links to videos are pushed to the dataset.
preferredQualitystring (144p | 240p | 360p | 480p | 720p | 1080p)Optional quality, may require more time to process if > 720p default "720p"
preferredFormatstring (avi | flv | mkv | mov | mp4 | webm)Optional format, may require more time to process. For now only video formats are supported, but audio-only formats will be added in the future
filenameTemplatePartsarraySpecifies what video info to include in the filename. Each part will be separated by an underscore. Video ID is always included at the start, and if the title of the video is too long, the whole filename will be truncated to 252 characters. When downloading to Apify's Key-Value Store, will transliterate the filename to ASCII characters, if needed. default ["title"]
s3AccessKeyIdstringAccess key ID for the S3 bucket
s3SecretAccessKeystringSecret access key for the S3 bucket
s3BucketstringName of the S3 bucket. Must be created by you.
s3RegionstringRegion of the S3 bucket. E.g. 'us-west-1'
azureConnectionStringstringConnection string for the Azure Blob Storage
azureContainerNamestringName of the Azure container. Will be auto-created if doesn't exist
googleCloudServiceKeystringService account's key JSON object for the Google Cloud Storage
googleCloudBucketNamestringName of the Google Cloud bucket. Must be created by you
transcriptionAndSubtitlestring (always-transcribe)Transcribe the downloaded video/audio using speech-to-text AI.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"apify","endpoint":"/streamers/youtube-video-downloader","input":{"videos":[{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"preferredQuality":"720p","preferredFormat":"mp4","filenameTemplateParts":["title"],"s3Bucket":"my-video-bucket","s3Region":"us-west-1","azureContainerName":"my-video-container","googleCloudBucketName":"my-video-bucket"},"wait":false}'
poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."
cli
npx cracked-ai run -p apify -e /streamers/youtube-video-downloader -i '{"videos":[{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"preferredQuality":"720p","preferredFormat":"mp4","filenameTemplateParts":["title"],"s3Bucket":"my-video-bucket","s3Region":"us-west-1","azureContainerName":"my-video-container","googleCloudBucketName":"my-video-bucket"}' -w 120
mcp
run_tool({ provider: "apify", endpoint: "/streamers/youtube-video-downloader", input: {"videos":[{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}],"preferredQuality":"720p","preferredFormat":"mp4","filenameTemplateParts":["title"],"s3Bucket":"my-video-bucket","s3Region":"us-west-1","azureContainerName":"my-video-container","googleCloudBucketName":"my-video-bucket"}, wait: false })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.