pub struct TtsJobState {
pub job_token: String,
pub status: TtsJobStatus,
pub maybe_extra_status_description: Option<String>,
pub attempt_count: u32,
pub maybe_result_token: Option<String>,
pub maybe_public_bucket_wav_audio_path: Option<String>,
pub model_token: String,
pub tts_model_type: String,
pub title: String,
pub raw_inference_text: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§job_token: StringSimply returns the same job token you supplied.
status: TtsJobStatusThe overall status of the job. See the docs for more info. https://docs.fakeyou.com/#/?id=poll-tts-request-status
maybe_extra_status_description: Option<String>During processing, this may be a human-readable string to describe the execution status.
attempt_count: u32The number of attempts we’ve made to render the audio.
maybe_result_token: Option<String>If there are results, this is the token you’ll use to look up more details (wav file, spectrogram, duration, execution statistics, etc.)
maybe_public_bucket_wav_audio_path: Option<String>If there are results, this will show the path to the wav file. You can use this to avoid looking up the audio record directly in another API call.
model_token: StringVoice (tts model) that was used to synthesize the audio.
tts_model_type: StringThe synthesizer architecture
title: StringThe name of the model.
This field works the same as the title field in the
aforementioned /tts/list request.
raw_inference_text: StringThe text that was used to generate the audio.
created_at: StringWhen the TTS request was made.
updated_at: StringWhen the job status was last updated.