GenerateImageRequest
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?
optionalclient_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?
optionalserver_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?
optionalnegative_prompt:string
Defined in: types/index.ts:685
aspect_ratio?
optionalaspect_ratio:string
Defined in: types/index.ts:686
seed?
optionalseed:number
Defined in: types/index.ts:687
inference_steps?
optionalinference_steps:number
Defined in: types/index.ts:688
generation_type?
optionalgeneration_type:"fast"|"tailored"
Defined in: types/index.ts:691
model?
optionalmodel:string
Defined in: types/index.ts:692
image?
optionalimage:string
Defined in: types/index.ts:693
strength?
optionalstrength:number
Defined in: types/index.ts:694
guidance_scale?
optionalguidance_scale:number
Defined in: types/index.ts:695
lora_weights?
optionallora_weights:string
Defined in: types/index.ts:698
lora_scale?
optionallora_scale:number
Defined in: types/index.ts:699