{"record":{"id":"5c5c3eee15324dc9","repo":"BerriAI/litellm","slug":"video-remix-is-not-supported-by-google-veo","errorCode":null,"errorMessage":"Video remix is not supported by Google Veo.","messagePattern":"Video remix is not supported by Google Veo\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/gemini/videos/transformation.py","lineNumber":499,"sourceCode":"        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n        extra_body: dict[str, Any] | None = None,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Video remix is not supported by Veo API.\n        \"\"\"\n        raise NotImplementedError(\n            \"Video remix is not supported by Google Veo. Please use video_generation() to create new videos.\"\n        )\n\n    def transform_video_remix_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        custom_llm_provider: str | None = None,\n    ) -> VideoObject:\n        \"\"\"Video remix is not supported.\"\"\"\n        raise NotImplementedError(\"Video remix is not supported by Google Veo.\")\n\n    def transform_video_list_request(\n        self,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n        after: str | None = None,\n        limit: int | None = None,\n        order: str | None = None,\n        extra_query: dict[str, Any] | None = None,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Video list is not supported by Veo API.\n        \"\"\"\n        raise NotImplementedError(\n            \"Video list is not supported by Google Veo. \"\n            \"Use the operations endpoint directly if you need to list operations.\"\n        )","sourceCodeStart":481,"sourceCodeEnd":517,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/gemini/videos/transformation.py#L481-L517","documentation":"The response-side stub of the remix flow for Gemini/Veo. Veo has no remix endpoint, so even if a remix request somehow got through, parsing its 'response' is explicitly NotImplementedError. Together with the request-side stub it guarantees the whole remix path is off-limits for this provider.","triggerScenarios":"Any code path that reaches transform_video_remix_response with custom_llm_provider='gemini' — e.g. a custom router or fork that bypassed the request-side guard, or future LiteLLM plumbing that calls response transforms generically.","commonSituations":"Custom middleware that replays a recorded remix exchange against Gemini; provider-agnostic response handlers that assume all transform hooks exist.","solutions":["Remove or conditionally skip the Gemini branch of your remix handling; only use video_generation for Veo.","Catch NotImplementedError at the orchestration layer and surface a clean 'unsupported by provider' message.","Switch to a provider whose API actually supports remix for that workflow."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":"def should_handle_remix_response(model: str) -> bool:\n    return not model.lower().startswith((\"gemini/\", \"vedo/\"))","typeGuard":null,"tryCatchPattern":"try:\n        video = handler.transform_video_remix_response(raw, logging_obj)\nexcept NotImplementedError:\n    logger.debug(\"remix response unsupported for this provider\")","preventionTips":["Never exercise response transforms for operations the provider does not support.","Keep request-side capability checks as the single gate so response stubs stay unreachable."],"tags":["veo","gemini","video-remix","not-implemented","unsupported-operation"],"backgroundTag":"unsupported-operation","analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}