"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .videoresponse import VideoResponse, VideoResponseTypedDict
import httpx
from livepeer_ai.types import BaseModel
from typing import Optional, TypedDict
from typing_extensions import NotRequired


class GenImageToVideoResponseTypedDict(TypedDict):
    content_type: str
    r"""HTTP response content type for this operation"""
    status_code: int
    r"""HTTP response status code for this operation"""
    raw_response: httpx.Response
    r"""Raw HTTP response; suitable for custom response parsing"""
    video_response: NotRequired[VideoResponseTypedDict]
    r"""Successful Response"""


class GenImageToVideoResponse(BaseModel):
    content_type: str
    r"""HTTP response content type for this operation"""

    status_code: int
    r"""HTTP response status code for this operation"""

    raw_response: httpx.Response
    r"""Raw HTTP response; suitable for custom response parsing"""

    video_response: Optional[VideoResponse] = None
    r"""Successful Response"""
