Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.13 KB

File metadata and controls

43 lines (25 loc) · 1.13 KB

NeuroLink API Reference v9.62.0


NeuroLink API Reference / ImageWithAltText

Type Alias: ImageWithAltText

ImageWithAltText = object

Defined in: types/multimodal.ts:358

Image data with optional alt text for accessibility Use this when you need to provide alt text for screen readers and SEO

Example

const imageWithAlt: ImageWithAltText = {
  data: imageBuffer,
  altText: "A dashboard showing quarterly sales trends",
};

Properties

data

data: Buffer | string

Defined in: types/multimodal.ts:360

Image data as Buffer, base64 string, URL, or data URI


altText?

optional altText?: string

Defined in: types/multimodal.ts:362

Alternative text for accessibility (screen readers, SEO)