AIC Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC Commands

AIC_---Artificial-Intelligenc2

Set TTS endpoint

 

Syntax

AIC_---Artificial-Intelligenc2(Url)

 

Parameters

Name

Type

Required

Description

Url

String

Yes

TTS API endpoint URL

 

Return Value

Type

Description

Long

Returns 1 on success, 0 on failure

 

Remarks

·Set custom TTS service endpoint

·Default: OpenAI TTS API

·Allows local TTS server configuration

 

Example

' Set custom TTS endpointDim result As Longresult = AIC_---Artificial-Intelligenc2("https://api.openai.com/v1/audio/speech")If result = 1 Then Print "TTS endpoint set"

Configures the TTS (Text-to-Speech) API endpoint URL.

 

See Also

AIC_---Artificial-Intelligenc2, AIC_---Artificial-Intelligenc2

 

Previous  Top  Next