Transcribe a video
Transcribes an opened video word by word with timestamps, including filler words, so you can edit it by its script. Pass credits matching transcriptCredits from get_script: 0 while it is free, otherwise the price the user agreed to.
| MCP tool | transcribe_video |
| API | POST /api/v1/videos/{clipId}/transcribe |
| Credits | Editing videos of up to 10 minutes is free for 10 videos a day; after that 1 credit for each minute of video. They come back if it fails. |
When to use it
- Call only after
get_script returns status: "needs_transcript". When transcriptCredits is 0, call it straight away; otherwise only after the user confirms the price.
- Clips made by
clip_video already have transcripts, so you do not need this call for them.
- Calling it when a video is already transcribing or ready returns the current state without charging again.
Parameters
| Name | Type | Required | What it is |
|---|
clipId | string | Yes | The clipId from open_video, or a clip ID from list_clips. |
credits | integer | Yes | transcriptCredits from get_script (0 while free). |
Call it from an AI agent
{
"name": "transcribe_video",
"arguments": {
"clipId": "f8669b08",
"credits": 9
}
}
Call it from your code
curl -X POST https://pogclip.com/api/v1/videos/f8669b08/transcribe \
-H "Authorization: Bearer $POGCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"credits": 9}'
What you get back
{
"clipId": "f8669b08",
"name": "Why I started filming again",
"pageUrl": "https://pogclip.com/dashboard/projects/8e4ed643?clip=f8669b08",
"downloadPageUrl": "https://pogclip.com/dashboard/projects/8e4ed643?download=f8669b08",
"status": "transcribing",
"durationSeconds": 510,
"next": "The words are being written down, usually in about a minute. Get the script again in about 20 seconds."
}
status: transcribing means transcription started; poll get_script in about 20 seconds until status is ready.
status can also return preparing, ready or failed if the video was already in that state.
next: tells you when to call get_script again.
Errors
| Code | What it means |
|---|
invalid_request | credits is not the price, for example after the day's free transcripts ran out. The answer has the right one as transcriptCredits. |
not_enough_credits | The transcript needs more credits than the account has. |
not_found | There is no video with this ID on the account, or it has expired. |
unauthorized | The API key or sign-in is missing, wrong or revoked. |
rate_limited | More than 60 requests in a minute. Wait for retryAfterSeconds. |