Skip to main content

agenerate_image

AsyncMethod
This is a method of the ImageAgent class in the image_agent module.
Offload the synchronous generation path to keep the event loop responsive.

Signature

Parameters

str
required
No description available.

Returns

Dict[str, Any]
The result of the operation.

Uses

  • asyncio.to_thread

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 183

Image Generation

Multimodal