aichat/voice_clone/<app_id>/<generated-file>。content_type;地址有效期当前为 900 秒。OSS 直传本身不属于本应用 OpenAPI 路径。{
"file_name": "sample.wav",
"content_type": "audio/wav",
"file_size": 832076
}curl --location 'https://openapi-cn01.tange365.com/ai/aigcrtc/voice-clones/uploads' \
--header 'X-Tg-App-Id: app-demo-001' \
--header 'X-Tg-App-Id: {{app-id}}' \
--header 'X-Tg-Date: 20260810T060000Z' \
--header 'X-Tg-Date: {{currentUTCTime}}' \
--header 'X-Tg-Platform: {{platform}}' \
--header 'X-Tg-Content-Sha256;' \
--header 'Accept-Language: {{language}}' \
--header 'Authorization: {{access_token}}' \
--header 'Content-Type: application/json' \
--data '{
"file_name": "sample.wav",
"content_type": "audio/wav",
"file_size": 832076
}'code=200 时返回直传信息;业务校验或 OSS 处理失败时可能返回非 200 业务码。{"code":200,"data":{"object_key":"aichat/voice_clone/app-demo-001/01JVOICE.wav","upload_url":"https://private-bucket.oss-cn-hangzhou.aliyuncs.com/aichat/voice_clone/app-demo-001/01JVOICE.wav?signature=redacted","content_type":"audio/wav","expires_in":900}}