Interface: ImageEditInput
@providerprotocol/ai / @providerprotocol/ai / ImageEditInput
Interface: ImageEditInput
Section titled “Interface: ImageEditInput”Defined in: src/types/image.ts:80
Input for edit() operations.
Properties
Section titled “Properties”image:
Image
Defined in: src/types/image.ts:82
Base image to edit
optionalmask:Image
Defined in: src/types/image.ts:85
Mask indicating edit region (interpretation varies by provider)
prompt
Section titled “prompt”prompt:
string
Defined in: src/types/image.ts:88
Edit instruction prompt