BerriAI/litellm · error · NotImplementedError

video create character is not supported for this provider

Error message

video create character is not supported for this provider

What it means

Optional-capability stub: transform_video_create_character_request raises by default because this video provider does not implement character creation. It fires when a character-creation request is routed to a provider whose config never overrode this method.

Solutions

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

Strategy: fallback

When it happens

Trigger: Thrown at litellm/llms/base_llm/videos/transformation.py:280 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/e78562e7de357040. Report an issue: GitHub.

Appendix: source

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

        custom_llm_provider: str | None = None,
    ) -> VideoObject:
        pass

    def transform_video_create_character_request(
        self,
        name: str,
        video: Any,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
    ) -> tuple[str, list]:
        """
        Transform the video create character request into a URL and files list (multipart).

        Returns:
            Tuple[str, list]: (url, files_list) for the multipart POST request
        """
        raise NotImplementedError("video create character is not supported for this provider")

    def transform_video_create_character_response(
        self,
        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.

View on GitHub (pinned to 77b7c6c40c)