> ## 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.

# agenerate • AI Agent SDK

> agenerate: Async alias for generate_image().

# agenerate

<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 alias for generate\_image().

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def agenerate(prompt: str) -> Dict[str, Any]
```

## Parameters

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

### Returns

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

## Uses

* `generate_image`

## Used By

* [`VideoAgent.astart`](../functions/VideoAgent-astart)
* [`VideoAgent.arun`](../functions/VideoAgent-arun)

## Source

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