All Products
Search
Document Center

Intelligent Media Services:AIAgentTemplateConfig

Last Updated:Mar 17, 2025
ParameterTypeDescriptionExample
object

The template parameters of the intelligent agent.

VoiceChatobject

The voice call parameters.

Greetingstring

The greetings spoken by the intelligent agent when it joins the meeting. If you do not specify this parameter, the system uses the default greetings specified in the template of the intelligent agent. The value can be up to 128 characters in length.

UserOnlineTimeoutinteger

The timeout period before the user joins the meeting. Unit: seconds. Default value: 60.

60
UserOfflineTimeoutinteger

The timeout period after the user leaves the meeting. Unit: seconds. Default value: 5.

5
BailianAppParamsstring

The parameters of the application center of Alibaba Cloud Model Studio. For more information about the parameter format, see Parameters of the application center of Alibaba Cloud Model Studio.

{}
AsrMaxSilenceinteger

The threshold used to determine the end of a sentence. If the duration of silence exceeds this threshold, the system determines that a sentence ends. Unit: milliseconds. Default value: 400. Valid values: 200 to 1200.

400
Volumelong

The speech volume of the intelligent agent.

  • If this parameter is not specified, the adaptive volume mode recommended by Alibaba Cloud is used by default.
  • To specify this parameter, enter a value between 0 and 400. The output volume is calculated by using the following formula: Output volume = Voice output volume specified in the workflow × Volume/100. Example:
  1. If Volume is set to 0, the output volume is 0.
  2. If Volume is set to 100, the output volume is the voice output volume specified in the workflow.
  3. If Volume is set to 200, the output volume is twice the voice output volume specified in the workflow.
100
EnableVoiceInterruptboolean

Specifies whether the intelligent agent can be interrupted by voice. Default value: true.

true
VoiceprintIdstring

The unique ID of the voiceprint. This parameter is empty by default.

uniqueId
VoiceIdstring

The voice ID of the intelligent agent. The modification takes effect in the next sentence. If you do not specify this parameter, the system uses the default voice ID specified in the template of the intelligent agent. This parameter takes effect only for the preset TTS model. The ID can be up to 64 characters in length. For more information about the available voices, visit https://help.aliyun.com/zh/ims/developer-reference/smart-voice-effect-example.

zhixiaoxia
UseVoiceprintboolean

Specifies whether to enable voiceprint recognition. Default value: false.

false
GracefulShutdownboolean

Specifies whether the intelligent agent supports graceful shutdown. Default value: false.

  • Graceful shutdown: When the intelligent agent is stopped, it completes its current sentence before stopping. However, the intelligent agent can speak for 10 seconds at most.
true
EnablePushToTalkboolean

Specifies whether to enable the intercom mode. Default value: false.

false
VisionChatobject

The parameters of the visual intelligent agent.

Greetingstring

The greetings spoken by the intelligent agent when it joins the meeting. If you do not specify this parameter, the system uses the default greetings specified in the template of the intelligent agent. The value can be up to 128 characters in length.

Good morning, my friend!
UserOnlineTimeoutinteger

The timeout period before the user joins the meeting. Unit: seconds. Default value: 60.

60
UserOfflineTimeoutinteger

The timeout period after the user leaves the meeting. Unit: seconds. Default value: 5.

5
EnableIntelligentSegmentboolean

Specifies whether to enable intelligent sentence segmentation. This feature intelligently combines the segments of a speech into a single sentence if brief pauses occur when users are speaking. Default value: true.

true
BailianAppParamsstring

The parameters of the application center of Alibaba Cloud Model Studio. For more information about the parameter format, see Parameters of the application center of Alibaba Cloud Model Studio.

{}
AsrMaxSilenceinteger

The threshold used to determine the end of a sentence. If the duration of silence exceeds this threshold, the system determines that a sentence ends. Unit: milliseconds. Default value: 400. Valid values: 200 to 1200.

400
Volumelong

The speech volume of the intelligent agent.

If this parameter is not specified, the adaptive volume mode recommended by Alibaba Cloud is used by default.

To specify this parameter, enter a value between 0 and 400. The output volume is calculated by using the following formula: Output volume = Voice output volume specified in the workflow × Volume/100. Example:

If Volume is set to 0, the output volume is 0.

If Volume is set to 100, the output volume is the voice output volume specified in the workflow.

If Volume is set to 200, the output volume is twice the voice output volume specified in the workflow.

100
EnableVoiceInterruptboolean

Specifies whether the intelligent agent can be interrupted by voice. Default value: true.

true
VoiceprintIdstring

The unique ID of the voiceprint. This parameter is empty by default.

uniqueId
VoiceIdstring

The voice ID of the intelligent agent. The modification takes effect in the next sentence. If you do not specify this parameter, the system uses the default voice ID specified in the template of the intelligent agent. This parameter takes effect only for the preset TTS model. The ID can be up to 64 characters in length. For more information about the available voices, visit https://help.aliyun.com/zh/ims/developer-reference/smart-voice-effect-example.

zhixiaoxia
UseVoiceprintboolean

Specifies whether to enable voiceprint recognition. Default value: false.

false
GracefulShutdownboolean

Specifies whether the intelligent agent supports graceful shutdown. Default value: false.

Graceful shutdown: When the intelligent agent is stopped, it completes its current sentence before stopping. However, the intelligent agent can speak for 10 seconds at most.

false
EnablePushToTalkboolean

Specifies whether to enable the intercom mode. Default value: false.

false
AvatarChat3Dobject

The parameters of the 3D avatar.

Greetingstring

The greetings spoken by the intelligent agent when it joins the meeting. If you do not specify this parameter, the system uses the default greetings specified in the template of the intelligent agent. The greetings can be up to 128 characters in length.

UserOnlineTimeoutinteger

The timeout period before the user joins the meeting. Unit: seconds. Default value: 60.

60
UserOfflineTimeoutinteger

The timeout period after the user leaves the meeting. Unit: seconds. Default value: 5.

5
BailianAppParamsstring

The parameters of the application center of Alibaba Cloud Model Studio. For more information about the parameter format, see Parameters of the application center of Alibaba Cloud Model Studio.

{}
AsrMaxSilenceinteger

The threshold used to determine the end of a sentence. If the duration of silence exceeds this threshold, the system determines that a sentence ends. Unit: milliseconds. Default value: 400. Valid values: 200 to 1200.

400
Volumelong

The speech volume of the intelligent agent.

  • If this parameter is not specified, the adaptive volume mode recommended by Alibaba Cloud is used by default.
  • To specify this parameter, enter a value between 0 and 400. The output volume is calculated by using the following formula: Output volume = Voice output volume specified in the workflow × Volume/100. Example:
  1. If Volume is set to 0, the output volume is 0.
  2. If Volume is set to 100, the output volume is the voice output volume specified in the workflow.
  3. If Volume is set to 200, the output volume is twice the voice output volume specified in the workflow.
100
AvatarIdstring

The ID of the avatar.

1231
EnableVoiceInterruptboolean

Specifies whether the intelligent agent can be interrupted by voice. Default value: true.

true
VoiceprintIdstring

The unique ID of the voiceprint. This parameter is empty by default.

uniqueId
VoiceIdstring

The voice ID of the intelligent agent. The modification takes effect in the next sentence. If you do not specify this parameter, the system uses the default voice ID specified in the template of the intelligent agent. This parameter takes effect only for the preset TTS model. The ID can be up to 64 characters in length. For more information about the available voices, visit https://help.aliyun.com/zh/ims/developer-reference/smart-voice-effect-example.

zhixiaoxia
UseVoiceprintboolean

Specifies whether to enable voiceprint recognition. Default value: false.

false
GracefulShutdownboolean

Specifies whether the intelligent agent supports graceful shutdown. Default value: false.

  • Graceful shutdown: When the intelligent agent is stopped, it completes its current sentence before stopping. However, the intelligent agent can speak for 10 seconds at most.
true
EnablePushToTalkboolean

Specifies whether to enable the intercom mode. Default value: false.

false