STTRequest.fromCloudUrl constructor

STTRequest.fromCloudUrl(
  1. String cloudStorageUrl, {
  2. String? model,
  3. String? language,
  4. String? format,
  5. bool includeWordTiming = false,
  6. bool includeConfidence = false,
  7. double? temperature,
  8. TimestampGranularity timestampGranularity = TimestampGranularity.word,
  9. bool diarize = false,
  10. int? numSpeakers,
  11. bool tagAudioEvents = true,
  12. bool webhook = false,
  13. String? prompt,
  14. String? responseFormat,
  15. 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,
    );