Skip to content

Commit

Permalink
Merge pull request #13 from believethehype/master
Browse files Browse the repository at this point in the history
Update nip89.md
  • Loading branch information
believethehype authored Dec 21, 2023
2 parents c8c5f16 + 77d463d commit 5d2e188
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 6 deletions.
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"],
]
}
```
13 changes: 8 additions & 5 deletions nip89.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is where the long-tail of DVMs can be explored.

# Example

## DVM supporting `kind:65005` -- in Dali style
## DVM supporting `kind:5100` -- in Dali style

This NIP-89 acts as a sales-pitch for the DVM to explain to a user exactly what they can expect from interacting with this DVM

Expand All @@ -27,17 +27,19 @@ This NIP-89 acts as a sales-pitch for the DVM to explain to a user exactly what
\"name\": \"Dali Vending Machine\",
\"image\": \"https://cdn.nostr.build/i/fb207be87d748ad927f52a063c221d1d97ef6d75e660003cb6e85baf2cd2d64e.jpg\",
\"about\": \"I'm Dali re-incarnated, faster and cheaper\",
\"encryptionSupported\": True,

}",
"tags": [
[ "d", "td51xbgxwbt5116r" ],
[ "k", "65005" ]
[ "k", "5100" ]
],
"kind": 31990,
"pubkey": "6b37d5dc88c1cbd32d75b713f6d4c2f7766276f51c9337af9d32c8d715cc1b93",
}
```

## DVM supporting `kind:65008`
## DVM supporting `kind:5300`

This NIP-89 acts as a sales-pitch for the DVM to explain to a user exactly what they can expect from interacting with this DVM

Expand All @@ -48,12 +50,13 @@ This NIP-89 acts as a sales-pitch for the DVM to explain to a user exactly what
\"name\": \"You might have missed\",
\"image\": \"https://cdn.nostr.build/i/fb207be87d748ad927f52a063c221d1d97ef6d75e660003cb6e85baf2cd2d64e.jpg\",
\"about\": \"My goal is to help you keep up – or catch up – with your world, no matter how much time you spend on t̶w̶i̶t̶t̶e̶r̶ nostr.\",
\"encryptionSupported\": False,
}",
"tags": [
[ "d", "td51xbgxwbt5116r" ],
[ "k", "65008" ]
[ "k", "5300" ]
],
"kind": 31990,
"pubkey": "6b37d5dc88c1cbd32d75b713f6d4c2f7766276f51c9337af9d32c8d715cc1b93",
}
```
```
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 5d2e188

Please sign in to comment.