Skip to content

Commit

Permalink
com.rest.elevenlabs 3.0.1 (#36)
Browse files Browse the repository at this point in the history
- Fixed unit test
- Updated docs
- Added missing icons
  • Loading branch information
StephenHodgson committed Oct 29, 2023
1 parent 7983743 commit 88b8ad1
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 51 deletions.
44 changes: 22 additions & 22 deletions ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ The recommended installation method is though the unity package manager and [Ope
- [Authentication](#authentication)
- [API Proxy](#api-proxy)
- [Editor Dashboard](#editor-dashboard)
- [Speech Synthesis](#speech-synthesis)
- [Voice Lab](#voice-lab)
- [Voice Designer](#voice-designer)
- [Voice Cloning](#voice-cloning)
- [Speech Synthesis Dashboard](#speech-synthesis-dashboard)
- [Voice Lab Dashboard](#voice-lab-dashboard)
- [Voice Designer Dashboard](#voice-designer-dashboard)
- [Voice Cloning Dashboard](#voice-cloning-dashboard)
- [History](#history)
- [Text to Speech](#text-to-speech)
- [Stream Text to Speech](#stream-text-to-speech) :new:
- [Stream Text To Speech](#stream-text-to-speech) :new:
- [Voices](#voices)
- [Get All Voices](#get-all-voices)
- [Get Default Voice Settings](#get-default-voice-settings)
Expand All @@ -67,13 +67,13 @@ The recommended installation method is though the unity package manager and [Ope
- [Edit Voice](#edit-voice)
- [Delete Voice](#delete-voice)
- [Samples](#samples)
- [Get Voice Sample](#get-voice-sample)
- [Download Voice Sample](#download-voice-sample) :new:
- [Delete Voice Sample](#delete-voice-sample)
- [History](#history)
- [Get History Items](#get-history-items)
- [Get History Item](#get-history-item) :new:
- [Download History Audio](#download-history-audio)
- [Download History Items](#download-history-items)
- [Get History](#get-history)
- [Get History Item](#get-history-item)
- [Download History Audio](#download-history-audio) :new:
- [Download History Items](#download-history-items) :new:
- [Delete History Item](#delete-history-item)
- [User](#user)
- [Get User Info](#get-user-info)
Expand Down Expand Up @@ -214,37 +214,37 @@ You can perform all of the same actions from the ElevenLabs website, in the Edit

![dashboard](images/dashboard.png)

#### Speech Synthesis
#### Speech Synthesis Dashboard

Just like in the ElevenLabs website, you can synthesize new audio clips using available voices. This tool makes it even more handy as the clips are automatically downloaded and imported into your project, ready for you to use!

![Speech Synthesis](images/voice-synthesis-editor.png)

#### Voice Lab
#### Voice Lab Dashboard

Just like in the ElevenLabs website, you can manage all your voices directly in the editor.

![Voice Lab](images/voice-lab-editor.png)

##### Voice Designer
##### Voice Designer Dashboard

Selecting `Create New Voice` will display a popup where you can design entirely new voices using ElevenLabs generative models.

![Voice Designer](images/voice-design-editor.png)

##### Voice Cloning
##### Voice Cloning Dashboard

Additionally, you're also able to clone a voice from sample recordings.

![Voice Cloning](images/voice-clone-editor.png)

#### History
#### History Editor Dashboard

You also have access to the full list of all your generated samples, ready for download.

![History](images/history-editor.png)

### [Text to Speech](https://api.elevenlabs.io/docs#/text-to-speech)
### [Text to Speech](https://docs.elevenlabs.io/api-reference/text-to-speech)

Convert text to speech.

Expand Down Expand Up @@ -283,7 +283,7 @@ var voiceClip = await api.TextToSpeechEndpoint.StreamTextToSpeechAsync(
audioSource.clip = voiceClip.AudioClip;
```

### [Voices](https://api.elevenlabs.io/docs#/voices)
### [Voices](https://docs.elevenlabs.io/api-reference/voices)

Access to voices created either by the user or ElevenLabs.

Expand Down Expand Up @@ -362,11 +362,11 @@ var success = await api.VoicesEndpoint.DeleteVoiceAsync(voiceId);
Debug.Log($"Was successful? {success}");
```

#### [Samples](https://api.elevenlabs.io/docs#/samples)
#### [Samples](https://docs.elevenlabs.io/api-reference/samples)

Access to your samples, created by you when cloning voices.

##### Get Voice Sample
##### Download Voice Sample

```csharp
var api = new ElevenLabsClient();
Expand All @@ -381,11 +381,11 @@ var success = await api.VoicesEndpoint.DeleteVoiceSampleAsync(voiceId, sampleId)
Debug.Log($"Was successful? {success}");
```

### [History](https://api.elevenlabs.io/docs#/history)
### [History](https://docs.elevenlabs.io/api-reference/history)

Access to your previously synthesized audio clips including its metadata.

#### Get History Items
#### Get History

Get metadata about all your generated audio.

Expand Down Expand Up @@ -438,7 +438,7 @@ var success = await api.HistoryEndpoint.DeleteHistoryItemAsync(historyItem);
Debug.Log($"Was successful? {success}");
```

### [User](https://api.elevenlabs.io/docs#/user)
### [User](https://docs.elevenlabs.io/api-reference/user)

Access to your user Information and subscription status.

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public async Task Test_04_DeleteHistoryItem()

var updatedHistoryInfo = await api.HistoryEndpoint.GetHistoryAsync();
Assert.NotNull(updatedHistoryInfo);
Assert.That(updatedHistoryInfo, Has.None.EqualTo(itemsToDelete));
Assert.That(updatedHistoryInfo.HistoryItems, Has.None.EqualTo(itemsToDelete));

foreach (var item in updatedHistoryInfo.HistoryItems.OrderBy(item => item.Date))
{
Expand Down
2 changes: 1 addition & 1 deletion ElevenLabs/Packages/com.rest.elevenlabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "ElevenLabs",
"description": "A non-official Eleven Labs voice synthesis RESTful client.",
"keywords": [],
"version": "3.0.0",
"version": "3.0.1",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.rest.elevenlabs/releases",
Expand Down
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ The recommended installation method is though the unity package manager and [Ope
- [Authentication](#authentication)
- [API Proxy](#api-proxy)
- [Editor Dashboard](#editor-dashboard)
- [Speech Synthesis](#speech-synthesis)
- [Voice Lab](#voice-lab)
- [Voice Designer](#voice-designer)
- [Voice Cloning](#voice-cloning)
- [Speech Synthesis Dashboard](#speech-synthesis-dashboard)
- [Voice Lab Dashboard](#voice-lab-dashboard)
- [Voice Designer Dashboard](#voice-designer-dashboard)
- [Voice Cloning Dashboard](#voice-cloning-dashboard)
- [History](#history)
- [Text to Speech](#text-to-speech)
- [Stream Text to Speech](#stream-text-to-speech) :new:
- [Stream Text To Speech](#stream-text-to-speech) :new:
- [Voices](#voices)
- [Get All Voices](#get-all-voices)
- [Get Default Voice Settings](#get-default-voice-settings)
Expand All @@ -67,13 +67,13 @@ The recommended installation method is though the unity package manager and [Ope
- [Edit Voice](#edit-voice)
- [Delete Voice](#delete-voice)
- [Samples](#samples)
- [Get Voice Sample](#get-voice-sample)
- [Download Voice Sample](#download-voice-sample) :new:
- [Delete Voice Sample](#delete-voice-sample)
- [History](#history)
- [Get History Items](#get-history-items)
- [Get History Item](#get-history-item) :new:
- [Download History Audio](#download-history-audio)
- [Download History Items](#download-history-items)
- [Get History](#get-history)
- [Get History Item](#get-history-item)
- [Download History Audio](#download-history-audio) :new:
- [Download History Items](#download-history-items) :new:
- [Delete History Item](#delete-history-item)
- [User](#user)
- [Get User Info](#get-user-info)
Expand Down Expand Up @@ -214,13 +214,13 @@ You can perform all of the same actions from the ElevenLabs website, in the Edit

![dashboard](ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/images/dashboard.png)

#### Speech Synthesis
#### Speech Synthesis Dashboard

Just like in the ElevenLabs website, you can synthesize new audio clips using available voices. This tool makes it even more handy as the clips are automatically downloaded and imported into your project, ready for you to use!

![Speech Synthesis](ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/images/voice-synthesis-editor.png)

#### Voice Lab
#### Voice Lab Dashboard

Just like in the ElevenLabs website, you can manage all your voices directly in the editor.

Expand All @@ -232,19 +232,19 @@ Selecting `Create New Voice` will display a popup where you can design entirely

![Voice Designer](ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/images/voice-design-editor.png)

##### Voice Cloning
##### Voice Cloning Dashboard

Additionally, you're also able to clone a voice from sample recordings.

![Voice Cloning](ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/images/voice-clone-editor.png)

#### History
#### History Dashboard

You also have access to the full list of all your generated samples, ready for download.

![History](ElevenLabs/Packages/com.rest.elevenlabs/Documentation~/images/history-editor.png)

### [Text to Speech](https://api.elevenlabs.io/docs#/text-to-speech)
### [Text to Speech](https://docs.elevenlabs.io/api-reference/text-to-speech)

Convert text to speech.

Expand All @@ -263,7 +263,7 @@ audioSource.PlayOneShot(voiceClip.AudioClip);
voiceClip.CopyIntoProject(editorDownloadDirectory);
```

### Stream Text to Speech
#### Stream Text to Speech

```csharp
var api = new ElevenLabsClient();
Expand All @@ -283,7 +283,7 @@ var voiceClip = await api.TextToSpeechEndpoint.StreamTextToSpeechAsync(
audioSource.clip = voiceClip.AudioClip;
```

### [Voices](https://api.elevenlabs.io/docs#/voices)
### [Voices](https://docs.elevenlabs.io/api-reference/voices)

Access to voices created either by the user or ElevenLabs.

Expand Down Expand Up @@ -362,11 +362,11 @@ var success = await api.VoicesEndpoint.DeleteVoiceAsync(voiceId);
Debug.Log($"Was successful? {success}");
```

#### [Samples](https://api.elevenlabs.io/docs#/samples)
#### [Samples](https://docs.elevenlabs.io/api-reference/samples)

Access to your samples, created by you when cloning voices.

##### Get Voice Sample
##### Download Voice Sample

```csharp
var api = new ElevenLabsClient();
Expand All @@ -381,11 +381,11 @@ var success = await api.VoicesEndpoint.DeleteVoiceSampleAsync(voiceId, sampleId)
Debug.Log($"Was successful? {success}");
```

### [History](https://api.elevenlabs.io/docs#/history)
### [History](https://docs.elevenlabs.io/api-reference/history)

Access to your previously synthesized audio clips including its metadata.

#### Get History Items
#### Get History

Get metadata about all your generated audio.

Expand Down Expand Up @@ -438,7 +438,7 @@ var success = await api.HistoryEndpoint.DeleteHistoryItemAsync(historyItem);
Debug.Log($"Was successful? {success}");
```

### [User](https://api.elevenlabs.io/docs#/user)
### [User](https://docs.elevenlabs.io/api-reference/user)

Access to your user Information and subscription status.

Expand Down

0 comments on commit 88b8ad1

Please sign in to comment.