Skip to main content

GenerateImageRequest

ug-js-sdk


ug-js-sdk / GenerateImageRequest

Interface: GenerateImageRequest

Defined in: types/index.ts:632

Extends

  • Request

Properties

type

type: "request" | "stream"

Defined in: types/index.ts:455

Request type: 'request' for single response, 'stream' for streaming

Inherited from

Request.type


uid

uid: string

Defined in: types/index.ts:459

Unique identifier for request/response correlation

Inherited from

Request.uid


client_start_time?

optional client_start_time: string

Defined in: types/index.ts:461

ISO timestamp when client sent the request

Inherited from

Request.client_start_time


server_start_time?

optional server_start_time: string

Defined in: types/index.ts:463

ISO timestamp when server started processing

Inherited from

Request.server_start_time


kind

kind: "generate_image"

Defined in: types/index.ts:633

The kind of request (e.g., 'interact', 'authenticate')

Overrides

Request.kind


prompt

prompt: string

Defined in: types/index.ts:634


provider

provider: "bria" | "replicate"

Defined in: types/index.ts:635


negative_prompt?

optional negative_prompt: string

Defined in: types/index.ts:638


aspect_ratio?

optional aspect_ratio: string

Defined in: types/index.ts:639


seed?

optional seed: number

Defined in: types/index.ts:640


inference_steps?

optional inference_steps: number

Defined in: types/index.ts:641


generation_type?

optional generation_type: "fast" | "tailored"

Defined in: types/index.ts:644


model?

optional model: string

Defined in: types/index.ts:645


image?

optional image: string

Defined in: types/index.ts:646


strength?

optional strength: number

Defined in: types/index.ts:647


guidance_scale?

optional guidance_scale: number

Defined in: types/index.ts:648


lora_weights?

optional lora_weights: string

Defined in: types/index.ts:651


lora_scale?

optional lora_scale: number

Defined in: types/index.ts:652