---
name: "hf-space-hasanbasbunar-voice-cloning-xtts-v2"
description: "Use the Hugging Face Space hasanbasbunar/Voice-Cloning-XTTS-v2."
metadata:
  source: huggingface-space
  spaceId: "hasanbasbunar/Voice-Cloning-XTTS-v2"
  hubUrl: https://huggingface.co/spaces/hasanbasbunar/Voice-Cloning-XTTS-v2
  agentsMdUrl: https://huggingface.co/spaces/hasanbasbunar/Voice-Cloning-XTTS-v2/agents.md
  appUrl: https://hasanbasbunar-voice-cloning-xtts-v2.hf.space
---

# Hugging Face Space: hasanbasbunar/Voice-Cloning-XTTS-v2

Use this skill when the user wants to use the Hugging Face Space `hasanbasbunar/Voice-Cloning-XTTS-v2`.

- Space page: https://huggingface.co/spaces/hasanbasbunar/Voice-Cloning-XTTS-v2
- App URL: https://hasanbasbunar-voice-cloning-xtts-v2.hf.space
- Source instructions: https://huggingface.co/spaces/hasanbasbunar/Voice-Cloning-XTTS-v2/agents.md

## Space agent instructions

To use this application (hasanbasbunar/Voice-Cloning-XTTS-v2: Analyze and clean text for better voice synthesis):
API schema: GET https://hasanbasbunar-voice-cloning-xtts-v2.hf.space/gradio_api/info
Config (find fn_index): GET https://hasanbasbunar-voice-cloning-xtts-v2.hf.space/config → dependencies[i].id where api_name matches API schema endpoint
Join the queue: POST https://hasanbasbunar-voice-cloning-xtts-v2.hf.space/gradio_api/queue/join (pass {"data": [...], "fn_index": <from-config>, "session_hash": "<random-uuid>"})
Stream results: GET https://hasanbasbunar-voice-cloning-xtts-v2.hf.space/gradio_api/queue/data?session_hash=<same-uuid>
File inputs: POST https://hasanbasbunar-voice-cloning-xtts-v2.hf.space/gradio_api/upload -F "files=@file.ext", use as: {"path": "<returned-path>", "meta": {"_type": "gradio.FileData"}, "orig_name": "file.ext"}
Auth: Bearer $HF_TOKEN (https://huggingface.co/settings/tokens)
