> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# avariation • AI Agent SDK

> avariation: Async version of variation().

# avariation

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ImageAgent**](../classes/ImageAgent) class in the [**image\_agent**](../modules/image_agent) module.

Async version of variation().

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def avariation(image: str, n: int, size: Optional[str]) -> Dict[str, Any]
```

## Parameters

<ParamField query="image" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="n" type="int" required={false} default="1">
  No description available.
</ParamField>

<ParamField query="size" type="Optional" required={false}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Dict[str, Any]">
  The result of the operation.
</ResponseField>

## Uses

* `variation`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/image_agent.py#L369">
  `praisonaiagents/agent/image_agent.py` at line 369
</Card>
