chat • AI Agent SDK

chat: Generate an image from the prompt.

chat

Method

</div>

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

Generate an image from the prompt.

Signature

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

Parameters

ParamField str

No description available.

Returns

ResponseField Dict[str, Any]

The result of the operation.

Uses

  • generate_image

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 213


Related Documentation