Interface: GoogleImagenParams
@providerprotocol/ai / google / GoogleImagenParams
Interface: GoogleImagenParams
Section titled “Interface: GoogleImagenParams”Defined in: src/providers/google/image.ts:31
Google Imagen generation parameters. Passed through unchanged to the API.
Properties
Section titled “Properties”addWatermark?
Section titled “addWatermark?”
optionaladdWatermark:boolean
Defined in: src/providers/google/image.ts:43
Add invisible SynthID watermark (default: true)
aspectRatio?
Section titled “aspectRatio?”
optionalaspectRatio:"1:1"|"3:4"|"4:3"|"9:16"|"16:9"
Defined in: src/providers/google/image.ts:37
Aspect ratio
imageSize?
Section titled “imageSize?”
optionalimageSize:"1K"|"2K"
Defined in: src/providers/google/image.ts:35
Image size: ‘1K’ (1024px) or ‘2K’ (2048px)
negativePrompt?
Section titled “negativePrompt?”
optionalnegativePrompt:string
Defined in: src/providers/google/image.ts:48
Negative prompt to exclude concepts.
Deprecated
Section titled “Deprecated”Not supported on Imagen 3.0-002+ and Imagen 4 models. Will be ignored.
personGeneration?
Section titled “personGeneration?”
optionalpersonGeneration:"dont_allow"|"allow_adult"|"allow_all"
Defined in: src/providers/google/image.ts:39
Person generation setting
safetyFilterLevel?
Section titled “safetyFilterLevel?”
optionalsafetyFilterLevel:"block_low_and_above"|"block_medium_and_above"|"block_only_high"|"block_none"
Defined in: src/providers/google/image.ts:41
Safety filter level
sampleCount?
Section titled “sampleCount?”
optionalsampleCount:number
Defined in: src/providers/google/image.ts:33
Number of images to generate (1-4)