Remove texts from the frames of a video. This API uses OCR to detect texts in every frame, and performs video inpainting to remove the text.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"name":"musk",
"source_url":"http://XXXX/cache/videoplayback.mp4"
}
Request Code Samples
curl --location --request POST 'https://video.a2e.ai/api/v1/userCaptionRemoval/start' \
--header 'Content-Type: application/json' \
--data-raw '{
"name":"musk",
"source_url":"http://XXXX/cache/videoplayback.mp4"
}'
Responses
application/json {
"code": 0,
"data": {
"name": "test",
"source_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/beta/users/6459e09f63d8b6988396e8dd/video_result/66ceee65c466c8e487288d84/2024-08-28%2017%3A30%3A42.mp4",
"current_status": "sent",
"duration": 6,
"result_url": "",
"failed_message": "",
"deleted": false,
"_id": "66ed140b7a2c90d43ca818d8",
"user_id": "637498294abbb165572d5dbe",
"createdAt": "2024-09-20T06:19:55.643Z",
"updatedAt": "2024-09-20T06:19:55.643Z",
}
}
Modified at 2025-02-13 08:51:38