Interface: FluxImageProviderConfig
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:64
Configuration for the BFL (Black Forest Labs) image provider.
Example
const config: FluxImageProviderConfig = {
apiKey: process.env.BFL_API_KEY!,
defaultModelId: 'flux-pro-1.1',
pollIntervalMs: 1500,
};
Properties
apiKey
apiKey:
string
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:69
BFL API key. Sent as X-Key header on all requests.
Obtain from https://api.bfl.ml
baseURL?
optionalbaseURL:string
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:75
Base URL for the BFL API. Override for testing or proxy setups.
Default
'https://api.bfl.ml'
defaultModelId?
optionaldefaultModelId:string
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:81
Default Flux model to use when the request doesn't specify one.
Default
'flux-pro-1.1'
pollIntervalMs?
optionalpollIntervalMs:number
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:87
Milliseconds between status polls while waiting for generation.
Default
1000
timeoutMs?
optionaltimeoutMs:number
Defined in: packages/agentos/src/core/images/providers/FluxImageProvider.ts:93
Maximum milliseconds to wait for generation before timing out.
Default
120000