PeekPanda markpeekpandaDocumentationFor AI ↗Open app

PeekPanda docs

Generate paid-ad transcript

Generate and persist a transcript from one stored ad’s mirrored video.

Download Markdown ↓
POST/v1/paid-ads/{platform}/{archiveId}/transcript
Auth Bearer API credential or OAuth access tokenScope content:writeMCP generate_paid_ad_transcript

Request

The command has no request body. It uses only a stored, mirrored video; image-only ads return 422. A concurrent generation returns 409, while a ready transcript is returned from storage.

curl --request POST 'https://api.peekpanda.com/v1/paid-ads/meta/111222333/transcript' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal'

Response

Returns the persisted Groq Whisper transcript with word-timing, language, model, and generation-time provenance when available.

{
  "text": "Turn saved recipes into a grocery list.",
  "words": null,
  "language": "en",
  "model": "groq/whisper-large-v3-turbo",
  "generatedAt": "2026-09-06T00:00:00.000Z"
}

Parameters

NameInTypeRequiredDescription
platformpathmeta | tiktokYesAdvertising platform.
archiveIdpathstring, 1–255YesProvider archive id.

Known errors

400invalid_request for an invalid filter, identity or limit.
401authentication_required for a missing or invalid credential.
402subscription_required when access is not entitled.
403authorization_required for a missing scope or unavailable preview access.
404not_found when the record is outside the accessible catalogue.
429rate_limited; honor Retry-After when present.
409conflict when the write would duplicate an exclusive row.

Source

Stored Meta/TikTok ad-library observations (scrapecreators or direct Meta). Not Apple. No spend field.

Refresh

An explicit generation uses the owned mirror and persists its result. Repeating after settlement is a stored read; it does not invoke Groq again.