BerriAI/litellm · error · NotImplementedError

video edit is not supported for this provider

Error message

video edit is not supported for this provider

What it means

Error "video edit is not supported for this provider" thrown in BerriAI/litellm.

Source

Thrown at litellm/llms/base_llm/videos/transformation.py:344

        return None

    def transform_video_edit_request(
        self,
        prompt: str,
        video_id: str,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
        extra_body: dict[str, Any] | None = None,
        prefetched_source_data: dict[str, Any] | None = None,
    ) -> tuple[str, dict]:
        """
        Transform the video edit request into a URL and JSON data.

        Returns:
            Tuple[str, Dict]: (url, data) for the POST request
        """
        raise NotImplementedError("video edit is not supported for this provider")

    def transform_video_edit_response(
        self,
        raw_response: httpx.Response,
        logging_obj: LiteLLMLoggingObj,
        custom_llm_provider: str | None = None,
        request_data: dict | None = None,
    ) -> VideoObject:
        raise NotImplementedError("video edit is not supported for this provider")

    def transform_video_extension_request(
        self,
        prompt: str,
        video_id: str,
        seconds: str,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,

View on GitHub (pinned to 6c2dcb801b)

Solutions

  1. This provider does not support video edit; use a provider that does.

When it happens

Trigger: Thrown at litellm/llms/base_llm/videos/transformation.py:344 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of BerriAI/litellm@6c2dcb801b (2026-08-15). Data as JSON: /api/errors/70ba2e9f7d459b95. Report an issue: GitHub.