Skip to main content

generate_image

Method
This is a method of the ImageAgent class in the image_agent module.
Generate an image based on the provided prompt.

Signature

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

Parameters

prompt
str
required
No description available.

Returns

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

Uses

  • litellm.get_llm_provider
  • logging.debug
  • Progress
  • SpinnerColumn
  • TextColumn
  • progress.add_task
  • litellm
  • logging.error

Used By

Source

View on GitHub

praisonaiagents/agent/image_agent.py at line 128