enhance_media
Clean speech in a video or audio file. Submit a public HTTPS URL or a completed upload, wait briefly, then poll get_job if running. Keyless requests preview the first minute. Paid jobs may spend credits.
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": "enhance_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | ||
| preview | No | ||
| loudness | No | ||
| strength | No | ||
| upload_id | No | An upload ID whose PUT has completed. Supply exactly one source. | |
| source_url | No | Public HTTPS URL. Supply exactly one source. | |
| audio_track | No | ||
| max_cost_usd | No | Maximum charge in US dollars. | |
| wait_seconds | No | Seconds to wait for a terminal state. Default 45 for submission, 0 for polling. | |
| idempotency_key | No | Reuse for retries of the same submission. | |
| anonymous_session | No | Keyless session credential. Save the value returned on your first call and pass it on related calls and retries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tier | Yes | ||
| error | No | ||
| stage | No | ||
| engine | No | ||
| job_id | Yes | ||
| result | No | ||
| status | Yes | ||
| billing | No | ||
| preview | Yes | ||
| receipt | No | ||
| download_curl | No | ||
| anonymous_session | No | Keyless session credential. Save the value returned on your first call and pass it on related calls and retries. | |
| processed_seconds | No | ||
| poll_after_seconds | No | ||
| full_file_price_usd | No | ||
| full_file_price_micro_usd | No |