Files
dify/web/gen/orpc/api/text-to-audio.ts
Stephen Zhou 4061c83b26 no sufix
2026-01-25 16:19:07 +08:00

21 lines
587 B
TypeScript

// This file is auto-generated by @hey-api/openapi-ts
import { z } from 'zod'
import { zTextToAudioChatData, zTextToAudioChatResponse } from '../../zod/api/text-to-audio'
import { base } from '../common'
/**
* Text to Audio
*
* Convert text to speech.
*/
export const textToAudioChatContract = base.route({
path: '/text-to-audio',
method: 'POST',
operationId: 'textToAudioChat',
summary: 'Text to Audio',
description: 'Convert text to speech.',
tags: ['TTS'],
}).input(zTextToAudioChatData).output(z.object({ body: zTextToAudioChatResponse, status: z.literal(200) }))