Skip to content

[Task] TTS API 서비스 구현 #70

Description

@DDINGJOO

상위 Story

목표

TTS 발음 합성 API 서비스 함수 구현

구현 내용

API 엔드포인트

함수 메서드 엔드포인트
voiceService.synthesize POST /vocab/voice/synthesize

구현 예시

export const voiceService = {
  synthesize: (wordId, text, voice = 'FEMALE') =>
    vocabApi.post('/vocab/voice/synthesize', { wordId, text, voice }),
}

응답 형식

{
  "audioUrl": "https://s3.ap-northeast-2.amazonaws.com/...",
  "s3Key": "vocab/voice/uuid_female.mp3",
  "cached": true
}

완료 조건

  • voiceService 객체 구현
  • synthesize 함수 구현

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions