Skip to main content

ImageComponent

Complete pinned component source and the entry file its engine loads.

roleRole (string)required

Typed loader role, never an arbitrary CLI flag.

Possible values: [model, diffusion, vae, text_encoder, text_encoder_vision, tokenizer, clip_l, clip_g, t5xxl]

repositoryRepository (string)required

Hub repository hosting this component.

Possible values: Value must match regular expression ^[^/\s]+/[^/\s]+$

revisionRevision (string)required

Immutable Hub commit.

Possible values: Value must match regular expression ^[0-9a-f]{40}$

entryFileEntryfile (string)required

Path of the loader entry file among the selected files.

files object[]required

All files required by this component.

Possible values: >= 1

  • Array [
  • pathPath (string)required

    Canonical repository-relative POSIX path.

    sizeBytesSizebytes (integer)required

    Pinned upstream file size in bytes.

    Possible values: >= 0

    objectIdObjectid (string)required

    Immutable Hub object identity, checked during staging.

    Possible values: Value must match regular expression ^(?:sha256:[0-9a-f]{64}|git-sha1:[0-9a-f]{40})$

  • ]
  • tensorFormatTensorformat (string)

    Intrinsic serialized tensor packing; runtime precision is engine-specific.

    Possible values: [native, modelopt_fp8, modelopt_nvfp4, flux3_diffusers]

    Default value: native
    parameterCountParametercount (integer)

    Logical scalar weight count before packing, excluding quantization scales.

    Possible values: >= 0

    Default value: 0
    ImageComponent
    {
    "role": "model",
    "repository": "string",
    "revision": "string",
    "entryFile": "string",
    "files": [
    {
    "path": "string",
    "sizeBytes": 0,
    "objectId": "string"
    }
    ],
    "tensorFormat": "native",
    "parameterCount": 0
    }