GenerateImageParams
ug-js-sdk / GenerateImageParams
Type Alias: GenerateImageParams
GenerateImageParams =
object
Defined in: conversation-manager/types.ts:7
Parameters for image generation via the REST API. These parameters work with both Bria and Replicate providers.
Properties
prompt
prompt:
string
Defined in: conversation-manager/types.ts:9
The text prompt describing the image to generate
provider
provider:
"bria"|"replicate"
Defined in: conversation-manager/types.ts:11
The image generation provider to use
negative_prompt?
optionalnegative_prompt:string
Defined in: conversation-manager/types.ts:15
Text describing what to avoid in the generated image
aspect_ratio?
optionalaspect_ratio:string
Defined in: conversation-manager/types.ts:17
Aspect ratio for the generated image (e.g., '16:9', '1:1')
seed?
optionalseed:number
Defined in: conversation-manager/types.ts:19
Seed for reproducible generation
inference_steps?
optionalinference_steps:number
Defined in: conversation-manager/types.ts:21
Number of inference steps for the generation process
generation_type?
optionalgeneration_type:"fast"|"tailored"
Defined in: conversation-manager/types.ts:25
Generation type for Bria: 'fast' for quick generation, 'tailored' for higher quality
model?
optionalmodel:string
Defined in: conversation-manager/types.ts:27
Specific model to use for generation
image?
optionalimage:Base64
Defined in: conversation-manager/types.ts:29
Base64 encoded image for image-to-image generation
strength?
optionalstrength:number
Defined in: conversation-manager/types.ts:31
Strength of the transformation for image-to-image (0.0 to 1.0)
guidance_scale?
optionalguidance_scale:number
Defined in: conversation-manager/types.ts:33
Guidance scale for generation (higher = more adherence to prompt)
lora_weights?
optionallora_weights:string
Defined in: conversation-manager/types.ts:37
URL to LoRA weights for Replicate models
lora_scale?
optionallora_scale:number
Defined in: conversation-manager/types.ts:39
Scale factor for LoRA weights (typically -1 to 3)