mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-27 09:21:35 +07:00
build(protocol): regenerate swift talk models
This commit is contained in:
@@ -2012,6 +2012,98 @@ public struct TalkConfigResult: Codable, Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
public struct TalkSpeakParams: Codable, Sendable {
|
||||
public let text: String
|
||||
public let voiceid: String?
|
||||
public let modelid: String?
|
||||
public let outputformat: String?
|
||||
public let speed: Double?
|
||||
public let stability: Double?
|
||||
public let similarity: Double?
|
||||
public let style: Double?
|
||||
public let speakerboost: Bool?
|
||||
public let seed: Int?
|
||||
public let normalize: String?
|
||||
public let language: String?
|
||||
|
||||
public init(
|
||||
text: String,
|
||||
voiceid: String?,
|
||||
modelid: String?,
|
||||
outputformat: String?,
|
||||
speed: Double?,
|
||||
stability: Double?,
|
||||
similarity: Double?,
|
||||
style: Double?,
|
||||
speakerboost: Bool?,
|
||||
seed: Int?,
|
||||
normalize: String?,
|
||||
language: String?)
|
||||
{
|
||||
self.text = text
|
||||
self.voiceid = voiceid
|
||||
self.modelid = modelid
|
||||
self.outputformat = outputformat
|
||||
self.speed = speed
|
||||
self.stability = stability
|
||||
self.similarity = similarity
|
||||
self.style = style
|
||||
self.speakerboost = speakerboost
|
||||
self.seed = seed
|
||||
self.normalize = normalize
|
||||
self.language = language
|
||||
}
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case text
|
||||
case voiceid = "voiceId"
|
||||
case modelid = "modelId"
|
||||
case outputformat = "outputFormat"
|
||||
case speed
|
||||
case stability
|
||||
case similarity
|
||||
case style
|
||||
case speakerboost = "speakerBoost"
|
||||
case seed
|
||||
case normalize
|
||||
case language
|
||||
}
|
||||
}
|
||||
|
||||
public struct TalkSpeakResult: Codable, Sendable {
|
||||
public let audiobase64: String
|
||||
public let provider: String
|
||||
public let outputformat: String?
|
||||
public let voicecompatible: Bool?
|
||||
public let mimetype: String?
|
||||
public let fileextension: String?
|
||||
|
||||
public init(
|
||||
audiobase64: String,
|
||||
provider: String,
|
||||
outputformat: String?,
|
||||
voicecompatible: Bool?,
|
||||
mimetype: String?,
|
||||
fileextension: String?)
|
||||
{
|
||||
self.audiobase64 = audiobase64
|
||||
self.provider = provider
|
||||
self.outputformat = outputformat
|
||||
self.voicecompatible = voicecompatible
|
||||
self.mimetype = mimetype
|
||||
self.fileextension = fileextension
|
||||
}
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case audiobase64 = "audioBase64"
|
||||
case provider
|
||||
case outputformat = "outputFormat"
|
||||
case voicecompatible = "voiceCompatible"
|
||||
case mimetype = "mimeType"
|
||||
case fileextension = "fileExtension"
|
||||
}
|
||||
}
|
||||
|
||||
public struct ChannelsStatusParams: Codable, Sendable {
|
||||
public let probe: Bool?
|
||||
public let timeoutms: Int?
|
||||
|
||||
@@ -2012,6 +2012,98 @@ public struct TalkConfigResult: Codable, Sendable {
|
||||
}
|
||||
}
|
||||
|
||||
public struct TalkSpeakParams: Codable, Sendable {
|
||||
public let text: String
|
||||
public let voiceid: String?
|
||||
public let modelid: String?
|
||||
public let outputformat: String?
|
||||
public let speed: Double?
|
||||
public let stability: Double?
|
||||
public let similarity: Double?
|
||||
public let style: Double?
|
||||
public let speakerboost: Bool?
|
||||
public let seed: Int?
|
||||
public let normalize: String?
|
||||
public let language: String?
|
||||
|
||||
public init(
|
||||
text: String,
|
||||
voiceid: String?,
|
||||
modelid: String?,
|
||||
outputformat: String?,
|
||||
speed: Double?,
|
||||
stability: Double?,
|
||||
similarity: Double?,
|
||||
style: Double?,
|
||||
speakerboost: Bool?,
|
||||
seed: Int?,
|
||||
normalize: String?,
|
||||
language: String?)
|
||||
{
|
||||
self.text = text
|
||||
self.voiceid = voiceid
|
||||
self.modelid = modelid
|
||||
self.outputformat = outputformat
|
||||
self.speed = speed
|
||||
self.stability = stability
|
||||
self.similarity = similarity
|
||||
self.style = style
|
||||
self.speakerboost = speakerboost
|
||||
self.seed = seed
|
||||
self.normalize = normalize
|
||||
self.language = language
|
||||
}
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case text
|
||||
case voiceid = "voiceId"
|
||||
case modelid = "modelId"
|
||||
case outputformat = "outputFormat"
|
||||
case speed
|
||||
case stability
|
||||
case similarity
|
||||
case style
|
||||
case speakerboost = "speakerBoost"
|
||||
case seed
|
||||
case normalize
|
||||
case language
|
||||
}
|
||||
}
|
||||
|
||||
public struct TalkSpeakResult: Codable, Sendable {
|
||||
public let audiobase64: String
|
||||
public let provider: String
|
||||
public let outputformat: String?
|
||||
public let voicecompatible: Bool?
|
||||
public let mimetype: String?
|
||||
public let fileextension: String?
|
||||
|
||||
public init(
|
||||
audiobase64: String,
|
||||
provider: String,
|
||||
outputformat: String?,
|
||||
voicecompatible: Bool?,
|
||||
mimetype: String?,
|
||||
fileextension: String?)
|
||||
{
|
||||
self.audiobase64 = audiobase64
|
||||
self.provider = provider
|
||||
self.outputformat = outputformat
|
||||
self.voicecompatible = voicecompatible
|
||||
self.mimetype = mimetype
|
||||
self.fileextension = fileextension
|
||||
}
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case audiobase64 = "audioBase64"
|
||||
case provider
|
||||
case outputformat = "outputFormat"
|
||||
case voicecompatible = "voiceCompatible"
|
||||
case mimetype = "mimeType"
|
||||
case fileextension = "fileExtension"
|
||||
}
|
||||
}
|
||||
|
||||
public struct ChannelsStatusParams: Codable, Sendable {
|
||||
public let probe: Bool?
|
||||
public let timeoutms: Int?
|
||||
|
||||
Reference in New Issue
Block a user