GenerateImageBriaParams
ug-js-sdk / GenerateImageBriaParams
Interface: GenerateImageBriaParams
Defined in: conversation-manager/types.ts:72
Parameters specific to Bria image generation.
Examples
const params: GenerateImageBriaParams = {
prompt: 'A futuristic city',
generation_type: 'fast',
aspect_ratio: '1:1',
};
const params: GenerateImageBriaParams = {
prompt: 'Make it look like winter',
image: base64EncodedSourceImage,
strength: 0.7,
};
Properties
prompt
prompt:
string
Defined in: conversation-manager/types.ts:74
The text prompt describing the image to generate
negative_prompt?
optionalnegative_prompt:string
Defined in: conversation-manager/types.ts:76
Text describing what to avoid in the generated image
aspect_ratio?
optionalaspect_ratio:string
Defined in: conversation-manager/types.ts:78
Aspect ratio for the generated image (e.g., '16:9', '1:1')
seed?
optionalseed:number
Defined in: conversation-manager/types.ts:80
Seed for reproducible generation
inference_steps?
optionalinference_steps:number
Defined in: conversation-manager/types.ts:82
Number of inference steps for the generation process
generation_type?
optionalgeneration_type:"fast"|"tailored"
Defined in: conversation-manager/types.ts:84
Generation type: 'fast' for quick generation, 'tailored' for higher quality
model?
optionalmodel:string
Defined in: conversation-manager/types.ts:86
Specific model to use (required for 'tailored' generation type)
image?
optionalimage:string
Defined in: conversation-manager/types.ts:88
Base64 encoded image for image-to-image generation
strength?
optionalstrength:number
Defined in: conversation-manager/types.ts:90
Strength of the transformation for image-to-image (0.0 to 1.0)
guidance_scale?
optionalguidance_scale:number
Defined in: conversation-manager/types.ts:92
Guidance scale for generation (higher = more adherence to prompt)