Interface: FalImageProviderConfig
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:56
Configuration for the Fal.ai image provider.
Example
const config: FalImageProviderConfig = {
apiKey: process.env.FAL_API_KEY!,
defaultModelId: 'fal-ai/flux/dev',
};
Properties
apiKey
apiKey:
string
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:61
Fal.ai API key. Sent as Authorization: Key ${apiKey}.
Obtain from https://fal.ai/dashboard/keys
baseURL?
optionalbaseURL:string
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:67
Base URL for the Fal.ai queue API. Override for testing or proxy setups.
Default
'https://queue.fal.run'
defaultModelId?
optionaldefaultModelId:string
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:73
Default model to use when the request doesn't specify one.
Default
'fal-ai/flux/dev'
pollIntervalMs?
optionalpollIntervalMs:number
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:79
Milliseconds between status polls while waiting for generation.
Default
1000
timeoutMs?
optionaltimeoutMs:number
Defined in: packages/agentos/src/core/images/providers/FalImageProvider.ts:85
Maximum milliseconds to wait for generation before timing out.
Default
120000