BerriAI/litellm · error · NotImplementedError
video get character is not supported for Gemini
Error message
video get character is not supported for Gemini
What it means
transform_video_get_character_request for Gemini raises NotImplementedError because Veo has no character store to query — there are no character ids to fetch. The request hook rejects the call before any HTTP traffic happens.
Solutions
- Gate character lookups per provider and hide them for Gemini.
- Keep character metadata (prompts, reference videos) on your side if you emulate characters.
- Use a provider that implements get_character when the feature is required.
Defensive patterns
Strategy: try-catch
Validate before calling
def provider_supports_video_characters(model: str) -> bool:
return not model.lower().startswith(("gemini/", "vedo/")) Type guard
def can_get_character(model: str) -> bool:
return not model.lower().startswith(("gemini/", "vedo/")) Try / catch
try:
char = litellm.video_get_character(model=model, character_id=cid)
except NotImplementedError:
char = local_character_store.get(cid) # fall back to your own metadata Prevention
- Store character metadata locally when emulating characters for Veo.
- Disable character detail views for providers without the API.
When it happens
Trigger: Calling litellm.video_get_character(character_id=...) with a Gemini/Veo model/provider configuration.
Common situations: Detail pages or pickers listing characters in multi-provider apps that include Gemini; ported code from providers with character APIs.
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
- video create character is not supported for Gemini
- Video delete is not supported by Google Veo.
- Video delete is not supported by Google Veo. Videos are…
- video edit is not supported for Gemini
- video extension is not supported for Gemini
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/e34b2e10bd8158e8.
Report an issue: GitHub.
Appendix: source
Thrown at litellm/llms/gemini/videos/transformation.py:557
"Video delete is not supported by Google Veo. Videos are automatically cleaned up by Google."
)
def transform_video_delete_response(
self,
raw_response: httpx.Response,
logging_obj: LiteLLMLoggingObj,
) -> VideoObject:
"""Video delete is not supported."""
raise NotImplementedError("Video delete is not supported by Google Veo.")
def transform_video_create_character_request(self, name, video, api_base, litellm_params, headers):
raise NotImplementedError("video create character is not supported for Gemini")
def transform_video_create_character_response(self, raw_response, logging_obj):
raise NotImplementedError("video create character is not supported for Gemini")
def transform_video_get_character_request(self, character_id, api_base, litellm_params, headers):
raise NotImplementedError("video get character is not supported for Gemini")
def transform_video_get_character_response(self, raw_response, logging_obj):
raise NotImplementedError("video get character is not supported for Gemini")
def transform_video_edit_request(
self,
prompt,
video_id,
api_base,
litellm_params,
headers,
extra_body=None,
prefetched_source_data=None,
):
raise NotImplementedError("video edit is not supported for Gemini")
def transform_video_edit_response(
self,View on GitHub (pinned to 77b7c6c40c)