ImageInput

org.llm4s.llmconnect.model.ImageInput
final case class ImageInput(width: Int, height: Int, channels: Int, data: Array[Byte]) extends MMInput

Image as raw bytes (e.g., RGB or BGR interleaved) with basic shape metadata.

Attributes

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product