{"record":{"id":"70ba2e9f7d459b95","repo":"BerriAI/litellm","slug":"video-edit-is-not-supported-for-this-provider","errorCode":null,"errorMessage":"video edit is not supported for this provider","messagePattern":"video edit is not supported for this provider","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/base_llm/videos/transformation.py","lineNumber":344,"sourceCode":"        return None\n\n    def transform_video_edit_request(\n        self,\n        prompt: str,\n        video_id: str,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n        extra_body: dict[str, Any] | None = None,\n        prefetched_source_data: dict[str, Any] | None = None,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Transform the video edit request into a URL and JSON data.\n\n        Returns:\n            Tuple[str, Dict]: (url, data) for the POST request\n        \"\"\"\n        raise NotImplementedError(\"video edit is not supported for this provider\")\n\n    def transform_video_edit_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        custom_llm_provider: str | None = None,\n        request_data: dict | None = None,\n    ) -> VideoObject:\n        raise NotImplementedError(\"video edit is not supported for this provider\")\n\n    def transform_video_extension_request(\n        self,\n        prompt: str,\n        video_id: str,\n        seconds: str,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,","sourceCodeStart":326,"sourceCodeEnd":362,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/base_llm/videos/transformation.py#L326-L362","documentation":"Optional-capability stub: transform_video_edit_request raises by default because this video provider does not support editing an existing video. It fires when a video edit operation is routed to a provider that never overrode this method.","triggerScenarios":"Thrown at litellm/llms/base_llm/videos/transformation.py:344 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a video provider that supports video editing.","Check the provider documentation for supported video operations before calling.","Regenerate the video with new parameters instead of editing."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}