Add video or audio
add_mediaBring the user's own video or audio into Masonry: footage to cut into short clips, a recorded voiceover, their own music. Takes a direct link to the file or a file attached in ChatGPT (MP4 or MOV video; MP3, WAV or M4A audio; up to 300 MB) and returns a media_id. Pass that media_id wherever combine_clips takes a job_id (clips, voiceover, music_job_id, sound_effects) and to transcribe_media. To turn a long video into shorts: add_media, transcribe_media to find the strongest moments, then one combine_clips per short with trim_start and trim_end, a 9:16 aspect and captions from clips. Stored privately in this workspace. Free: costs no credits. For a photo use add_reference_image.
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": "add_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct https link to the video or audio file itself (not a page that plays it). Provide this or file. | |
| file | No | A video or audio file the user attached in ChatGPT. Provide this or url. |