mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 21:41:23 +02:00
✨ feat(lightwrite): add STT lyrics transcription integration
Integrate mana-stt service for automatic lyrics transcription: - Add SttService to call mana-stt /transcribe endpoint - Extend beats schema with transcription status fields - Add POST /beats/:id/transcribe endpoint - Add GET /beats/stt/available endpoint - Update BeatUploader with auto-transcription after upload - Show transcription progress and retry button on failure
This commit is contained in:
parent
20db01628a
commit
9dc6c111d3
11 changed files with 319 additions and 4 deletions
|
|
@ -1,3 +1,5 @@
|
|||
export type TranscriptionStatus = 'none' | 'pending' | 'completed' | 'failed';
|
||||
|
||||
export interface Beat {
|
||||
id: string;
|
||||
projectId: string;
|
||||
|
|
@ -7,6 +9,10 @@ export interface Beat {
|
|||
bpm?: number | null;
|
||||
bpmConfidence?: number | null;
|
||||
waveformData?: WaveformData | null;
|
||||
// STT Transcription fields
|
||||
transcriptionStatus?: TranscriptionStatus | null;
|
||||
transcriptionError?: string | null;
|
||||
transcribedAt?: Date | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue