Social media6 min readBy Purrkey teamUpdated

How to collect speech transcripts before you test a new TTS model like ZONOS3-Mini

Build a script table of spoken clips from YouTube, TikTok and X with source, speaker handle, transcript text, word count and link before you test a text to speech model such as ZONOS3-Mini

On this page

You have a test plan for ten YouTube transcript rows, five TikTok transcript rows and five X video transcript rows, and you need them in one script table before you test a text to speech model. On November 13, 2026, Zyphra/ZONOS3-Mini was at #13 on the Hugging Face trending list with 249 likes, which makes it the model for this test. The table is the deliverable

The workflow does not depend on that listing. It needs spoken clips, transcript text and a record of the speaker style

The task and the script table

The table holds a row per transcript. The columns are source, speaker handle, style, transcript text, word count and link. Keep one transcript per speaker style, so a short product pitch, a support answer and a casual clip do not repeat the same voice pattern

Values here are placeholders showing the shape. The handles are invented, and the transcript cells are empty placeholders

SourceSpeaker handleStyleTranscript textWord countLink
YouTube@acme-plumbing-demoshort product pitch(transcript text)0(source link)
TikTok@support-sam-examplesupport answer(transcript text)0(source link)
X@desk-clip-examplecasual clip(transcript text)0(source link)

The word count is a plain count of the transcript text. It lets you compare a short pitch with a longer support answer before the model test starts. The link column holds the source video link for the row

Tools and what each call returns

Each tool is called by its id. The catalog lists the YouTube search tool as called through POST /v1/runs with toolId anyapi.youtube.search

ToolReturnsPrice per callUsed for
anyapi.youtube.searchYouTube videos for a query$0.0012Find talking-head clips on a topic
anyapi.youtube.video_transcriptA YouTube video's transcript with language and timed segments when available$0.011Pull text from shortlisted YouTube clips
anyapi.tiktok.search_keywordTikTok videos for a keyword$0.0036Find casual spoken clips
anyapi.tiktok.video_transcriptA TikTok video's native caption transcript$0.036Pull text from TikTok clips with speech
anyapi.twitter.tweet_transcriptThe spoken transcript of an X video post$0.036Pull text from X video posts you already have links to

The search calls take a query or keyword. The transcript calls take a video from the search result or an X video link you already hold. The cost section explains the max_call unit

Step order and the decision rule

Run the cheap searches first and spend transcript calls only on clips that look useful. The order below keeps the expensive TikTok and X calls for shortlisted rows

1. Find YouTube talking-head clips

Call anyapi.youtube.search with a topic query. Use short phrases that match the spoken style you need, such as "small business product demo", "customer support answer" or "desk setup review". These queries are Example inputs, not real client data

Review the returned videos and shortlist enough to fill ten transcript calls. A five query run gives you a pool for the ten YouTube transcript calls. The search returns videos, not transcripts

2. Pull YouTube transcripts

Call anyapi.youtube.video_transcript for each shortlisted YouTube video. The return includes language and timed segments when available, so keep the language value with the row. If a video has no transcript, leave that row out and use another shortlisted clip

The word count comes from the transcript text, not from the video length

3. Find TikTok clips and check for captions

Call anyapi.tiktok.search_keyword with a keyword. Choose clips that show a person speaking and that have captions. The transcript call returns the native caption transcript, so it cannot turn a silent or caption-free clip into text. This is the limit to check before the most expensive TikTok step

4. Pull TikTok transcripts only for clips with speech

Call anyapi.tiktok.video_transcript on the shortlist. At $0.036 per call, this is the call to reserve for five rows. Keep one clip per casual or support style. A clip without captions should not reach this step

5. Add X video posts you already have links to

Call anyapi.twitter.tweet_transcript for X video posts whose links you already hold. The return is the spoken transcript of the video post. Do not run an X search for this table; use the links you have

6. Keep one transcript per speaker style

After the transcript rows exist, remove duplicates by style. A product pitch from YouTube, a support answer from TikTok and a casual clip from X can sit in the same table. The source and speaker handle stay attached to each transcript

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to build a script table from speech transcripts. Check the current inputs and price of anyapi.youtube.search, anyapi.youtube.video_transcript, anyapi.tiktok.search_keyword, anyapi.tiktok.video_transcript and anyapi.twitter.tweet_transcript before running anything. Run five YouTube searches, then fetch ten YouTube transcripts from the shortlist. Run five TikTok keyword searches, then fetch five TikTok transcripts only for clips with captions and speech. Fetch five X video transcripts from the links I provide. Return a table with source, speaker handle, style, transcript text, word count and link. Keep one transcript per speaker style. Do not invent transcript text.

Example search terms:
small business product demo
customer support answer
desk setup review
Example X video links: use the links supplied in the task, not links written here.

Replace the Example search terms with your own. The prompt starts with the Skill line and asks for the current price check before any call

Estimated tool cost

Prices are as read on 2026-11-13. The catalog lists each price as max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
5 YouTube searches5 calls x $0.0012$0.0012 per call5$0.006
10 YouTube transcripts10 calls x $0.011$0.011 per call10$0.11
5 TikTok keyword searches5 calls x $0.0036$0.0036 per call5$0.018
5 TikTok transcripts5 calls x $0.036$0.036 per call5$0.18
5 X video transcripts5 calls x $0.036$0.036 per call5$0.18
Plan totalSum of line-item ceilings

Model fees for the agent are not counted

The ZONOS3-Mini listing is the reason for the test, not a price input

Next action

Open the YouTube tool page to check the current catalog entry and start with the five search calls: YouTube tools

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 YouTube.
Explore YouTube tools and pricing

FAQ

How do I collect speech transcripts before testing a text to speech model?

Run YouTube and TikTok searches, fetch transcripts for shortlisted clips, and add X video transcripts for post links you already have. Put each transcript in a script table with source, speaker handle, style, transcript text, word count and link.

What should the script table include?

The table has a row per transcript with source, speaker handle, style, transcript text, word count and link. Keep one transcript per speaker style.

What does anyapi.youtube.video_transcript return?

It returns a YouTube video's transcript with language and timed segments when available.

Which call is the most expensive TikTok step?

anyapi.tiktok.video_transcript is listed at $0.036 per call, so the plan reserves five calls for TikTok clips with captions and speech.

How much does the planned transcript table cost?

The cost table lists the ceiling amount for each planned step. Model fees for the agent are not counted.

Next step

Try this with YouTube

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 YouTube tools

Share this article