{"record":{"id":"c3c46aec58103b97","repo":"Comfy-Org/ComfyUI","slug":"ratio-adaptive-is-not-supported-for-text-only-re","errorCode":null,"errorMessage":"Ratio 'adaptive' is not supported for text-only requests; select an explicit aspect ratio.","messagePattern":"Ratio 'adaptive' is not supported for text-only requests; select an explicit aspect ratio\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_minimax.py","lineNumber":1103,"sourceCode":"            raise ValueError(\n                \"First/last frame and reference media are mutually exclusive. Use frames for an \"\n                \"image-to-video prompt, or reference media for a reference-to-video prompt.\"\n            )\n        if reference_audios and not reference_images and not reference_videos:\n            raise ValueError(\"Reference audio cannot be used without a reference image or video.\")\n        if not has_frames and not has_references and model[\"ratio\"] == \"adaptive\":\n            raise ValueError(\n                \"Ratio 'adaptive' is not supported for text-only requests; select an explicit aspect ratio.\"\n            )\n","sourceCodeStart":1085,"sourceCodeEnd":1121,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_minimax.py#L1085-L1121","documentation":"Error \"Ratio 'adaptive' is not supported for text-only requests; select an explicit aspect ratio.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_minimax.py:1103 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Select an explicit aspect ratio instead of 'adaptive'."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}