1. Receive image(s) and prompt.
2. Authenticate with Gemini API using API key.
3. Send image(s) and prompt to Gemini Pro vision model.
4. Analyze image content based on the prompt.
5. Extract relevant information (text, objects, etc.).
6. Format the analysis or extracted data.
7. Return the results to the user.