v1
latestOpenAPI 3.0.42026-08-068161,1253.1 MBAssets
Generative AI
Generate Speech Asset
Generates an English speech audio asset from the specified text.
This endpoint requires the asset:read and asset:write scopes in addition to the universe:write scope.
The response returns an Operation object that must be prefixed with /assets/v1. For example, the URL to discover the result of the operation could be https://apis.roblox.com/assets/v1/operations/8b42ef30-9c17-4526-b8cf-2ff0136ca94d.
post/cloud/v2/universes/{universe_id}:generateSpeechAsset
Path parameters
universe_idstring required
The universe ID.
Request body
Example request
{
"text": "Hello",
"speechStyle": {
"voiceId": "1"
}
}Response
OK
Example response
{
"done": true
}