Skip to content

Commit

Permalink
feat: cp 3
Browse files Browse the repository at this point in the history
  • Loading branch information
louisjoecodes committed Dec 22, 2024
1 parent 4c737a4 commit 5fe3588
Show file tree
Hide file tree
Showing 3 changed files with 11,829 additions and 12,654 deletions.
51 changes: 50 additions & 1 deletion fern/apis/api/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,56 @@ paths:
$ref: '#/components/schemas/OutputFormat'
required: false
description: The output format of the generated audio.
/v1/text-to-speech/{voice_id}/stream:
post:
description: Convert text to speech in real-time using our library of over 3,000 voices across 32 languages.
x-fern-audiences:
- sdk
x-fern-request-name: StreamTextToSpeechRequest
x-fern-examples:
- path-parameters:
voice_id: JBFqnCBsd6RMkjVDRZzb
query-parameters:
output_format: mp3_44100_128
request:
text: 'The first move is what sets everything in motion.'
model_id: eleven_multilingual_v2
parameters:
- {} # voice id
- {} # enable logging
- {} # optimize streaming latency
- schema:
$ref: '#/components/schemas/OutputFormat'
required: false
description: The output format of the generated audio.
responses:
'200':
content:
audio/mpeg:
schema:
type: string
/v1/text-to-speech/{voice_id}/stream/with-timestamps:
post:
description: Stream speech from text with precise character-level timing information for audio-text synchronization.
x-fern-audiences:
- sdk
x-fern-request-name: StreamTextToSpeechWithTimstampsRequest
x-fern-examples:
- path-parameters:
voice_id: JBFqnCBsd6RMkjVDRZzb
query-parameters:
output_format: mp3_44100_128
request:
text: 'The first move is what sets everything in motion.'
model_id: eleven_multilingual_v2
parameters:
- {} # voice id
- {} # enable logging
- {} # optimize streaming latency
- schema:
$ref: '#/components/schemas/OutputFormat'
required: false
description: The output format of the generated audio.
responses:
'200':
description: 'Stream of JSON objects containing audio chunks and character timing information'
Expand Down Expand Up @@ -907,7 +957,6 @@ paths:
get:
x-fern-audiences:
- convai

/v1/convai/agents/create:
post:
x-fern-audiences:
Expand Down
Loading

0 comments on commit 5fe3588

Please sign in to comment.