generate • AI Agent SDK

generate: Alias for generate_image() – for consistency with VideoAgent/AudioAgent.

generate

Method

</div>

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

Alias for generate_image() – for consistency with VideoAgent/AudioAgent.

Signature

python
def generate(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 205