{"modality":"audio","operations":["text-to-speech"],"commonArguments":["prompt","outputFormat"],"modelSpecificArguments":["voice","speed"],"defaults":{"outputFormat":"mp3"},"capabilities":{"resolutions":[],"aspectRatios":[],"references":{"types":[],"maximum":{}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"always-on","countMaximum":1},"promptRequired":true,"promptMaximum":10000,"verification":"documented","sources":[{"url":"https://platform.minimax.io/docs/pricing/overview","checkedAt":"2026-12-01"},{"url":"https://fal.ai/models/fal-ai/minimax/speech-02-hd","checkedAt":"2026-12-01"}],"notices":["Documented MiniMax Speech-02 HD text-to-speech schema across MiniMax and fal. Character-based billing ($0.10 / 1,000 characters); live execution and settled billing remain unverified."],"modelId":"minimax/speech-02-hd","operation":"text-to-speech","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","maxLength":100000,"minLength":1,"pattern":"\\S"},"outputFormat":{"type":"string","enum":["mp3","wav"],"default":"mp3"},"voice":{"type":"string","minLength":1,"maxLength":120},"speed":{"type":"number","minimum":0.5,"maximum":2}},"additionalProperties":false,"allOf":[{"not":{"required":["size","resolution"]}},{"not":{"required":["size","aspectRatio"]}}],"required":["prompt"],"x-opengen":{"modelId":"minimax/speech-02-hd","operation":"text-to-speech","capabilities":{"resolutions":[],"aspectRatios":[],"references":{"types":[],"maximum":{}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"always-on","countMaximum":1},"notices":["Documented MiniMax Speech-02 HD text-to-speech schema across MiniMax and fal. Character-based billing ($0.10 / 1,000 characters); live execution and settled billing remain unverified.","Runtime validation also checks model-specific combinations, media contents and regional route restrictions."],"sources":[{"url":"https://platform.minimax.io/docs/pricing/overview","checkedAt":"2026-12-01"},{"url":"https://fal.ai/models/fal-ai/minimax/speech-02-hd","checkedAt":"2026-12-01"}]}},"examples":{"request":{"modelId":"minimax/speech-02-hd","operation":"text-to-speech","input":{"outputFormat":"mp3","prompt":"Describe the desired result."},"billing":"managed"},"generate":{"operationId":"media.generate","input":{"modelId":"minimax/speech-02-hd","operation":"text-to-speech","input":{"outputFormat":"mp3","prompt":"Describe the desired result."},"billing":"managed"},"idempotencyKey":"REPLACE_WITH_SAVED_IDEMPOTENCY_KEY"},"cli":"opengen generate --input request.json --idempotency-key \"$OPENGEN_IDEMPOTENCY_KEY\"","placeholders":[],"notices":["Template only. Replace owned asset placeholders after upload prepare/PUT/complete; edit the prompt before submitting.","Inspect published route pricing, regional restrictions and budget before authorizing a separate billable submission. Persist a unique idempotency key with the request before submitting.","Managed billing is explicit in this example. Select BYOK only when the user chooses their provider account as payer; unknown direct charges cannot be capped by OpenGen."]}}