Skip to content

Conversation

@anveshmupparaju
Copy link
Contributor

@anveshmupparaju anveshmupparaju commented Oct 15, 2025

This PR introduces a new Flow Action named "Compare Images with Gemini", which allows users to compare two images stored in the sys_attachment table using the Gemini model.

The action supports an optional prompt to customize the comparison output.

Features

  • Accepts two sys_attachment records as input
  • Uses Gemini model (e.g., gemini-pro) for image analysis
  • Optional prompt input for tailored comparison
  • Returns a string-based analysis of image differences and similarities

Use Cases

  • Visual regression testing
  • UI/UX design comparisons
  • Document or screenshot change tracking

Gemini Vision Docs

https://ai.google.dev/gemini-api/docs/image-understanding

How to get an API Key

…rences between two sys_attachment images using Gemini model
@github-actions
Copy link

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@snamjosh snamjosh self-assigned this Oct 15, 2025
@snamjosh
Copy link
Contributor

snamjosh commented Oct 15, 2025

Thank you for your contribution.

@snamjosh snamjosh merged commit a701ac8 into ServiceNowDevProgram:main Oct 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants