pub struct TTSRequestWithTimestamps {
pub voice_id: String,
pub text: String,
pub model: TTSModel,
pub language: Option<String>,
pub prompt: Option<Value>,
pub output: Option<Value>,
pub seed: Option<u32>,
}Expand description
Request body for POST /v1/text-to-speech/with-timestamps.
Fields§
§voice_id: StringVoice ID (e.g. tc_60e5426de8b95f1d3000d7b5).
text: StringText to synthesize (max 2000 characters).
model: TTSModelTTS model to use (e.g. "ssfm-v30").
language: Option<String>Language code (ISO 639-3). Auto-detected when omitted.
prompt: Option<Value>Emotion/style settings (accepts any serializable value that matches the
API’s prompt field — use crate::models::TTSPrompt or raw JSON).
output: Option<Value>Audio output settings (accepts any serializable value that matches the
API’s output field — use crate::models::Output serialized to JSON).
seed: Option<u32>Random seed for reproducible results.
Implementations§
Trait Implementations§
Source§impl Clone for TTSRequestWithTimestamps
impl Clone for TTSRequestWithTimestamps
Source§fn clone(&self) -> TTSRequestWithTimestamps
fn clone(&self) -> TTSRequestWithTimestamps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TTSRequestWithTimestamps
impl Debug for TTSRequestWithTimestamps
Auto Trait Implementations§
impl Freeze for TTSRequestWithTimestamps
impl RefUnwindSafe for TTSRequestWithTimestamps
impl Send for TTSRequestWithTimestamps
impl Sync for TTSRequestWithTimestamps
impl Unpin for TTSRequestWithTimestamps
impl UnsafeUnpin for TTSRequestWithTimestamps
impl UnwindSafe for TTSRequestWithTimestamps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more