tts_health

Check TTS API Health

Description

Checks whether the TTS backend is reachable by trying common health endpoints.

Usage

tts_health()

Value

A list with components:

  • ok: Logical. TRUE if the server is reachable.
  • status: Character. A human-readable status message.
  • raw: The raw response from the server (if any).

Examples

set_tts_base("http://localhost:4123")
h <- tts_health()
if (h$ok) {
  message("Server is ready!")
}