Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.simular.ai/llms.txt

Use this file to discover all available pages before exploring further.

Class: GroundingModel

Defined in: index.d.ts:436 A visual-language grounding model that can locate concepts on images.

Constructors

Constructor

new GroundingModel(): GroundingModel

Returns

GroundingModel

Accessors

name

Get Signature

get name(): string
Defined in: index.d.ts:466 The wire-level model identifier sent in the request body.
Returns
string

Methods

ground()

ground(target, concept): [number, number]
Defined in: index.d.ts:480 Locate concept on target and return zero-based pixel coordinates [x, y]:
  • If target is an Image, coordinates are in image-space. Normalized model outputs are scaled linearly onto [0, width - 1] and [0, height - 1].
  • If target is a Screenshot, coordinates are in global physical screen space — suitable to feed directly into primitives that expect global screen coordinates (e.g. moveTo, clickAt).
Equivalent to target.ground(model, concept).

Parameters

target
Image | Screenshot
concept
string

Returns

[number, number]

availableAliases()

static availableAliases(): string[]
Defined in: index.d.ts:464 Every VLM model alias accepted by byAlias on this machine, deduplicated and sorted alphabetically. Use to discover what aliases the loaded config (bundled defaults plus any user provider files advertises.

Returns

string[]

byAlias()

static byAlias(alias): GroundingModel
Defined in: index.d.ts:448 Resolve a model alias against the loaded config (e.g. "ui_venus_30b", "ui_tars_7b", or any alias declared by a user provider). Throws if the alias is unknown.

Parameters

alias
string

Returns

GroundingModel

default()

static default(): GroundingModel
Defined in: index.d.ts:442 First VLM model advertised by the first VLM provider in the loaded config. Throws if no provider in the loaded config advertises a VLM service.

Returns

GroundingModel

uiTars7B()

static uiTars7B(): GroundingModel
Defined in: index.d.ts:453 Convenience shim for the bundled ui_tars_7b alias. Throws if no provider advertises that alias.

Returns

GroundingModel

uiVenus30B()

static uiVenus30B(): GroundingModel
Defined in: index.d.ts:458 Convenience shim for the bundled ui_venus_30b alias. Throws if no provider advertises that alias.

Returns

GroundingModel