diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index f45e8ff..7bf0e88 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -20,7 +20,9 @@
"Bash(dotnet build:*)",
"Bash(rm:*)",
"Bash(dotnet add package:*)",
- "Bash(dir:*)"
+ "Bash(dir:*)",
+ "Bash(where:*)",
+ "Bash(winget install:*)"
],
"deny": [],
"ask": []
diff --git a/Areas/AudioTools/Views/SpeechToText/Index.cshtml b/Areas/AudioTools/Views/SpeechToText/Index.cshtml
index 91a90cb..8e8c2f9 100644
--- a/Areas/AudioTools/Views/SpeechToText/Index.cshtml
+++ b/Areas/AudioTools/Views/SpeechToText/Index.cshtml
@@ -1,6 +1,7 @@
@{
ViewData["Title"] = "Áudio para Texto (Transcrição)";
var culture = ViewContext.RouteData.Values["culture"] as string ?? "pt-BR";
+ Layout = "_Layout";
}
diff --git a/Areas/AudioTools/Views/TextToSpeech/Index.cshtml b/Areas/AudioTools/Views/TextToSpeech/Index.cshtml
index 5b3513a..c5fc946 100644
--- a/Areas/AudioTools/Views/TextToSpeech/Index.cshtml
+++ b/Areas/AudioTools/Views/TextToSpeech/Index.cshtml
@@ -1,5 +1,6 @@
@{
ViewData["Title"] = "Texto para Áudio (Voz)";
+ Layout = "_Layout";
}
@@ -31,12 +32,22 @@
-
+
+
@@ -49,15 +60,15 @@
@section Scripts {
}
diff --git a/Controllers/TtsApiController.cs b/Controllers/TtsApiController.cs
new file mode 100644
index 0000000..c906503
--- /dev/null
+++ b/Controllers/TtsApiController.cs
@@ -0,0 +1,67 @@
+using Microsoft.AspNetCore.Mvc;
+using Convert_It_Online.Services;
+
+namespace Convert_It_Online.Controllers
+{
+ [ApiController]
+ [Route("api/tts")]
+ public class TtsApiController : ControllerBase
+ {
+ private readonly ITextToSpeechService _ttsService;
+ private readonly ILogger