Estimate Video Upscale
media_upscale_estimateEstimate ByteDance upscale eligibility and credits for one stored video. Does not spend credits or queue a job. Call this before media_upscale.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"assetId": "<assetId>",
"targetResolution": "<targetResolution>"
},
"name": "media_upscale_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | Source video asset UUID. UUID string. | |
| projectId | No | Optional project UUID for the estimate context. UUID string. | |
| workspaceId | No | Optional workspace ID. Defaults to the user's default workspace. UUID string. | |
| targetResolution | Yes | Output long-edge target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eligible | Yes | ||
| targetFps | Yes | ||
| sourceLongEdge | Yes | ||
| targetLongEdge | Yes | ||
| creditsRequired | Yes | ||
| durationSeconds | Yes | ||
| ineligibleReason | Yes | ||
| targetResolution | Yes |