Labs
Create TTS Task
Changed onCreate a Text-to-Speech task with Labs.
post/v1/labs/task
Request
- Base URLhttps://genaipro.io/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"input": "Hello, this is GenAIPro",
"model_id": "eleven_multilingual_v2"
}Response
Task created
Example response
{
"task_id": "abc123-def456"
}Changes
- info
added the new
eleven_v4enum value to the request property
- info