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
Add new argument in iteration input to control subtitle font size.
  • Loading branch information
DapengLi2016 committed May 28, 2025
commit df831f14744e494e3f7ad304463ffaf6f79c79dd
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ model IterationInput {
@doc("This parameter specifies the outline color of the subtitles in the video translation output. The value should be provided in the format <rr><gg><bb>, #<rr><gg><bb>, <rr><gg><bb><aa> or #<rr><gg><bb><aa>, where <rr> represents the red component of the color, <gg> represents the green component, <bb> represents the blue component, <aa> represents the alpha component. For example, EBA205 or #EBA205 would set the subtitle color to a specific shade of yellow. This parameter allows for customization of subtitle appearance to enhance readability and visual appeal")
subtitleOutlineColor?: string;

@added(ApiVersions.v2025_05_20)
@doc("Subtitle font size.")
subtitleFontSize?: int32;

@added(ApiVersions.v2025_05_20)
@doc("This parameter specifies whether or not enable the emotion for platform voice, by default let server to decide whether enable emotion for better quality for the target locale.")
enableEmotionalPlatformVoice?: EnableEmotionalPlatformVoice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,11 @@
"type": "string",
"description": "This parameter specifies the outline color of the subtitles in the video translation output. The value should be provided in the format <rr><gg><bb>, #<rr><gg><bb>, <rr><gg><bb><aa> or #<rr><gg><bb><aa>, where <rr> represents the red component of the color, <gg> represents the green component, <bb> represents the blue component, <aa> represents the alpha component. For example, EBA205 or #EBA205 would set the subtitle color to a specific shade of yellow. This parameter allows for customization of subtitle appearance to enhance readability and visual appeal"
},
"subtitleFontSize": {
"type": "integer",
"format": "int32",
"description": "Subtitle font size."
},
"enableEmotionalPlatformVoice": {
"$ref": "#/definitions/EnableEmotionalPlatformVoice",
"description": "This parameter specifies whether or not enable the emotion for platform voice, by default let server to decide whether enable emotion for better quality for the target locale."
Expand Down
Loading