Titles, description, hashtags and chapters
generate_metadataWrite publishing metadata from what is said: title options (titleCount, default 5), description, hashtags and YouTube chapters with timestamps, per platform (youtube default, shorts, tiktok, instagram). Pass transcriptionJobId or subtitles (1 credit per platform), or only media (adds 1 credit per minute to transcribe). Written in the video's language unless language is set; context adds creator notes. Waits ~40 s, else poll get_job. Result: platforms..{titles, description, hashtags, chapters}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Id of a file already uploaded with upload {action:'start'}, upload {action:'start_multipart'}, upload {action:'inline'} or import_url. Pass this or the media URL. | |
| api_key | No | Only for a connection without an Authorization header: the token create_key returned (av_live_...). Pass it on every call to use that key in this same session, no reconnect or config change. Ignored when the connection already sends a key. It works like a password: create a new key if this conversation is shared. | |
| context | No | Optional notes for the writer (audience, tone, channel, keywords), max 500 characters. | |
| language | No | Output language. Default: the video's language. | |
| mediaUrl | No | Public https link to the video or audio (direct file, chat attachment URL, Google Drive or Dropbox share link; YouTube is refused). Pass this or fileId. | |
| platforms | No | Platforms to write for (youtube, shorts, tiktok, instagram), 1-4. Default youtube. | |
| quoteOnly | No | Free: return the price without starting a job or charging. With media only (no transcript) pass durationSeconds. | |
| subtitles | No | SRT, VTT, or transcript JSON. | |
| maxCredits | No | Spending cap for this call in credits (1 credit = 1 cent). If the price is higher the call fails with 422 before charging. | |
| titleCount | No | How many title options to return, 1-10. Default 5. | |
| durationSeconds | No | Media length in seconds. Lets the price be computed without fetching media (quoteOnly, quote, plan). | |
| transcriptionJobId | No | Finished job with captions (transcribe, caption_video, remove_silences, translate). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Job id: pass it to get_job, resume_job, edit_transcript or as transcriptionJobId. | |
| kind | No | Job kind (transcribe, burn, caption, clips, shorts, trim, dub, translate, preview, metadata...). | |
| step | No | Current pipeline step while running. | |
| error | No | Failure reason when status is failed. | |
| result | No | Result when succeeded: url, files[{name, url}], clips, text... | |
| status | No | queued, running, succeeded or failed. | |
| progress | No | Progress (0-1) and ETA while running. | |
| warnings | No | Non-blocking notes. | |
| costCents | No | Credits charged (1 credit = 1 cent). | |
| expiresAt | No | When the result files are deleted. | |
| refundedCents | No | Credits refunded after a failure. |