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) -> ImageResultParameters
ParamField
strNo description available.
Returns
ResponseField
ImageResultThe result of the operation.
Uses
litellm.get_llm_providerlogging.debugProgressSpinnerColumnTextColumnprogress.add_tasklitellmImageResultlogging.error
Used By
Source
View on GitHubpraisonaiagents/agent/image_agent.py at line 157