| 1 | package Seed::Audio::AI::SiteKit; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use Exporter 'import'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | our $VERSION = '0.1.0'; | |||||||||
| 8 | 1 | our @EXPORT_OK = qw(site seed_audio_url); | |||||||||
| 9 | |||||||||||
| 10 | 2 | ▶ | sub site { | ||||||||
|
Subroutine
site: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 11 | return { | ||||||||||
| 12 | 2 | name => 'Seed Audio AI', | |||||||||
| 13 | homepage => 'https://seedaud.io/', | ||||||||||
| 14 | description => 'Browser-based text-to-speech and AI voice generation workflow.', | ||||||||||
| 15 | canonicalPages => { | ||||||||||
| 16 | home => 'https://seedaud.io/', | ||||||||||
| 17 | textToSpeech => 'https://seedaud.io/text-to-speech/', | ||||||||||
| 18 | pricing => 'https://seedaud.io/pricing/', | ||||||||||
| 19 | safety => 'https://seedaud.io/safety/', | ||||||||||
| 20 | terms => 'https://seedaud.io/terms/', | ||||||||||
| 21 | }, | ||||||||||
| 22 | tags => ['text-to-speech', 'ai-voice', 'voice-generator', 'site-kit'], | ||||||||||
| 23 | }; | ||||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 2 | ▶ | sub seed_audio_url { | ||||||||
|
Subroutine
seed_audio_url: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 27 | 2 | my ($path) = @_; | |||||||||
| 28 | 2 | ▶ | $path = '' unless defined $path; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 29 | 2 | $path =~ s{^/+}{}; | |||||||||
| 30 | 2 | $path =~ s{/+$}{}; | |||||||||
| 31 | 2 | ▶ | return 'https://seedaud.io/' if $path eq ''; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 1 | return 'https://seedaud.io/' . $path . '/'; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 1 | 1; | |||||||||
| 36 | |||||||||||
| 37 | __END__ | ||||||||||