BerriAI/litellm · error · NotImplementedError

Video remix is not supported by Vertex AI Veo.

Error message

Video remix is not supported by Vertex AI Veo.

What it means

Raised by VertexVeoConfig.transform_video_remix_response. Even if a request somehow got through, the response transformation for remix on Vertex AI Veo is unimplemented and always raises NotImplementedError. The provider simply does not support remixing.

Solutions

  1. Do not call video_remix with vertex_ai at all — see error 2261
  2. If writing a custom provider integration, route remix to a provider that implements it
Defensive patterns

Strategy: validation

Validate before calling

if provider == "vertex_ai":
    raise FeatureUnavailable("video remix response transform is not implemented for vertex_ai")

Try / catch

try:
    result = config.transform_video_remix_response(raw, logging_obj)
except NotImplementedError:
    log.warning("provider lacks remix; skipping response transform")
    raise

Prevention

When it happens

Trigger: Any code path that reaches the remix response transform for a vertex_ai/veo model — normally unreachable because the request transform (error 2261) raises first; appears if you call the transformation object directly.

Common situations: Custom handler code that only wires up response transformations; copying request-building code from another provider while reusing the vertex transformation for responses.

Understand the failure class

Background: UnsupportedOperationException and "is not supported" errors: when a library deliberately refuses a call — this error's family across 30 libraries.

Related errors


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

Appendix: source

Thrown at litellm/llms/vertex_ai/videos/transformation.py:595

        litellm_params: GenericLiteLLMParams,
        headers: dict,
        extra_body: dict[str, object] | None = None,
    ) -> tuple[str, dict]:
        """
        Video remix is not supported by Veo API.
        """
        raise NotImplementedError(
            "Video remix is not supported by Vertex AI Veo. Please use video_generation() to create new videos."
        )

    def transform_video_remix_response(
        self,
        raw_response: httpx.Response,
        logging_obj: LiteLLMLoggingObj,
        custom_llm_provider: str | None = None,
    ) -> VideoObject:
        """Video remix is not supported."""
        raise NotImplementedError("Video remix is not supported by Vertex AI Veo.")

    def transform_video_list_request(
        self,
        api_base: str,
        litellm_params: GenericLiteLLMParams,
        headers: dict,
        after: str | None = None,
        limit: int | None = None,
        order: str | None = None,
        extra_query: dict[str, object] | None = None,
    ) -> tuple[str, dict]:
        """
        Video list is not supported by Veo API.
        """
        raise NotImplementedError(
            "Video list is not supported by Vertex AI Veo. "
            "Use the operations endpoint directly if you need to list operations."
        )

View on GitHub (pinned to 77b7c6c40c)