Remove watermark
export.releaseRemoves the watermark from a finished file that has a cuttingfloor watermark (watermarked: true on its export result, media.get or media.list), spending its release_credits (priced by length) once from the user's credits. Afterwards every link to it (url, page_url, media.get) serves the clean file, and this returns fresh ones. Tell the user the price and get their go-ahead first. Releasing again, or a file that never had the watermark, spends nothing. Not enough credits: quota_exceeded, and the watermarked file still downloads.
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": "export.release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | An export.video job, or the create.* job that made a media | |
| media_id | No | A media made by an export, a create.* tool or a still: removes the watermark from its own file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Signed download of the clean file | |
| price | Yes | What removing the watermark costs; 0 for a file that never has one | |
| job_id | Yes | The job whose file was released; null for a still | |
| balance | Yes | Credits left after it; null on a plan with no cap, and on a server you run | |
| credits | Yes | Credits this call spent: 0 when the file was already released or never marked | |
| media_id | No | The media, when one was named | |
| page_url | Yes | A page that plays the clean file in any browser | |
| expires_at | Yes | ||
| released_at | Yes |