{"record":{"id":"e8e11b85add9499c","repo":"sgl-project/sglang","slug":"minimax-h3-does-not-support-enable-frame-interpola","errorCode":null,"errorMessage":"MiniMax H3 does not support enable_frame_interpolation: the accepted delivery contract is the canonical 24 fps output","messagePattern":"MiniMax H3 does not support enable_frame_interpolation: the accepted delivery contract is the canonical 24 fps output","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"python/sglang/multimodal_gen/runtime/pipelines_core/stages/model_specific_stages/minimax_h3/video_adapter.py","lineNumber":214,"sourceCode":"        model_path: str | None,\n    ) -> None:\n        extras = request.model_extra or {}\n        self.validate_task_gate(extras.get(\"task\"), provided=\"task\" in extras)\n        del model_path\n        self._positive_finite_extra(request, \"audio_flow_shift\")\n        if _extra_value(request, \"audio_guidance_scale\") is not None:\n            raise ValueError(\n                \"audio_guidance_scale is not supported: MiniMax H3 serves only \"\n                \"the CFG-distilled single-positive-branch checkpoint\"\n            )\n        output_mode = _extra_value(request, \"output_mode\")\n        if output_mode not in (None, \"decoded_files\"):\n            raise ValueError(\n                \"MiniMax H3 SGLang backend only supports \"\n                f\"output_mode='decoded_files', got {output_mode!r}\"\n            )\n        if request.enable_frame_interpolation:\n            raise ValueError(\n                \"MiniMax H3 does not support enable_frame_interpolation: the \"\n                \"accepted delivery contract is the canonical 24 fps output\"\n            )\n        if request.enable_upscaling:\n            raise ValueError(\n                \"MiniMax H3 does not support enable_upscaling: the accepted \"\n                \"delivery contract is the resolved target canvas\"\n            )\n\n    def validate_sampling_params(self, sampling_params: SamplingParams) -> None:\n        \"\"\"Apply the HTTP task/delivery gate to offline requests as well.\"\"\"\n\n        task = getattr(sampling_params, \"task\", None)\n        self.validate_task_gate(task, provided=task is not None)\n        sampling_params.task = canonical_minimax_h3_task(task)\n        if getattr(sampling_params, \"enable_frame_interpolation\", False):\n            raise ValueError(\n                \"MiniMax H3 does not support enable_frame_interpolation: the \"","sourceCodeStart":196,"sourceCodeEnd":232,"githubUrl":"https://github.com/sgl-project/sglang/blob/0132848349585cfe6aae51c4941cbae872505f8a/python/sglang/multimodal_gen/runtime/pipelines_core/stages/model_specific_stages/minimax_h3/video_adapter.py#L196-L232","documentation":"MiniMax H3 video generation in SGLang only delivers video at the canonical 24 fps; it does not run a frame-interpolation post-processing pass. The adapter explicitly rejects requests with enable_frame_interpolation=True so clients cannot silently receive non-24fps interpolated output.","triggerScenarios":"Passing a VideoRequest (or equivalent) with enable_frame_interpolation=True through lower_video_request_kwargs / validate_transport_options on the MiniMax H3 backend.","commonSituations":"Reusing request builders from other SGLang video models that support smooth-motion interpolation; UI toggles for 'smooth motion' carried over from a different backend.","solutions":["Remove/force enable_frame_interpolation=False on the request","Perform interpolation offline with ffmpeg minterpolate or an external tool after generation"],"exampleFix":"// before\nrequest.enable_frame_interpolation = True\n// after\nrequest.enable_frame_interpolation = False","handlingStrategy":"validation","validationCode":"assert not getattr(request, \"enable_frame_interpolation\", False), \"MiniMax H3 has no interpolation\"","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Strip model-specific enhancement flags when routing to MiniMax H3","Document the 24 fps delivery contract in your client wrapper"],"tags":["minimax-h3","frame-interpolation","video-generation","validation"],"backgroundTag":"unsupported-feature-flag","analyzedSha":"0132848349585cfe6aae51c4941cbae872505f8a","analyzedAt":"2026-08-28T05:10:05.995Z","schemaVersion":2},"datasetVersion":"2026-08-28T06:17:29.519Z"}