Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions voice-cloning/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1025,21 +1025,23 @@
"type": "string",
"enum": [
"english",
"arabic",
"spanish",
"brazilian portuguese",
"german",
"czech",
"chinese",
"dutch",
"german",
"spanish",
"french",
"hindi",
"hungarian",
"italian",
"japanese",
"italian",
"korean",
"polish",
"russian",
"persian",
"arabic",
"polish",
"brazilian portuguese",
"czech",
"danish",
"swedish",
"hungarian",
"greek",
"turkish"
],
"default": "english",
Expand All @@ -1060,10 +1062,6 @@
"default": false,
"description": "Use temporary links valid for 24 hours"
},
"stream": {
"type": "boolean",
"description": "Stream response in base64 format"
},
"webhook": {
"type": "string",
"format": "uri",
Expand Down
33 changes: 0 additions & 33 deletions voice-cloning/voice-cloning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,6 @@ Note: You can either pass `init_audio` or `voice_id`. However, if both are passe
--request POST 'https://modelslab.com/api/v6/voice/text_to_audio' \
```


## Language-Specific Guidelines
<Note>
When using the **Text-to-Audio API** for `Hindi` language generation, follow these best practices for accurate and natural-sounding output.
</Note>

<Tip>
Best Practices for Hindi Language
</Tip>
<AccordionGroup>
<Accordion title="Voice Cloning">
* Use clear and well-structured Hindi sentences.
* Ensure proper punctuation for better clarity.
</Accordion>

<Accordion title="Handling Numbers and Dates">
* Write numbers in Hindi text format instead of digits.
* Correct: "दो हज़ार पच्चीस"
* Incorrect: 2025
* Correct: "पंद्रह अगस्त उन्नीस सौ सैंतालीस"
* Incorrect: 15/08/1947
* Always use expanded Hindi form for dates and numbers.
</Accordion>

<Accordion title="Handling Abbreviations">
* Convert English abbreviations to Hindi phonetic spelling.
* Correct: आईआईटी (for IIT)
* Correct: यूएसए (for USA)
* Correct: एमएल (for ML)
* Spell out abbreviations in Hindi script to improve pronunciation.
</Accordion>
</AccordionGroup>

## Body
```json json
{
Expand Down