{"modality":"image","operations":["text-to-image","image-edit"],"commonArguments":["prompt","resolution","size","aspectRatio","count","outputFormat","outputCompression"],"modelSpecificArguments":["promptExpansion"],"defaults":{"resolution":"2K","aspectRatio":"1:1"},"capabilities":{"resolutions":["1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image"],"maximum":{"image":16}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":10},"promptRequired":true,"promptMaximum":32000,"verification":"documented","sources":[{"url":"https://platform.minimax.io/docs/api-reference/image-generation-h3-generations","checkedAt":"2026-11-03"},{"url":"https://platform.minimax.io/docs/api-reference/image-generation-h3-edits","checkedAt":"2026-11-03"},{"url":"https://fal.ai/models/minimax/h3-image/text-to-image/api","checkedAt":"2026-11-03"}],"notices":["MiniMax H3 Image and Highspeed are distinct variants supporting 1K–4K tiers, custom dimensions up to 20MP, 1–10 outputs and 1–16 edit references. Prompt enhancement is configurable on text-to-image and always active on edits."],"modelId":"minimax/h3-image","operation":"text-to-image","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","maxLength":100000,"minLength":1,"pattern":"\\S"},"resolution":{"type":"string","minLength":1,"maxLength":30,"default":"2K"},"size":{"type":"object","properties":{"width":{"type":"integer","exclusiveMinimum":0,"maximum":16384},"height":{"type":"integer","exclusiveMinimum":0,"maximum":16384}},"required":["width","height"],"additionalProperties":false},"aspectRatio":{"type":"string","pattern":"^(source|auto|\\d+(\\.\\d+)?:\\d+(\\.\\d+)?)$","default":"1:1"},"count":{"type":"integer","minimum":1,"maximum":15},"outputFormat":{"type":"string","enum":["png","jpeg","webp"]},"outputCompression":{"type":"integer","minimum":0,"maximum":100},"promptExpansion":{"anyOf":[{"type":"boolean"},{"type":"string","enum":["disabled","none","balanced","quality"]}]}},"additionalProperties":false,"allOf":[{"not":{"required":["size","resolution"]}},{"not":{"required":["size","aspectRatio"]}}],"required":["prompt"],"x-opengen":{"modelId":"minimax/h3-image","operation":"text-to-image","capabilities":{"resolutions":["1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image"],"maximum":{"image":16}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":10},"notices":["MiniMax H3 Image and Highspeed are distinct variants supporting 1K–4K tiers, custom dimensions up to 20MP, 1–10 outputs and 1–16 edit references. Prompt enhancement is configurable on text-to-image and always active on edits.","aspectRatio source requires source media or an owned top-level previousJobId. An arguments-only schema cannot validate that outer request context.","Runtime validation also checks model-specific combinations, media contents and regional route restrictions."],"sources":[{"url":"https://platform.minimax.io/docs/api-reference/image-generation-h3-generations","checkedAt":"2026-11-03"},{"url":"https://platform.minimax.io/docs/api-reference/image-generation-h3-edits","checkedAt":"2026-11-03"},{"url":"https://fal.ai/models/minimax/h3-image/text-to-image/api","checkedAt":"2026-11-03"}]}},"examples":{"request":{"modelId":"minimax/h3-image","operation":"text-to-image","input":{"resolution":"2K","aspectRatio":"1:1","prompt":"Describe the desired result."},"billing":"managed"},"generate":{"operationId":"media.generate","input":{"modelId":"minimax/h3-image","operation":"text-to-image","input":{"resolution":"2K","aspectRatio":"1:1","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."]}}