diff --git a/kinds/5250.md b/kinds/5250.md new file mode 100644 index 0000000..fca5697 --- /dev/null +++ b/kinds/5250.md @@ -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"], + ] +} +``` diff --git a/nip89.md b/nip89.md index 6e370d6..05a7fbe 100644 --- a/nip89.md +++ b/nip89.md @@ -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 @@ -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 @@ -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", } -``` \ No newline at end of file +``` diff --git a/ranges/52xx.md b/ranges/52xx.md index 2ea75e3..e53a724 100644 --- a/ranges/52xx.md +++ b/ranges/52xx.md @@ -4,7 +4,7 @@ layout: homepage keywords: nostr # Hero section -title: Video Manipulation +title: Video/Audio Manipulation buttons: - content: Back url: '/' @@ -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' ---