class coqui.Sample(coqui.Sample)

Representes a sample synthesized with the API.

Public members

static Sample(cls, *, id: str, name: str, text: str, ...)

Create new instance of Sample(id, name, text, created_at, audio_url)

download_sync(dest_file: str | BinaryIO)

Downloads the sample audio to a local file.

async download(dest_file: str | BinaryIO)

Downloads the sample audio to a local file.