Skip to main content

module aixplain.modules.content_interval


class ContentInterval

ContentInterval(content: str, content_id: int)

method __init__

__init__(content: str, content_id: int)None

class TextContentInterval

TextContentInterval(content: str, content_id: int, start: Union[int, Tuple[int, int]], end: Union[int, Tuple[int, int]])

method __init__

__init__(
content: str,
content_id: int,
start: Union[int, Tuple[int, int]],
end: Union[int, Tuple[int, int]]
)None

class AudioContentInterval

AudioContentInterval(content: str, content_id: int, start_time: float, end_time: float)

method __init__

__init__(
content: str,
content_id: int,
start_time: float,
end_time: float
)None

class ImageContentInterval

ImageContentInterval(content: str, content_id: int, x: Union[float, List[float]], y: Union[float, List[float]], width: Optional[float] = None, height: Optional[float] = None, rotation: Optional[float] = None)

method __init__

__init__(
content: str,
content_id: int,
x: Union[float, List[float]],
y: Union[float, List[float]],
width: Optional[float] = None,
height: Optional[float] = None,
rotation: Optional[float] = None
)None

class VideoContentInterval

VideoContentInterval(content: str, content_id: int, start_time: float, end_time: float, x: Union[float, List[float], NoneType] = None, y: Union[float, List[float], NoneType] = None, width: Optional[float] = None, height: Optional[float] = None, rotation: Optional[float] = None)

method __init__

__init__(
content: str,
content_id: int,
start_time: float,
end_time: float,
x: Optional[float, List[float]] = None,
y: Optional[float, List[float]] = None,
width: Optional[float] = None,
height: Optional[float] = None,
rotation: Optional[float] = None
)None