Skip to content

Commit

Permalink
tts
Browse files Browse the repository at this point in the history
  • Loading branch information
believethehype committed Dec 21, 2023
1 parent 62d6118 commit 77d463d
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
59 changes: 59 additions & 0 deletions kinds/5250.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
layout: default
title: Text-to-Speech Generation
description: Job request to convert text input to an audio file.
---

# Input
Clients provide an Input such as a prompt, an event or job ID.


## `language`

Specifies the output language of the video. Input language is auto-detected.

```
[ "param", "language", "en"]
```

# Params


| ID | Language |
| ---- | --------- |
| en | English |
| es | Spanish |
| fr | French |
| de | German |
| it | Italian |
| pt | Portugese |
| pl | Polish |
| tr | Turkish |
| ru | Russian |
| cs | Czech |
| ar | Arabic |
| zh-cn| Chinese |
| ja | Japanese |
| hu | Hungarian |
| ko | Korean |



# Output

A link to the generated audio.

# Example

## Generates the output based on the input link and params

```json
{
"content": "",
"kind": 5250,
"tags": [
[ "i", "Mic Check, one, two.", "text" ],
[ "param", "language", "en"],
]
}
```
6 changes: 5 additions & 1 deletion ranges/52xx.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: homepage
keywords: nostr

# Hero section
title: Video Manipulation
title: Video/Audio Manipulation
buttons:
- content: Back
url: '/'
Expand All @@ -25,4 +25,8 @@ grid_navigation:
excerpt: "Kind 5201"
cta: View
url: '/kinds/5201'
- title: Text-to-Speech
excerpt: "Kind 5250"
cta: View
url: '/kinds/5250'
---

0 comments on commit 77d463d

Please sign in to comment.