BerriAI/litellm · error · NotImplementedError

video extension is not supported for RunwayML

Error message

video extension is not supported for RunwayML

What it means

Capability stub in the RunwayML video config: video extension (adding seconds to a clip) has no RunwayML endpoint, so the extension request/response transforms raise NotImplementedError.

Source

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

        self,
        raw_response,
        logging_obj,
        custom_llm_provider=None,
        request_data=None,
    ):
        raise NotImplementedError("video edit is not supported for RunwayML")

    def transform_video_extension_request(
        self,
        prompt,
        video_id,
        seconds,
        api_base,
        litellm_params,
        headers,
        extra_body=None,
    ):
        raise NotImplementedError("video extension is not supported for RunwayML")

    def transform_video_extension_response(self, raw_response, logging_obj, custom_llm_provider=None):
        raise NotImplementedError("video extension is not supported for RunwayML")

    def get_error_class(self, error_message: str, status_code: int, headers: dict | httpx.Headers) -> BaseLLMException:
        from ...base_llm.chat.transformation import BaseLLMException

        raise BaseLLMException(
            status_code=status_code,
            message=error_message,
            headers=headers,
        )

View on GitHub (pinned to 77b7c6c40c)

Solutions

  1. RunwayML does not support video extension; use a provider that supports it.

Example fix

# choose a provider supporting video extension.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Triggered when attempting video extension, 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/fb315f14109970ae. Report an issue: GitHub.