Generate Image • AI Agent SDK
generate_image: Generate an image based on the provided prompt.
generate_image
Method
</div>
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
ParamField
strNo description available.
Returns
ResponseField
Dict[str, Any]The result of the operation.
Uses
litellm.get_llm_providerlogging.debugProgressSpinnerColumnTextColumnprogress.add_tasklitellmlogging.error
Used By
Source
View on GitHubpraisonaiagents/agent/image_agent.py at line 138