Social media5 min readBy Purrkey teamUpdated

How to extract TikTok photo-mode images by URL

Pull the images from a TikTok photo-mode post by URL, in slide order, with pixel dimensions and clean or watermarked variants

On this page

You have five TikTok photo-mode posts from a campaign and need to compare their slide sequences before deciding which clean images go into a mood board and whether watermarked variants work for a recap. The deliverable is one table row per image, with post id, caption, author handle, slide order, clean image URL, watermarked image URL, width and height. No run has been executed for this article. Values here are placeholders showing the shape

Example input and table design

Example URL: https://www.tiktok.com/@examplecreator/video/7481234567890123456. The handle and post id are invented. Replace them with a real TikTok share link. TikTok serves slideshow posts under the same video URL path as videos, so the normal share link works

The table has one row per image. The slide order column comes from the order of the array in data.images

Post idCaptionAuthor handleSlide orderClean image URLWatermarked image URLWidthHeight
7481234567890123456Example captionauthorHandle1(clean URL)(watermarked URL)10801920

The width and height above are placeholders, not values from a run. The clean and watermarked cells hold the signed URLs from the response

Input: URL and optional field requirement

The contract lists url as required. It is the full TikTok photo-mode post URL copied from the share link. The same video URL path carries slideshow posts and videos, so a normal share link is the input

requireFields is optional. Name authorFollowers in it when the table must include follower count and the request should be served by a source that returns that field. Omit it for cheapest routing. Naming a field can raise the price: when the cheapest source cannot return the named field, a dearer source serves and you are quoted and charged its price. A named field can still be absent on a post that lacks it. A combination that no single source returns together is refused as invalid input, with no charge

Read the output fields that drive the decision

Check found before reading images. found: false means the post carries no photo-mode images, and reason: not_found is present when the source states the post does not exist or returned nothing for it. That answer is a successful call, not an error. The tool cannot return images for a plain video. A deleted or private post also returns found: false

When found is true, data.images holds the images in the order the creator arranged them. Each item has image, watermarkedImage, width and height. data.id, data.caption and data.authorHandle fill the first three table columns. For the mood board, use the image URL because it is the clean version without TikTok's watermark or the creator's handle. Fetch it promptly: the URL is signed and short-lived, and the query string is the signature, so keep it intact. For the recap, use watermarkedImage when a watermarked variant is acceptable

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to extract images from five TikTok photo-mode posts. Check the current inputs and price of anyapi.tiktok.photos before running. Call it once per URL below. Omit requireFields for cheapest routing. Return one table row per image with post id, caption, author handle, slide order, clean image URL, watermarked image URL, image width and image height. If a call returns found: false, return one row for that post with found: false and reason. Do not guess image URLs.

The five URLs below are examples. Replace them with the campaign posts.
https://www.tiktok.com/@examplecreator/video/7481234567890123456
https://www.tiktok.com/@examplecreator/video/7481234567890123457
https://www.tiktok.com/@examplecreator/video/7481234567890123458
https://www.tiktok.com/@examplecreator/video/7481234567890123459
https://www.tiktok.com/@examplecreator/video/7481234567890123460

The prompt keeps the routing cheap by omitting requireFields. Add authorFollowers only if the follower count changes your reuse decision, and check the quoted price when you do

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. anyapi.tiktok.photos is listed at max_call, up to $0.0012 per call (unitPriceMicros 1200), price revision anyapi-catalog-2026-11-05; the Agents call it through POST /v1/runs with toolId anyapi.tiktok.photos. max_call means "Maximum per call. Successful runs settle at the actual AnyAPI charge". The table is a ceiling plan, not a settled charge

StepFormulaUnit pricePlanned quantityTotal
Single post extractioncalls x max price$0.0012 per call1$0.0012
20-post batchcalls x max price$0.0012 per call20$0.024

Agent model fees are not counted. A five-post first run is five calls, at most $0.006

For a related workflow on TikTok creator research, read the creator research guide

Next action

Open the TikTok Photos tool page to check the current input and price before you run the five campaign posts

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok.
Explore TikTok tools and pricing

FAQ

How do I get images from a TikTok photo-mode post by URL?

Call anyapi.tiktok.photos with the full post url. It returns found and data.images, with each image in slide order plus width, height, clean image URL and watermarked image URL.

What input does anyapi.tiktok.photos take?

url is required and is the full TikTok photo-mode post URL. requireFields is optional and can name authorFollowers to require a source that returns follower count.

What happens when a TikTok post is a plain video instead of a photo-mode post?

The call returns found: false with reason: not_found and no images. That is a successful call, not an error.

What do image and watermarkedImage mean in the output?

image is the clean image without TikTok's watermark or the creator's handle. watermarkedImage is the same image with TikTok's watermark and the creator's handle.

Are the image URLs permanent?

No. The image and watermarkedImage URLs are signed and short-lived, and the query string is the signature. Fetch them promptly and keep the query params intact.

Does requiring authorFollowers change the price?

It can. When the cheapest source cannot return authorFollowers, a dearer source serves and you are quoted and charged its price. Omit requireFields for cheapest routing.

How much does it cost to extract images from 20 posts?

At the listed ceiling of $0.0012 per call, 20 calls are at most $0.024. Successful runs settle at the actual AnyAPI charge, so the total is a ceiling.

Next step

Try this with TikTok

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See TikTok tools

Share this article