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

from __future__ import annotations
from livepeer_ai.models.components import (
    httpmetadata as components_httpmetadata,
    masksresponse as components_masksresponse,
)
from livepeer_ai.types import BaseModel
import pydantic
from typing import Optional, TypedDict
from typing_extensions import Annotated, NotRequired


class GenSegmentAnything2ResponseTypedDict(TypedDict):
    http_meta: components_httpmetadata.HTTPMetadataTypedDict
    masks_response: NotRequired[components_masksresponse.MasksResponseTypedDict]
    r"""Successful Response"""


class GenSegmentAnything2Response(BaseModel):
    http_meta: Annotated[
        Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True)
    ] = None

    masks_response: Optional[components_masksresponse.MasksResponse] = None
    r"""Successful Response"""
