Skip to main content

variation

Method
This is a method of the ImageAgent class in the image_agent module.
Generate variations of an existing image.

Signature

Parameters

str
required
Path or URL to the source image
int
default:"1"
Number of variations to generate
Optional
Output image size **kwargs: Additional provider-specific parameters

Returns

Dict[str, Any]
ImageResponse with image variations

Usage

Uses

  • litellm.image_variation

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 309