Skip to main content

GenerateImageRequest

ug-js-sdk


ug-js-sdk / GenerateImageRequest

Interface: GenerateImageRequest

Defined in: types/index.ts:679

Extends

  • Request

Properties

type

type: "request" | "stream"

Defined in: types/index.ts:498

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

Inherited from

Request.type


uid

uid: string

Defined in: types/index.ts:502

Unique identifier for request/response correlation

Inherited from

Request.uid


client_start_time?

optional client_start_time: string

Defined in: types/index.ts:504

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:506

ISO timestamp when server started processing

Inherited from

Request.server_start_time


kind

kind: "generate_image"

Defined in: types/index.ts:680

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

Overrides

Request.kind


prompt

prompt: string

Defined in: types/index.ts:681


provider

provider: "bria" | "replicate"

Defined in: types/index.ts:682


negative_prompt?

optional negative_prompt: string

Defined in: types/index.ts:685


aspect_ratio?

optional aspect_ratio: string

Defined in: types/index.ts:686


seed?

optional seed: number

Defined in: types/index.ts:687


inference_steps?

optional inference_steps: number

Defined in: types/index.ts:688


generation_type?

optional generation_type: "fast" | "tailored"

Defined in: types/index.ts:691


model?

optional model: string

Defined in: types/index.ts:692


image?

optional image: string

Defined in: types/index.ts:693


strength?

optional strength: number

Defined in: types/index.ts:694


guidance_scale?

optional guidance_scale: number

Defined in: types/index.ts:695


lora_weights?

optional lora_weights: string

Defined in: types/index.ts:698


lora_scale?

optional lora_scale: number

Defined in: types/index.ts:699