Yoink’s gallery feature uses gallery-dl to download image collections from a wide range of platforms. A single image is returned directly; multiple images are packed into a ZIP archive. For TikTok photo carousels that include a backing audio track, Yoink can render the images into an MP4 slideshow with smooth crossfade transitions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/coah80/yoink/llms.txt
Use this file to discover all available pages before exploring further.
The gallery feature requires
gallery-dl to be installed on the server. Check availability before displaying the gallery UI to users.Checking availability
Before making any gallery requests, confirm that gallery-dl is present on the server:available is false, gallery downloads are not supported on this instance.
Fetching gallery metadata
Preview the contents of a gallery URL before downloading. The metadata endpoint returns up to 10 preview images, a total image count, a title, and the source site — all within a 30-second timeout:isTikTokCarousel and hasAudio to decide whether to offer the slideshow download option.
Downloading a gallery
| Parameter | Description |
|---|---|
url | Gallery URL to download |
progressId | Optional — correlate with SSE progress stream |
clientId | Optional — per-client concurrency tracking |
filename | Optional — override the output filename (without extension) |
- Single image — the image file is returned directly with the appropriate MIME type (
image/jpeg,image/png,image/webp, etc.) - Multiple images — a ZIP archive containing all downloaded files, named after the gallery hostname if no title is available
TikTok carousel slideshows
When a TikTok post contains multiple images and a backing audio track, use the slideshow endpoint instead to receive a single MP4 video:Download images and audio
gallery-dl downloads all images and the audio track from the TikTok carousel into a temporary directory.
Analyse dimensions and duration
ffprobe reads the audio duration and the dimensions of the first image. If the image is taller than it is wide, a 1080×1920 (portrait) canvas is used; otherwise 1920×1080 (landscape).
Render the slideshow
ffmpeg builds a filter graph that:
- Scales each image to fit the canvas with black letterboxing
- Applies
xfade=transition=fadewith a 0.5-second crossfade between each slide - Distributes slide timing evenly across the audio duration
- Mixes the original audio track at 192 kbps AAC
fast preset.Supported platforms
gallery-dl supports a large number of platforms beyond TikTok. Some notable examples:Pixiv
Artwork, manga, and illustration galleries with series support.
Flickr
Public photo albums and photostreams.
Twitter / X
Tweet image attachments and media timelines.
Posts, reels, and story highlights.
DeviantArt
Galleries and individual deviation pages.
And many more
Danbooru, Gelbooru, ArtStation, Tumblr, Reddit, and hundreds of others.
Authentication with cookies
If your server has a cookies file configured, Yoink automatically passes it to gallery-dl via the--cookies flag. This allows downloading from platforms that require a logged-in session (such as private Pixiv content or Twitter/X with age-restricted media).
Progress tracking
Gallery downloads emit SSE progress events on the standard progress stream. Events report how many images have been downloaded so far:processing event while ffmpeg is running.