1. Receive image generation or editing request with a prompt.
2. Determine if it's a generation or editing task.
3. Prepare the appropriate command with the prompt, input image paths (if any), and desired resolution.
4. Execute the `generate_image.py` script using the `uv run` command.
5. Save the generated or edited image to the specified file path.
6. Report the saved file path to the user.