Nanny7's picture
Initial commit: PixVerse Video Generator API with Firebase auth, MongoDB tracking, and Digital Ocean storage
534df99
from pydantic import BaseModel
from typing import Optional, Any
class APIResponse(BaseModel):
success: bool
message: str
data: Optional[Any] = None
class VideoGenerationResponse(BaseModel):
result_url: str
source_image: str
video_id: int
class HealthResponse(BaseModel):
success: bool
message: str
data: dict