OpenRouterImageConfig
Defined in: core/src/images.ts:98
Extends
Section titled “Extends”ImageConfig.Attribution
Properties
Section titled “Properties”apiKey
Section titled “apiKey”apiKey: string;Defined in: core/src/images.ts:99
baseUrl?
Section titled “baseUrl?”optional baseUrl?: string;Defined in: core/src/images.ts:100
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: FetchLike;Defined in: core/src/images.ts:79
Inherited from
Section titled “Inherited from”ImageConfig.fetchImplmodel: string;Defined in: core/src/images.ts:76
Inherited from
Section titled “Inherited from”ImageConfig.modelsiteName?
Section titled “siteName?”optional siteName?: string;Defined in: core/src/attribution.ts:15
App name, sent as X-Title (e.g. “Your App”).
Inherited from
Section titled “Inherited from”siteUrl?
Section titled “siteUrl?”optional siteUrl?: string;Defined in: core/src/attribution.ts:13
Site URL, sent as HTTP-Referer (e.g. “https://your.app”).
Inherited from
Section titled “Inherited from”timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number;Defined in: core/src/images.ts:78
Time limit per request. Defaults to 180 seconds.
Inherited from
Section titled “Inherited from”ImageConfig.timeoutMs