feat: migrate to bun runtime and update dependencies

This commit is contained in:
2025-06-04 08:41:53 +09:00
committed by Satsuki Akiba (aider)
parent bfb6367a56
commit 4db363068d
7 changed files with 61 additions and 32 deletions

View File

@ -1,15 +1,12 @@
import fs from "fs";
import path from "path";
import {
PollyClient,
SynthesizeSpeechCommand,
} from "@aws-sdk/client-polly";
import { PollyClient, SynthesizeSpeechCommand } from "@aws-sdk/client-polly";
const polly = new PollyClient({ region: "ap-northeast-1" });
export async function generateTTS(
itemId: string,
scriptText: string
scriptText: string,
): Promise<string> {
const params = {
OutputFormat: "mp3",