Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
i
  • Loading branch information
DapengLi2016 committed Jun 4, 2025
commit bb3c8276fa8abeb8ac2de9fabdbf061052529f73
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ model TranslationInput {
@doc("Translation voice kind.")
voiceKind: VoiceKind;

@doc("Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration, if not specified, please specify audioFileUrl instead.")
@doc("Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration. Provide the input media file using either videoFileUrl or audioFileUrl, these parameters are mutually exclusive—only one of them is required. If both are provided, the request will be considered invalid.")
@madeOptional(ApiVersions.v2025_05_20)
videoFileUrl?: url;

@added(ApiVersions.v2025_05_20)
@doc("Translation audio file url, .mp3 or .wav file format, maxmum 5GB file size and 4 hours video duration, if not specified, please specify videoFileUrl instead.")
@doc("Translation audio file url, .mp3 or .wav file format, maxmum 5GB file size and 4 hours video duration. Provide the input media file using either videoFileUrl or audioFileUrl, these parameters are mutually exclusive—only one of them is required. If both are provided, the request will be considered invalid.")
audioFileUrl?: url;

@doc("Number of speakers in the video, if not provided, it will be auto-detected from the video file.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
"videoFileUrl": {
"type": "string",
"format": "uri",
"description": "Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration, if not specified, please specify audioFileUrl instead."
"description": "Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration. Provide the input media file using either videoFileUrl or audioFileUrl, these parameters are mutually exclusive—only one of them is required. If both are provided, the request will be considered invalid."
},
"speakerCount": {
"type": "integer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1200,12 +1200,12 @@
"videoFileUrl": {
"type": "string",
"format": "uri",
"description": "Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration, if not specified, please specify audioFileUrl instead."
"description": "Translation video file url, .mp4 file format, maxmum 5GB file size and 4 hours video duration. Provide the input media file using either videoFileUrl or audioFileUrl, these parameters are mutually exclusive—only one of them is required. If both are provided, the request will be considered invalid."
},
"audioFileUrl": {
"type": "string",
"format": "uri",
"description": "Translation audio file url, .mp3 or .wav file format, maxmum 5GB file size and 4 hours video duration, if not specified, please specify videoFileUrl instead."
"description": "Translation audio file url, .mp3 or .wav file format, maxmum 5GB file size and 4 hours video duration. Provide the input media file using either videoFileUrl or audioFileUrl, these parameters are mutually exclusive—only one of them is required. If both are provided, the request will be considered invalid."
},
"speakerCount": {
"type": "integer",
Expand Down