VideoInput

org.llm4s.llmconnect.model.VideoInput
See theVideoInput companion object
@Stable
final case class VideoInput extends MMInput

Video as a sequence of RGB frames (byte arrays), plus basic shape & fps.

Attributes

Companion
object
Source
EmbeddingRequest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MMInput
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def bytesApprox: Long

Approximate payload size in bytes (for logging/back-pressure).

Approximate payload size in bytes (for logging/back-pressure).

Attributes

Definition Classes
Source
EmbeddingRequest.scala
def withChannels(channels: Int): VideoInput

Sets the number of channels.

Sets the number of channels.

Attributes

Source
EmbeddingRequest.scala
def withFps(fps: Int): VideoInput

Sets the frame rate.

Sets the frame rate.

Attributes

Source
EmbeddingRequest.scala
def withFrameHeight(frameHeight: Int): VideoInput

Sets the frame height in pixels.

Sets the frame height in pixels.

Attributes

Source
EmbeddingRequest.scala
def withFrameWidth(frameWidth: Int): VideoInput

Sets the frame width in pixels.

Sets the frame width in pixels.

Attributes

Source
EmbeddingRequest.scala
def withFrames(frames: Seq[Array[Byte]]): VideoInput

Sets the frames.

Sets the frames.

Attributes

Source
EmbeddingRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product