PromptedVoice: { base_voice?: string; input: string }

Parameters for prompted voice generation.

Type declaration

  • Optionalbase_voice?: string

    Optional. The name or ID of an existing base voice to edit or remix.

    Use the voice name for prebuilt voices (e.g., Puck) or the voice ID for previously created voices (e.g., voice_abc123). This can be any prompted or replicated voice that the user has access to. When present, input describes relative alterations to make to the base voice.

  • input: string

    Required. The natural-language prompt describing the desired voice, e.g.

    "A deep, booming male voice of a massive evil ogre in his middle years."

Required when creating a voice with type "prompted". Returned when creating, getting, or listing prompted voices.