BerriAI/litellm · error · NotImplementedError

video create character is not supported for RunwayML

Error message

video create character is not supported for RunwayML

What it means

Capability stub in the RunwayML video config: character creation is not part of RunwayML's video API, so transform_video_create_character_request raises NotImplementedError when invoked.

Source

Thrown at litellm/llms/runwayml/videos/transformation.py:601

        if "progress" in response_data:
            video_data["progress"] = response_data["progress"]

        if "failureCode" in response_data or "failure" in response_data:
            video_data["error"] = {
                "code": response_data.get("failureCode", "unknown"),
                "message": response_data.get("failure", "Video generation failed"),
            }

        video_obj: Final = VideoObject(**video_data)

        if custom_llm_provider and video_obj.id:
            video_obj.id = encode_video_id_with_provider(video_obj.id, custom_llm_provider, None)

        return video_obj

    def transform_video_create_character_request(self, name, video: object, api_base, litellm_params, headers):
        raise NotImplementedError("video create character is not supported for RunwayML")

    def transform_video_create_character_response(self, raw_response, logging_obj):
        raise NotImplementedError("video create character is not supported for RunwayML")

    def transform_video_get_character_request(self, character_id, api_base, litellm_params, headers):
        raise NotImplementedError("video get character is not supported for RunwayML")

    def transform_video_get_character_response(self, raw_response, logging_obj):
        raise NotImplementedError("video get character is not supported for RunwayML")

    def transform_video_edit_request(
        self,
        prompt,
        video_id,
        api_base,
        litellm_params,
        headers,
        extra_body=None,

View on GitHub (pinned to 77b7c6c40c)

Solutions

  1. RunwayML does not support create character; use a provider that supports it.

Example fix

# choose a provider supporting video character creation.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Triggered when attempting video create character, which RunwayML does not support.

Common situations: See trigger scenarios.


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