Skip to main content

GenerateImageReplicateParams

ug-js-sdk


ug-js-sdk / GenerateImageReplicateParams

Type Alias: GenerateImageReplicateParams

GenerateImageReplicateParams = object

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

Parameters specific to Replicate image generation.

Properties

prompt

prompt: string

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

The text prompt describing the image to generate


negative_prompt?

optional negative_prompt: string

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

Text describing what to avoid in the generated image


aspect_ratio?

optional aspect_ratio: string

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

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


seed?

optional seed: number

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

Seed for reproducible generation


inference_steps?

optional inference_steps: number

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

Number of inference steps for the generation process


model?

optional model: string

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

Specific model to use for generation


image?

optional image: Base64

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

Base64 encoded image for image-to-image generation


strength?

optional strength: number

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

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:89

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


lora_weights?

optional lora_weights: string

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

URL to LoRA weights


lora_scale?

optional lora_scale: number

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

Scale factor for LoRA weights (typically -1 to 3)