MiniMaxSDK (index.ts)

cli · voice, text-to-speech, tts-sdk, speech-synthesis

MiniMax text-to-speech SDK wrapper.

import { TextSDK } from "./text";
import { SpeechSDK } from "./speech";
import { ImageSDK } from "./image";
import { VideoSDK } from "./video";
import { SearchSDK } from "./search";
import { VisionSDK } from "./vision";
import { QuotaSDK } from "./quota";
import { FileSDK } from "./file";
import { Client } from "./client";
import { MiniMaxSDKOptions } from "./types";

export {
  isAccountBalanceResponse,
  isQuotaResponse,
} from "./quota";
export type {
  AccountBalanceResponse,
  QuotaInfoResponse,
  QuotaResponse,
} from "./quota";

export class MiniMaxSDK extends Client {
  readonly text: TextSDK;
  readonly speech: SpeechSDK;
  readonly image: ImageSDK;
  readonly video: VideoSDK;
  readonly search: SearchSDK;
  readonly vision: VisionSDK;
  readonly quota: QuotaSDK;
  readonly file: 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key