apiKey: ********************{
"videoUrl": "https://example.com/video.mp4",
"srtContent": "1\n00:00:01,000 --> 00:00:04,000\n这是第一行字幕",
"fontSize": 12,
"fontName": "黑体-简",
"primaryColor": "&HFFFFFF&",
"outlineColor": "&H000000&",
"outlineWidth": 1,
"marginV": 10
}curl --location --request POST '/api/video/subtitle/add' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"videoUrl": "https://example.com/video.mp4",
"srtContent": "1\n00:00:01,000 --> 00:00:04,000\n这是第一行字幕",
"fontSize": 12,
"fontName": "黑体-简",
"primaryColor": "&HFFFFFF&",
"outlineColor": "&H000000&",
"outlineWidth": 1,
"marginV": 10
}'{
"errorMessage": "string",
"code": 0,
"aboutUrl": "string",
"traceId": "string",
"videoUrl": "/api/video/files/generated_video_123.mp4",
"downloadUrl": "/api/video/download/generated_video_123.mp4"
}