axFetchJsonSpeech
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
| Parameter | Type |
|---|---|
__namedParameters | Readonly<{ abortSignal?: AbortSignal; body: JsonRecord; fetch?: FetchLike; format?: AxAudioFormat; headers: Record<string, string>; transcript: string; url: string; }> |
Returns
Promise<AxChatAudioOutput>