HuggingfaceClient.Inference.Task.TextToSpeech (huggingface_client v0.1.0)

Copy Markdown View Source

Text-to-speech synthesis. Returns audio bytes.

Summary

Functions

Runs the text-to-speech task.

Functions

run(client, args)

@spec run(HuggingfaceClient.Client.t(), map()) ::
  {:ok, term()} | {:error, Exception.t()}

Runs the text-to-speech task.

Returns {:ok, result} or {:error, exception}.