agenerate • AI Agent SDK

agenerate: Async alias for generate_image().

agenerate

Async

Method

</div>

This is a method of the ImageAgent class in the image_agent module.

Async alias for generate_image().

Signature

python
async def agenerate(prompt: str) -> Dict[str, Any]

Parameters

ParamField str

No description available.

Returns

ResponseField Dict[str, Any]

The result of the operation.

Uses

  • agenerate_image

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 209