Skip to main content

Interface: FluxOptions

Hierarchy

Properties

height

Optional height: number

Must be a multiple of 32. Min 256, max 1440 - default to 768


modelName

modelName: "flux-pro-1.1"

Overrides

BaseAiGenerateImageOptions.modelName


prompt_upsampling

Optional prompt_upsampling: boolean

Whether to modify the prompt for more creative generation - default to false


safety_tolerance

Optional safety_tolerance: number

1 is most strict and 5 is most permissive


seed

Optional seed: number

Random seed. Set for reproducible generation


width

Optional width: number

Must be a multiple of 32. Min 256, max 1440 - default to 1024