BerriAI/litellm · error · NotImplementedError

video get character is not supported for this provider

Error message

video get character is not supported for this provider

What it means

Optional-capability stub: transform_video_get_character_request raises by default because this video provider does not implement character retrieval. It fires when a get-character request is routed to a provider without that capability.

Solutions

  1. Use a video provider that supports character retrieval.
  2. Check the provider documentation for supported video operations before calling.
  3. Remove the character lookup for providers without this capability.
Defensive patterns

Strategy: fallback

When it happens

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

Common situations: See trigger scenarios.


AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18). Data as JSON: /api/errors/350d32386dc329ca. Report an issue: GitHub.

Appendix: source

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

        raw_response: httpx.Response,
        logging_obj: LiteLLMLoggingObj,
    ) -> CharacterObject:
        raise NotImplementedError("video create character is not supported for this provider")

    def transform_video_get_character_request(
        self,
        character_id: str,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
    ) -> tuple[str, dict]:
        """
        Transform the video get character request into a URL and params.

        Returns:
            Tuple[str, Dict]: (url, params) for the GET request
        """
        raise NotImplementedError("video get character is not supported for this provider")

    def transform_video_get_character_response(
        self,
        raw_response: httpx.Response,
        logging_obj: LiteLLMLoggingObj,
    ) -> CharacterObject:
        raise NotImplementedError("video get character is not supported for this provider")

    def get_video_edit_prefetch_params(
        self,
        video_id: str,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
    ) -> tuple[str, dict] | None:
        """
        Return (url, body) for a pre-fetch HTTP call that must be made before
        transform_video_edit_request, or None if no pre-fetch is required.

View on GitHub (pinned to 77b7c6c40c)