Skip to content

Documentation / @agentick/shared / GeneratedImageBlock

Interface: GeneratedImageBlock

Defined in: blocks.ts:260

Generated image block - AI-generated image

Extends

Properties

altText?

readonly optional altText: string

Defined in: blocks.ts:264


createdAt?

readonly optional createdAt: string

Defined in: blocks.ts:58

ISO 8601 timestamp when this block was created

Inherited from

BaseContentBlock.createdAt


data

readonly data: string

Defined in: blocks.ts:262


id?

readonly optional id: string

Defined in: blocks.ts:54

Unique identifier for this block

Inherited from

BaseContentBlock.id


index?

readonly optional index: number

Defined in: blocks.ts:62

Position of this block within the message

Inherited from

BaseContentBlock.index


messageId?

readonly optional messageId: string

Defined in: blocks.ts:56

ID of the message containing this block

Inherited from

BaseContentBlock.messageId


metadata?

readonly optional metadata: Record<string, any>

Defined in: blocks.ts:64

Additional metadata

Inherited from

BaseContentBlock.metadata


mimeType

readonly mimeType: string

Defined in: blocks.ts:263

MIME type of the content (for media blocks)

Overrides

BaseContentBlock.mimeType


summary?

readonly optional summary: string

Defined in: blocks.ts:66

Human-readable summary of the content

Inherited from

BaseContentBlock.summary


type

readonly type: "generated_image" | GENERATED_IMAGE

Defined in: blocks.ts:261

Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')

Overrides

BaseContentBlock.type

Released under the ISC License.