Skip to content
Merged
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
5 changes: 4 additions & 1 deletion features/voice-cloning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@

Build a reusable voice model from your own audio, then use it anywhere you generate speech. You get back a voice **id**. Pass it as `reference_id` to [Text to Speech](/features/text-to-speech) and every generation speaks in that voice. Works from the API directly, the Python library, or JavaScript.

<CardGroup cols={3}>
<CardGroup cols={2}>
<Card title="Use it in the web app" icon="browser" href="https://fish.audio/app/voice-cloning">
No code: clone a voice in the browser.
</Card>
<Card title="Professional Voice Clone" icon="microphone-stand" href="/overview/platform/create-voice/professional-voice-clone">
Verified, studio-quality clone you can release and earn from. Web app only.
</Card>
<Card title="API reference" icon="brackets-curly" href="/api-reference/endpoint/model/create-model">
Every field for `POST /model`.
</Card>
Expand Down Expand Up @@ -41,11 +44,11 @@

<CodeGroup>
```python Python
from fishaudio import FishAudio

Check warning on line 47 in features/voice-cloning.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

features/voice-cloning.mdx#L47

Did you really mean 'fishaudio'?

client = FishAudio() # reads FISH_API_KEY

with open("sample.wav", "rb") as f:

Check warning on line 51 in features/voice-cloning.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

features/voice-cloning.mdx#L51

Did you really mean 'rb'?
voice = client.voices.create(
title="My Voice",
voices=[f.read()],
Expand Down
Loading