STTRequest.fromCloudUrl constructor
STTRequest.fromCloudUrl(
- String cloudStorageUrl, {
- String? model,
- String? language,
- String? format,
- bool includeWordTiming = false,
- bool includeConfidence = false,
- double? temperature,
- TimestampGranularity timestampGranularity = TimestampGranularity.word,
- bool diarize = false,
- int? numSpeakers,
- bool tagAudioEvents = true,
- bool webhook = false,
- String? prompt,
- String? responseFormat,
- bool enableLogging = true,
Create STT request from cloud storage URL (ElevenLabs specific)
Implementation
factory STTRequest.fromCloudUrl(
String cloudStorageUrl, {
String? model,
String? language,
String? format,
bool includeWordTiming = false,
bool includeConfidence = false,
double? temperature,
TimestampGranularity timestampGranularity = TimestampGranularity.word,
bool diarize = false,
int? numSpeakers,
bool tagAudioEvents = true,
bool webhook = false,
String? prompt,
String? responseFormat,
bool enableLogging = true,
}) =>
STTRequest(
cloudStorageUrl: cloudStorageUrl,
model: model,
language: language,
format: format,
includeWordTiming: includeWordTiming,
includeConfidence: includeConfidence,
temperature: temperature,
timestampGranularity: timestampGranularity,
diarize: diarize,
numSpeakers: numSpeakers,
tagAudioEvents: tagAudioEvents,
webhook: webhook,
prompt: prompt,
responseFormat: responseFormat,
enableLogging: enableLogging,
);