1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

GenerateSpeechAssetRequest — cloud.docs

Specifies the text from which to generate speech and the voice style.

Properties

NameTypeRequiredDescription
textstringtrueThe text to be translated.
speechStyle#/components/schemas/GenerateSpeechAssetRequest_GeneratedSpeechStylefalseThe style of the generated speech.

Complete Schema

{
  "required": [
    "text"
  ],
  "type": "object",
  "properties": {
    "text": {
      "example": "Hello",
      "type": "string",
      "description": "The text to be translated."
    },
    "speechStyle": {
      "$ref": "#/components/schemas/GenerateSpeechAssetRequest_GeneratedSpeechStyle",
      "description": "The style of the generated speech."
    }
  },
  "description": "Specifies the text from which to generate speech and the voice style."
}