[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [TikTok ad keyframe analysis](https://spiral.ai/integrations/windsurf/tiktok-ad-keyframe-analysis)

# How to Use TikTok ad keyframe analysis in Windsurf

Returns video timestamps, retention rates, drop-off points, and moments of high viewer interest. Use it to pinpoint scenes worth reviewing before changing an ad's opening or sequence.

|  |  |
| --- | --- |
| Model | TikTok ad keyframe analysis |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok ad keyframe analysis in Windsurf

- Use TikTok ad keyframe analysis for Creative Center ad 7213258221116751874 and add its retention percentages, drop-off points, and interest peaks to our creative review table.
- Use TikTok ad keyframe analysis to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok ad keyframe analysis and tell me what changed since last week.
- Check TikTok ad keyframe analysis and summarize what you find in three bullet points.
- Pull the newest data from TikTok ad keyframe analysis and give me the result as a table.

## How to set up TikTok ad keyframe analysis in Windsurf

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok ad keyframe analysis**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "tikhub",
    "model": "tikhub/tiktok-ads-get-ad-keyframe-analysis",
    "input": {
      "material_id": "<material_id>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds TikTok ad keyframe analysis on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## TikTok ad keyframe analysis tools and prices

- [TikTok Ads · Get ad keyframe analysis](https://spiral.ai/tools/tikhub/tikhub/tiktok-ads-get-ad-keyframe-analysis) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cookie |  | — |  |
| metric |  | retain_ctr | Analysis metric (retain_ctr, retain_cvr, click_cnt, convert_cnt, play_retain_cnt) |

## What can you do with TikTok ad keyframe analysis in Windsurf?

Build a creative review panel that puts TikTok references beside retention findings and industry comparisons. A coding agent can turn returned data into project tables and charts while preserving the distinction between ads, ranked videos, and creator cards.

### Prepare a seasonal campaign brief

Expand product vocabulary with search suggestions, collect featured and similar ads, and inspect their offers and performance. Add ranked video examples and creator context, then use retention timelines, keyframes, and percentiles to explain which references deserve an editor's attention.

### Review competitors' creative references

Use search phrases, featured cases, and similar ads to build a review shortlist. Examine brand offers, peer comparisons, and attention patterns, then compare those references with ranked videos, top comments, and public creator performance.

### Build an editor's reference library

Organize ad examples by offer and industry, supported by suggested search phrases and related creatives. Include engagement timelines, keyframe findings, and percentile comparisons alongside ranked videos, audience reactions, and creator context.

### Compare paid creative with trending content

Study ranked videos, comments, and creator performance alongside featured and recommended ads. Use search suggestions to broaden the subject, ad details to identify offers, and performance analyses to choose questions for the next creative test.

### Review an ad before planning a recut

Pair the ad's creative and offer with its engagement timeline and keyframe findings. Use industry percentiles to place the example in context before proposing scenes to shorten or reorder.

### Prepare a creative review meeting

Bring featured ad cases, industry comparisons, and specific retention moments into the discussion. Separate observations about the returned performance data from proposed explanations that the team still needs to test.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## TikTok ad keyframe analysis in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-ad-keyframe-analysis)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-ad-keyframe-analysis)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-ad-keyframe-analysis)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-ad-keyframe-analysis)
- [Cline](https://spiral.ai/integrations/cline/tiktok-ad-keyframe-analysis)
- [Codex](https://spiral.ai/integrations/codex/tiktok-ad-keyframe-analysis)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-ad-keyframe-analysis)
- [Devin](https://spiral.ai/integrations/devin/tiktok-ad-keyframe-analysis)
- [dots](https://spiral.ai/integrations/dots/tiktok-ad-keyframe-analysis)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-ad-keyframe-analysis)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-ad-keyframe-analysis)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-ad-keyframe-analysis)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-ad-keyframe-analysis)
- [goose](https://spiral.ai/integrations/goose/tiktok-ad-keyframe-analysis)
- [Grok](https://spiral.ai/integrations/grok/tiktok-ad-keyframe-analysis)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-ad-keyframe-analysis)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-ad-keyframe-analysis)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-ad-keyframe-analysis)
- [Manus](https://spiral.ai/integrations/manus/tiktok-ad-keyframe-analysis)
- [Muse](https://spiral.ai/integrations/muse/tiktok-ad-keyframe-analysis)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-ad-keyframe-analysis)
- [n8n](https://spiral.ai/integrations/n8n/tiktok-ad-keyframe-analysis)
- [Notion](https://spiral.ai/integrations/notion/tiktok-ad-keyframe-analysis)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-ad-keyframe-analysis)
- [opencode](https://spiral.ai/integrations/opencode/tiktok-ad-keyframe-analysis)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiktok-ad-keyframe-analysis)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-ad-keyframe-analysis)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-ad-keyframe-analysis)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-ad-keyframe-analysis)

## More Windsurf guides

- [TikTok ad engagement timeline](https://spiral.ai/integrations/windsurf/tiktok-ad-engagement-timeline)
- [TikTok ad performance percentiles](https://spiral.ai/integrations/windsurf/tiktok-ad-performance-percentiles)
- [TikTok ad details](https://spiral.ai/integrations/windsurf/tiktok-ad-details)
- [TikTok ad search](https://spiral.ai/integrations/windsurf/tiktok-ad-search)
- [TikTok account videos](https://spiral.ai/integrations/windsurf/tiktok-account-videos)
- [TikTok ad search suggestions](https://spiral.ai/integrations/windsurf/tiktok-ad-search-suggestions)

## Questions about TikTok ad keyframe analysis in Windsurf

**Can Windsurf use TikTok ad keyframe analysis?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run TikTok ad keyframe analysis like any built-in tool.

**How much does TikTok ad keyframe analysis cost in Windsurf?**

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need a TikHub account to use TikTok ad keyframe analysis in Windsurf?**

No. Spiral runs TikTok ad keyframe analysis on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok ad keyframe analysis in Windsurf?**

About two minutes: add the server, then sign in, then check it.

**Does Windsurf wait while TikTok ad keyframe analysis runs?**

TikTok ad keyframe analysis runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**Does Creative Center cover every TikTok ad and video?**

No. TikHub describes the dataset as a selection of popular records and explicitly warns that it may be incomplete.

**What do the ad analysis tools measure?**

They examine different aspects of creative performance: keyframe analysis identifies retention and drop-off moments, engagement timelines summarize attention over time, and percentiles compare an ad with industry peers.

**What extra context is available beyond the video itself?**

Ad details include the brand, landing page, target countries, and engagement data. For ranked videos, the detail response adds top comments and author information.

**Do search suggestions show keyword search volume?**

The documented response is a list of suggested phrases. It does not document a search-volume series, so suggestions are useful for expanding research rather than measuring demand.

**Can Creative Center help assess public creators?**

Creator cards document audience profiles, follower growth, overall performance, and recent posts. These provide context about creators behind ranked videos.

