polym-eval-score-image-gemini

Official

Score images with Gemini in minutes

Authorbyteplus-sa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It removes the manual effort of visually grading AI-generated images by producing structured, dimension-level scores and reasons automatically.

Core Features & Use Cases

  • Pointwise grading: Scores a single generated image across multiple quality dimensions on a 0-5 scale, plus an overall rationale.
  • Pairwise A/B comparison: Compares two images and returns dimension-wise winners (A, B, or tie) with a short justification.
  • Backend flexibility: Uses Vertex AI (default) or ByteDance AIDP through OpenAI-compatible APIs.
  • Optional reference images: Adds context for identity, brand, style, and edit consistency evaluation when reference images are provided.

Quick Start

Run the pointwise evaluation with Vertex AI using prompt and generated image file by executing the command: "python scripts/evaluate.py --mode pointwise --prompt "A golden retriever sitting in a garden" --image generated.png".

Dependency Matrix

Required Modules

google-genaiPillowpython-dotenvopenai>=2.0.0

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: polym-eval-score-image-gemini
Download link: https://github.com/byteplus-sa/polym/archive/main.zip#polym-eval-score-image-gemini

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.