Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(types): use direct FileTypes import in video schemas

Sameer Kankute94405b621812
diff --git a/litellm/types/videos/main.py b/litellm/types/videos/main.py
index 24454890fe3..880fec7640d 100644
--- a/litellm/types/videos/main.py
+++ b/litellm/types/videos/main.py
@@ -1,10 +1,9 @@
from typing import Any, Dict, List, Literal, Optional
+from openai.types.audio.transcription_create_params import FileTypes # type: ignore
from pydantic import BaseModel
from typing_extensions import TypedDict
-FileTypes = Any
-
class VideoObject(BaseModel):
"""Represents a generated video object."""