curl --location 'https://openapi-cn01.tange365.com/ai/aigcrtc/roles/' \
--header 'X-Tg-App-Id;' \
--header 'X-Tg-App-Id: {{app-id}}' \
--header 'X-Tg-Platform;' \
--header 'X-Tg-Platform: {{platform}}' \
--header 'Accept-Language;' \
--header 'Accept-Language: {{language}}' \
--header 'X-Tg-Date: {{currentUTCTime}}' \
--header 'X-Tg-Content-Sha256;' \
--header 'Authorization: {{access_token}}' \
--header 'Content-Type: application/json'{
"code": 0,
"msg": "string",
"data": {
"region": "string",
"id": "string",
"name": "string",
"avatar": "string",
"app_id": "string",
"parent_role_id": "string",
"agent_config": {
"prompt": "string",
"welcome_text": "string",
"welcome_prompt": "string",
"video": {
"enable": true
},
"ali_rag": {
"index_id": "string"
},
"ali_memory": {
"enable": true
},
"voiceprint": {
"enable": true
},
"asr": {
"hotwords": [
"string"
]
},
"mcp_tools": [
"string"
],
"device_plugins": [
"string"
],
"enable_emotion": true
},
"service_config": {
"name": "string",
"type": "custom-compose",
"config": {
"asr": {
"provider": "ali-asr",
"provider_params": {
"api_key": "string",
"ws_url": "http://example.com",
"model": "paraformer-realtime-v2"
}
},
"llm": {
"provider": "ali-llm",
"provider_params": {
"api_key": "string",
"base_url": "http://example.com",
"model": "qwen3.5-flash"
}
},
"tts": {
"provider": "ali-tts",
"provider_params": {
"api_key": "string",
"server_url": "http://example.com",
"model": "cosyvoice-v3",
"voice": "string",
"volume": 0,
"rate": 0.5,
"pitch": 0.5,
"language_hints": [
"string"
]
}
}
}
},
"user_params": {
"property1": "string",
"property2": "string"
},
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"user_id": "string"
}
}