edit
Method
This is a method of the ImageAgent class in the image_agent module.Edit an existing image with a prompt.
Signature
Parameters
str
required
Path or URL to the image to edit
str
required
Description of the desired edits
Optional
Optional mask image (transparent areas will be edited)
int
default:"1"
Number of images to generate
Optional
Output image size **kwargs: Additional provider-specific parameters
Returns
Dict[str, Any]
ImageResponse with edited image(s)
Usage
Uses
litellm.image_edit
Used By
Source
View on GitHub
praisonaiagents/agent/image_agent.py at line 230
