使用场景

根据视频链接清单生成抖音推广活动报告

粘贴推广活动的抖音视频链接,以 JSON 获取播放、点赞、评论、分享、话题标签和配乐,用于客户或内部汇报。

预付费,无订阅REST 或 MCP一个密钥搞定模型、数据和智能体
Douyinlovelyjsonitems[0]"title": "Spring launch unboxin…"date": "2026-10-12""plays": 254000"likes": 13800"comments": 620"shares": 1900

你和抖音创作者做了一次推广,现在有人要数据:每条视频的播放、点赞、评论和分享,放在同一张表里。创作者发来的是截图,数字每天都在变,从 App 里一条条抄又很慢。Lovely Router 按链接读取每条视频:发送链接,每条视频返回一个 JSON 对象,按视频条数从预付费余额中计费。用一个 API 密钥,就能从报表脚本、表格任务或 AI 智能体中调用。

交给你的 AI 智能体

把这段提示词复制到 Claude Code、Cursor、Codex 或任何编程智能体中。它会告诉智能体文档在哪里,以及如何使用你的 API 密钥。

根据视频链接清单生成抖音推广活动报告. Use the Lovely Router data tools: each returns JSON and is billed per result.

- Docs (read first): https://lovelyrouter.com/docs/tools/find.md and https://lovelyrouter.com/docs/tools/run.md
- Plan first: POST https://lovelyrouter.com/v1/tools/suggest with `{"task": "<my task in plain words>"}` (free). It returns the tools to run in order, each with an example `input`, the `input_required` fields, an estimated cost and a ready-made `run` request. Replace the example values with my task's; if a field is unclear, read the tool with GET https://lovelyrouter.com/v1/tools/<id>. To browse instead, POST https://lovelyrouter.com/v1/tools/discover searches the catalog.
- Show me the plan and its estimated cost (`total_est_cost_usd`) before running anything large.
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Only delivered results are billed. Keep max_results small on the first run, check the output, then scale up.
- If you support MCP, connect https://lovelyrouter.com/mcp instead (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <the inputs (links, keywords or accounts) and how many results you need>
01

工作原理

010203
  1. 向每位创作者索要其作品的链接,或从 App 里复制分享链接。

  2. 运行工具

    把链接发送到 POST /v1/tools/douyin-video/run,并将 max_results 设为链接的数量。运行会从你的余额中预留它的最高费用,并以 JSON 返回视频。

  3. 生成报告

    把统计数据连同运行日期放进表格。在第 3 天、第 7 天和第 14 天再运行一次,就能绘制出每条视频的增长曲线。

02

一次请求获取视频数据

获取抖音视频详情在 videoUrls 中接受链接或视频 ID。一个链接对应一条视频,一次运行最多读取 50 条:

curl https://lovelyrouter.com/v1/tools/douyin-video/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "input": {
      "videoUrls": ["https://www.douyin.com/video/7577614489533680959"]
    },
    "max_results": 1
  }'

运行超过 60 秒仍未结束时会返回 202;轮询方法见运行工具。

03

每条视频包含什么

字段组你会得到
内容文案、标题和日期
互动播放、点赞、评论和分享
标签话题标签
声音使用的配乐
作者发布该视频的创作者
媒体视频流和音频流的链接

文本按发布时的原样返回,即中文。

04

实用配方

每周推广报告。

保存推广活动的链接清单,每周一运行一次,把播放、点赞、评论和分享连同运行日期写入表格。

按每次播放成本比较创作者。

把每条视频的播放量与你付给该创作者的费用关联起来并排名。

检查话题标签的使用。

把每条视频上的话题标签与你的需求说明对照,列出漏掉标签的创作者。

衡量增长。

在第 1、3、7 天对同样的链接运行,绘制每天的播放量,看看视频是否还在传播。

为客户做总结。

把表格发给模型,请它写一份简短的英文总结说明哪些做法有效,并翻译中文文案。

更想直接用自然语言提问?连接 MCP 服务器,然后对 Claude Code 或 Cursor 说:"读取 campaign.txt 中的抖音链接,获取每条视频的数据,并制作一张包含创作者、播放、点赞、评论和分享的表格。把 max_results 设为 30。"

06

费用说明

按视频付费:启动运行时会预留它的最高费用,即每次调用费加上每条视频费乘以 max_results,结束后按实际返回的结果结算,预留的剩余部分退回你的余额。失败或超时的运行只为已交付的视频付费,在开始时就被拒绝的运行不收费。

每周检查 30 条推广视频,就按每周 30 条视频计费。没有订阅,也没有每月最低消费:最低充值 $5,工具和模型共用一个余额。上方卡片显示的是当前价格;价格页面列出了所有工具。

07

常见问题

?
一次运行最多能读取多少条视频?+

每次运行最多 50 个链接。清单更长时,请启动多次运行。

可以使用分享链接或视频 ID 吗?+

可以。videoUrls 接受抖音视频链接、分享链接和视频 ID。

会下载视频文件吗?+

不会。该工具已关闭下载功能。结果中包含视频流和音频流的链接。

需要抖音账号吗?+

不需要。你只需发送链接并提供 API 密钥,不必在自己这边处理中文网站的任何事情。

需要订阅吗?+

不需要。你向预付费余额充值,每次运行从中扣费。失败的运行只为已交付的结果付费,不会自动续费。

正在和创作者合作做推广?请看网红研究,以及其余的工具目录。

一个预付费密钥,搞定模型、数据和智能体

无需订阅。充值后按需使用,每笔费用都能在日志中查看。