Tradução de apoio para consulta. Código e identificadores técnicos preservados. Consultar referência original ↗
Exclua uma voz clonada
OpenAPI
openapi: 3.1.0
info:
title: Qwen Voice Cloning API — Delete a voice
version: 1.0.0
servers:
- url: https://maas.qwencloudapi.com/api/v1
description: Singapore
security:
- BearerAuth: []
paths:
/services/audio/tts/customization:
post:
operationId: deleteVoiceCloningQwen
summary: Delete a cloned voice
description: Deletes a Qwen cloned voice and releases its quota.
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/DeleteRequest"
responses:
"200":
description: Voice deleted successfully
content:
application/json:
schema:
$ref: "#/components/schemas/DeleteResponse"
x-codeSamples:
- lang: bash
label: cURL
source: |-
curl -X POST https://maas.qwencloudapi.com/api/v1/services/audio/tts/customization \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-voice-enrollment",
"input": {
"action": "delete",
"voice": "yourVoice"
}
}'
components:
schemas:
DeleteRequest:
type: object
required:
- model
- input
properties:
model:
type: string
description: Fixed to `qwen-voice-enrollment`.
enum:
- qwen-voice-enrollment
example: qwen-voice-enrollment
input:
type: object
required:
- action
- voice
properties:
action:
type: string
description: Fixed to `delete`.
enum:
- delete
example: delete
voice:
type: string
description: The voice name to delete.
example: yourVoice
DeleteResponse:
type: object
properties:
output:
type: object
properties:
voice:
type: string
description: Deleted voice name.
example: yourVoice
usage:
type: object
properties:
count:
type: integer
description: Fixed as `0`. Deleting is free for Qwen.
example: 0
request_id:
type: string
description: Request ID for troubleshooting.
example: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: DashScope API key. Get one at [API key](/api-reference/preparation/api-key).