NAME

Langertha::Engine::Whisper - Whisper compatible transcription server

VERSION

version 0.503

SYNOPSIS

use Langertha::Engine::Whisper;

my $whisper = Langertha::Engine::Whisper->new(
    url => $ENV{WHISPER_URL},
);

print $whisper->simple_transcription('recording.ogg');

DESCRIPTION

Provides access to a self-hosted Whisper-compatible transcription server. Extends Langertha::Engine::TranscriptionBase and transcribes through the server's /audio/transcriptions endpoint.

url is required. The API key defaults to 'whisper'. The transcription model defaults to an empty string so the server uses its built-in default.

See https://github.com/fedirz/faster-whisper-server for a compatible server implementation.

Langertha::Engine::OpenAI exposes a whisper attribute that returns a Langertha::Engine::TranscriptionBase bound to the OpenAI cloud (sharing its api_key and url) — use that when you want OpenAI's hosted Whisper endpoint without re-stating credentials.

THIS API IS WORK IN PROGRESS

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.