TTS Controller

Post TTS Request

POST http://localhost:8080/organizations/{organizationId}/projects/{projectId}/tts

TTS 요청을 보내고 sessionId를받습니다. 프로세스가 완료되면 합성 된 오디오 파일이 완성됩니다. Send a TTS request and receive the sessionId. the synthesized audio file when the process is done.

Path Parameters

Name
Type
Description

organizationId

object

The ID of the zeroth-ee ai.alabs.tts.project.

projectId

object

The ID of the zeroth-ee ai.alabs.tts.project.

Request Body

Name
Type
Description

text

string

The text to speak.

speaker

string

The ID of the speaker (voice).

speed

number

The speed (default 1.0).

sampleRate

integer

The sample rate of the synthesized audio (default depends on configuration).

model

string

The model that should be used to synthesize the audio.

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 58

{
  "sessionId" : "5b66f40f-4df8-4b96-8dba-e23b61bd246d"
}

Get Audio Url

GET http://localhost:8080/organizations/{organizationId}/projects/{projectId}/speech-data/{sessionId}

미리 지정된 URL을 가져옵니다. Get the presigned url.

Path Parameters

Name
Type
Description

organizationId

object

projectId

object

sessionId

object

Get Speech Data

GET http://localhost:8080/organizations/{organizationId}/projects/{projectId}/speech-data/{sessionId}

모든 음성 데이터 요청의 페이지 목록을 가져옵니다. Get a paginated list of all speech data requests.

Path Parameters

Name
Type
Description

organizationId

object

projectId

object

Query Parameters

Name
Type
Description

page

integer

Default value: '0'.

size

integer

Must be at most 100.Default value: '10'.

Last updated

Was this helpful?