Skip to main content

GenerateImageBriaParams

ug-js-sdk


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?

optional negative_prompt: string

Defined in: conversation-manager/types.ts:76

Text describing what to avoid in the generated image


aspect_ratio?

optional aspect_ratio: string

Defined in: conversation-manager/types.ts:78

Aspect ratio for the generated image (e.g., '16:9', '1:1')


seed?

optional seed: number

Defined in: conversation-manager/types.ts:80

Seed for reproducible generation


inference_steps?

optional inference_steps: number

Defined in: conversation-manager/types.ts:82

Number of inference steps for the generation process


generation_type?

optional generation_type: "fast" | "tailored"

Defined in: conversation-manager/types.ts:84

Generation type: 'fast' for quick generation, 'tailored' for higher quality


model?

optional model: string

Defined in: conversation-manager/types.ts:86

Specific model to use (required for 'tailored' generation type)


image?

optional image: string

Defined in: conversation-manager/types.ts:88

Base64 encoded image for image-to-image generation


strength?

optional strength: number

Defined in: conversation-manager/types.ts:90

Strength of the transformation for image-to-image (0.0 to 1.0)


guidance_scale?

optional guidance_scale: number

Defined in: conversation-manager/types.ts:92

Guidance scale for generation (higher = more adherence to prompt)