1. Receive user request for image generation with a descriptive prompt.
2. Extract the image description and any specified parameters (size, output path).
3. Call the Google Gemini API with the extracted information.
4. Save the generated image as a PNG file to the specified location (or default).
5. Return the file path of the generated image to the user.
6. Handle any errors during the API call or file saving process.