सामग्री पर जाएँ

Chatterboxhd · Speech to Speech

इंटीग्रेट करें

मॉडल id resemble-ai/chatterboxhd/speech-to-speech
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/resemble-ai/chatterboxhd/speech-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

उदाहरण जैसी फ़ाइलें: $0.02 20 API क्रेडिट · ≈ ₽2.15 चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें

प्रीसेट आवाज़ या संदर्भ नमूने का उपयोग करके स्रोत ऑडियो क्लिप की आवाज़ बदलता है

Resemble AI · ऑडियो

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक
फ़ाइल ड्रॉप करें, या

वॉइस कन्वर्ज़न के लिए स्रोत ऑडियो की ओर संकेत करने वाला URL।

उन्नत target_voice_audio_url · target_voice · high_quality_audio
फ़ाइल ड्रॉप करें, या

target_voice की तुलना में आउटपुट वॉइस निर्धारित करने में प्राथमिकता पाने वाला ऑडियो फ़ाइल URL। जब target_voice और target_voice_audio_url दोनों न दिए जाएँ, तो डिफ़ॉल्ट target voice का उपयोग किया जाता है।

स्पीच-टू-स्पीच निर्माण के लिए वॉइस चुनें, या target_voice और target_voice_audio_url दोनों को निर्दिष्ट न करें ताकि target voice यादृच्छिक रूप से चुनी जा सके।

POST /run/resemble-ai/chatterboxhd/speech-to-speech?wait=20 कोटेशन → $0.02
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/resemble-ai/chatterboxhd/speech-to-speech?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Chatterboxhd · Speech to Speech के बारे में

`source_audio_url` में मौजूद भाषण को अलग आवाज़ में बदलता है। `target_voice` से नौ प्रीसेट आवाज़ों में से एक चुनें, या `target_voice_audio_url` के माध्यम से अपना नमूना दें, जिसे प्राथमिकता दी जाती है। यदि दोनों में से कोई नहीं दिया गया है, तो आपके लिए आवाज़ चुनी जाती है। `high_quality_audio` सेट करने पर आउटपुट 24kHz के बजाय 48kHz तक अपस्केल होता है।

पैरामीटर

नामप्रकार डिफ़ॉल्टअनुमत विवरण
source_audio_urlआवश्यक
प्रकारurl · audio
वॉइस कन्वर्ज़न के लिए स्रोत ऑडियो की ओर संकेत करने वाला URL।
target_voiceवैकल्पिक
प्रकारenum
AuroraBladeBritneyCarlCliffRichardRicoSiobhanVicky
स्पीच-टू-स्पीच निर्माण के लिए वॉइस चुनें, या target_voice और target_voice_audio_url दोनों को निर्दिष्ट न करें ताकि target voice यादृच्छिक रूप से चुनी जा सके।
target_voice_audio_urlवैकल्पिक
प्रकारurl · audio
target_voice की तुलना में आउटपुट वॉइस निर्धारित करने में प्राथमिकता पाने वाला ऑडियो फ़ाइल URL। जब target_voice और target_voice_audio_url दोनों न दिए जाएँ, तो डिफ़ॉल्ट target voice का उपयोग किया जाता है।
high_quality_audioवैकल्पिक
प्रकारboolean
डिफ़ॉल्टfalse
False के साथ 24kHz आउटपुट और True के साथ 48kHz तक अपस्केल किया गया उच्च-गुणवत्ता वाला ऑडियो चुनें। अपस्केलिंग सक्षम करने से निर्माण समय बढ़ जाता है।
आवश्यक

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "resemble-ai/chatterboxhd/speech-to-speech",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 20,
    "usd": "0.02",
    "charged": 20,
    "refunded": 0
  },
  "input": {
    "source_audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "output": {},
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
आपकी फ़ाइलें, आपकी पसंदहर outputs[].url हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
audio
anyवॉइस कन्वर्ज़न से निर्मित ऑडियो फ़ाइल।

और मॉडल: टेक्स्ट से स्पीच

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/resemble-ai/chatterboxhd/speech-to-speech.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt