Use the global acceleration domain name to connect to the Multimodal Interaction Developer Suite, reduce network latency and model API call failures, and improve user experience.
For billing details, see Billing.
Replace the default Model Studio domain name
To change the endpoint globally, configure the following endpoint before you initialize the SDK:
To change the endpoint only for the current call, specify
When you create the
When you create the
Upgrade the RTOS SDK to version 1.1.0 or later. Then, call the following functions to obtain the parameters that are required to establish a connection:
Connect by using APIs
Replace the default Model Studio domain name dashscope.aliyuncs.com with multimodal-dialog-esa.aliyuncs.com. Use the following endpoints:
- WebSocket:
wss://multimodal-dialog-esa.aliyuncs.com/api-ws/v1/inference - HTTP:
https://multimodal-dialog-esa.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation
Connect by using SDKs
Java SDK
Python SDK
To change the endpoint globally, configure the following endpoint before you initialize the SDK:
url when you create the MultiModalDialog object:
Android SDK
When you create the MultiModalDialog object, pass the global acceleration endpoint to the url parameter:
iOS SDK
When you create the MultiModalDialog object, pass the global acceleration endpoint to the url parameter: