{"record":{"id":"627a19a08601332b","repo":"Comfy-Org/ComfyUI","slug":"reference-audio-cannot-be-used-without-a-reference","errorCode":null,"errorMessage":"Reference audio cannot be used without a reference image or video.","messagePattern":"Reference audio cannot be used without a reference image or video\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_minimax.py","lineNumber":1101,"sourceCode":"        has_references = bool(reference_images) or bool(reference_videos) or bool(reference_audios)\n        if has_frames and has_references:\n            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.\"","sourceCodeStart":1083,"sourceCodeEnd":1119,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_minimax.py#L1083-L1119","documentation":"Error \"Reference audio cannot be used without a reference image or video.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_minimax.py:1101 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide a reference image or video together with the reference audio."],"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"}