{"record":{"id":"e1145fda1b389bc5","repo":"BerriAI/litellm","slug":"video-remix-is-not-supported-by-google-veo-please","errorCode":null,"errorMessage":"Video remix is not supported by Google Veo. Please use video_generation() to create new videos.","messagePattern":"Video remix is not supported by Google Veo\\. Please use video_generation\\(\\) to create new videos\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/gemini/videos/transformation.py","lineNumber":488,"sourceCode":"        \"\"\"\n        Transform the Veo video content download response.\n        Returns the video bytes directly.\n        \"\"\"\n        return raw_response.content\n\n    def transform_video_remix_request(\n        self,\n        video_id: str,\n        prompt: str,\n        api_base: str,\n        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,","sourceCodeStart":470,"sourceCodeEnd":506,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/gemini/videos/transformation.py#L470-L506","documentation":"transform_video_remix_request for the Gemini/Veo provider deliberately raises NotImplementedError: Google's Veo API has no remix endpoint. Any call routed to video remix with a 'gemini/' video model hits this immediately at request-build time. The supported path is a fresh video_generation() call with the new prompt.","triggerScenarios":"Calling litellm.video_remix(model='gemini/veo-3', video_id=..., prompt=...) or equivalent remix API with any Gemini/Veo model string.","commonSituations":"Generic code written against a multi-provider video abstraction (OpenAI Sora supports remix) being pointed at Gemini; provider-agnostic workflows that assume every provider implements every operation.","solutions":["Replace the video_remix call with litellm.video_generation(model='gemini/veo-3', prompt=...) to create a new video from the updated prompt.","If you need true remixing, switch the model to a provider that supports it (e.g. an OpenAI video model via LiteLLM's video_remix).","Gate remix calls per provider before invoking them so Gemini users get a clean 'not supported' message instead of a traceback."],"exampleFix":"# before\nnew_video = litellm.video_remix(\n    model=\"gemini/veo-3\", video_id=video.id, prompt=\"make it snow\"\n)\n\n# after (Veo has no remix; generate a new video)\nnew_video = litellm.video_generation(\n    model=\"gemini/veo-3\", prompt=\"the same scene, but now it is snowing\"\n)","handlingStrategy":"try-catch","validationCode":"def provider_supports_video_remix(model: str) -> bool:\n    \"\"\"Gate remix calls before invoking the API.\"\"\"\n    return not model.startswith(\"gemini/\") and not model.startswith(\"vedo/\")","typeGuard":"def can_remix(model: str) -> bool:\n    return not model.lower().startswith((\"gemini/\", \"vedo/\"))","tryCatchPattern":"try:\n    new_video = litellm.video_remix(model=model, video_id=video_id, prompt=prompt)\nexcept NotImplementedError:\n    if model.startswith(\"gemini/\"):\n        new_video = litellm.video_generation(model=model, prompt=prompt)  # fallback path","preventionTips":["Maintain a per-provider capability matrix (remix/list/delete/edit/extension) in your app config.","Drive 'remix' UX from video_generation for providers without a remix endpoint.","Catch NotImplementedError once at the orchestration layer and map it to 'unsupported feature' responses."],"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"}