GenerateImageRequest
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?
optionalclient_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?
optionalserver_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?
optionalnegative_prompt:string
Defined in: types/index.ts:638
aspect_ratio?
optionalaspect_ratio:string
Defined in: types/index.ts:639
seed?
optionalseed:number
Defined in: types/index.ts:640
inference_steps?
optionalinference_steps:number
Defined in: types/index.ts:641
generation_type?
optionalgeneration_type:"fast"|"tailored"
Defined in: types/index.ts:644
model?
optionalmodel:string
Defined in: types/index.ts:645
image?
optionalimage:string
Defined in: types/index.ts:646
strength?
optionalstrength:number
Defined in: types/index.ts:647
guidance_scale?
optionalguidance_scale:number
Defined in: types/index.ts:648
lora_weights?
optionallora_weights:string
Defined in: types/index.ts:651
lora_scale?
optionallora_scale:number
Defined in: types/index.ts:652