The Subtitle Erase Pro operator automatically detects and removes embedded hard subtitles from video frames, and outputs the video file after erasure. This operator is suitable for erasing subtitles in videos with vertical white subtitles. Compared to the standard edition, it delivers better results after erasure, does not leave noticeable blur, accurately reconstructs background textures, and restores the original video frame to a greater extent. It is ideal for scenarios with extremely high image quality requirements, such as overseas distribution of short dramas and professional derivative works.
Operator ID: las_subtitle_erase_pro
Subtitle / Text erasure modes, covering both subtitles and on-screen text.Quality / Size output encoding strategies, balancing image quality and file size.Breakdown | Performance impact |
|---|---|
Maximum RPM | 10 |
Processing time |
|
Processing quality |
|
Subdivision | Detailed description |
|---|---|
Supported input data modalities |
|
Input format: Video |
|
Input path requirements | Provide input data to the operator via the request parameter
|
Subdivision | Detailed description |
|---|---|
Output data modalities |
|
Output format: Video |
|
Output path: HTTPS |
|
Billing standard
Item breakdown | Billing standard description |
|---|---|
Billing item | Billing is based on the duration of the output video. |
Billing type | Usage-based billing, unit: |
Unit price | 1.0 CNY/minute |
Billing details
Billing formula: Total cost = unit price * usage
Details | Caution and prerequisites |
|---|---|
Costs | Before calling an operator, you need to understand the model invocation costs associated with using the operator. For details, see Large model invocation billing. |
Authentication (API Key) | Before calling an operator, you need to generate an API Key for operator invocation. It is recommended to configure the API Key as an environment variable to ensure safer operator calls. For details, see Obtain and configure API Key. |
BaseURL | Before calling an operator, you need to determine the BaseURL for operator invocation based on the region where your current LAS service is deployed. This is used to configure the path parameter values for operator calls. |
Use the Subtitle Erase Pro operator to submit an erasure task, automatically detect and remove embedded hard subtitles from video frames, and supports specifying the erasure region. This is an asynchronous API. Upon successful submission, task_id is returned. Use the Poll API to query the task status and results.
Name | Type | Required | Example value | Description |
|---|---|---|---|---|
operator_id | string | Yes | las_subtitle_erase_pro | Operator ID |
operator_version | string | Yes | v1 | Operator version |
data | SubtitleEraseProUserReqParams | Yes | Subtitle erasure request parameters |
Name | Type | Example value | Description |
|---|---|---|---|
metadata | metadata | Request metadata |
curl --location "https://operator.las.ap-southeast-1.volces.com/api/v1/submit" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $LAS_API_KEY" \ --data '{ "operator_id": "las_subtitle_erase_pro", "operator_version": "v1", "data": { "video_url": "https://example.com/input.mp4", "client_token": "550e8400-e29b-41d4-a716-446655440000", "mode": "Subtitle", "output_encode_mode": "Quality", "erase_ratio_location": [ { "top_left_x": 0.05, "top_left_y": 0.80, "bottom_right_x": 0.95, "bottom_right_y": 0.98 } ] } }'
{ "metadata": { "task_id": "las-task-xxxx", "task_status": "RUNNING", "business_code": "0", "error_msg": "", "request_id": "abcd1234" }, "data": {} }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
400 | Url.Invalid | The url is invalid. | The video link is invalid |
400 | Video.Invalid | The video file is invalid. | The video file is invalid |
400 | Parameter.Invalid | The parameter is invalid. | The parameter is invalid |
401 | Authorization.Missing | Missing Authorization. | Authorization is missing |
401 | ApiKey.InValid | The api key is invalid. | The API is invalid |
500 | Server.InternalError | Internal server error. | Internal server error |
Query the execution status and results of the Subtitle Erase Pro task. When the task status is COMPLETED, the resulting video after erasure is returned.
Name | Type | Required | Example value | Description |
|---|---|---|---|---|
operator_id | string | Yes | las_subtitle_erase_pro | Operator ID |
operator_version | string | Yes | v1 | Operator version |
task_id | string | Yes | las-task-xxxx | task_id returned by submit |
Parameter | Type | Example value | Description |
|---|---|---|---|
metadata | metadata | Request metadata | |
data | SubtitleEraseProResponse | Result data returned when the task is completed. Returned only when task_status is COMPLETED; empty when RUNNING / FAILED. |
curl --location "https://operator.las.ap-southeast-1.volces.com/api/v1/poll" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $LAS_API_KEY" \ --data '{ "operator_id": "las_subtitle_erase_pro", "operator_version": "v1", "task_id": "las-task-xxxx" }'
{ "metadata": { "task_id": "las-task-xxxx", "task_status": "COMPLETED", "submit_time": "2026-07-21T16:04:06+08:00", "end_time": "2026-07-21T16:04:06+08:00", "business_code": "0", "error_msg": "", "request_id": "abcd1234" }, "data": { "video_url": "https://example.com/output.mp4", "duration": 12.34 } }
HttpStatusCode | Error code | Error message | Description |
|---|---|---|---|
401 | Authorization.Missing | Missing Authorization. | Authorization missing |
401 | ApiKey.InValid | The api key is invalid. | API is invalid |
400 | Task.NotFound | Task not found. | Task does not exist |
500 | Server.InternalError | Internal server error. | Internal server error |