axFetchJsonSpeech Generated TypeScript API reference. typescript api api/reference build/apidocs/Function.axFetchJsonSpeech.md function axFetchJsonSpeech

axFetchJsonSpeech

TypeScript
function axFetchJsonSpeech(__namedParameters: Readonly<{
  abortSignal?: AbortSignal;
  body: JsonRecord;
  fetch?: FetchLike;
  format?: AxAudioFormat;
  headers: Record<string, string>;
  transcript: string;
  url: string;
}>): Promise<AxChatAudioOutput>;

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/ai/audio/api.ts#L208

Parameters

ParameterType
__namedParametersReadonly<{ abortSignal?: AbortSignal; body: JsonRecord; fetch?: FetchLike; format?: AxAudioFormat; headers: Record<string, string>; transcript: string; url: string; }>

Returns

Promise<AxChatAudioOutput>

Docs