Get a gallery
get_galleryFetches gallery title, tags, and a window of image URLs for a given source and path. Returns metadata and image links without downloading files, including AI-content flag.
Instructions
Fetch title, tags, and a window of image URLs for one gallery.
path is ListingItem.path / SearchHit.path, a relative path, or a full post URL. Does not download image files. AI galleries are returned with is_ai=true. If the user gave a full URL and you do not know the source, call open_url instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ListingItem.path, SearchHit.path, a relative path, or a full post URL. | |
| limit | No | Max image URLs to return. 0 returns metadata only. Default 20. | |
| offset | No | Image window start. | |
| source | Yes | Source id from list_sources. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| path | Yes | ||
| tags | No | ||
| is_ai | No | ||
| title | Yes | ||
| source | Yes | ||
| has_video | No | ||
| image_urls | Yes | Direct image URLs for this window. Do not download binaries. | |
| image_count | No | Total images if known. Null when the source was not fully scanned. | |
| image_offset | No | ||
| published_at | No | ||
| download_urls | No | Offsite zip/cloud links from the post, if any. Not video streams. | |
| thumbnail_url | No | ||
| has_more_images | No |