b-open-io/gemskills/upscale-image

Claude Code and agent skill by b-open-io/gemskills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

This skill should be used when the user asks to "upscale an image", "increase image resolution", "make image bigger", "enlarge image", or "enhance image resolution". Requires Vertex AI credentials.

Install

npx vskill@latest install b-open-io/gemskills/upscale-image

SKILL.md

Upscale Image

Upscale images using Imagen on Vertex AI.

Prerequisites

This skill requires Vertex AI credentials (not GEMINI_API_KEY).

Check Current Setup
bash
echo "Project: ${GOOGLE_CLOUD_PROJECT:-NOT SET}"
gcloud auth application-default print-access-token &>/dev/null && echo "Auth: OK" || echo "Auth: NOT CONFIGURED"
First-Time Setup

If credentials are not configured, guide the user through these steps:

  1. Get a Google Cloud Project
  • Go to: https://console.cloud.google.com/projectcreate
  • Create a new project or use an existing one
  • Note the Project ID (not the project name)
  1. Enable Vertex AI API
  • Go to: https://console.cloud.google.com/apis/library/aiplatform.googleapis.com
  • Click "Enable"
  1. Enable Billing
  • Go to: https://console.developers.google.com/billing/enable?project=YOUR_PROJECT_ID
  • Link a billing account
  1. Install gcloud CLI (if not installed)
  • Go to: https://cloud.google.com/sdk/docs/install
  • Or on macOS: brew install google-cloud-sdk
  1. Authenticate

``bash gcloud auth application-default login `` This opens a browser for Google sign-in.

  1. Set Environment Variable

``bash echo 'export GOOGLE_CLOUD_PROJECT=your-project-id' >> ~/.zshenv ``

Usage

bash
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/upscale-image/scripts/upscale.ts <input-image> [options]
Options
  • --factor <x2|x4> - Upscale factor (default: x2)
  • --format <png|jpeg|webp> - Output format
  • --quality <n> - JPEG quality (1-100)
  • --output <path> - Output path
  • --project <id> - Google Cloud project (overrides env var)
  • --location <region> - Vertex AI location (default: us-central1)
Examples
bash
# 2x upscale
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/upscale-image/scripts/upscale.ts photo.jpg
# 4x upscale
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/upscale-image/scripts/upscale.ts photo.jpg --factor x4
# Upscale and save as PNG
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/upscale-image/scripts/upscale.ts photo.jpg --factor x4 --format png --output hires.png
# Specify project explicitly
bun run --cwd ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/skills/upscale-image/scripts/upscale.ts photo.jpg --project my-gcp-project --factor x4

Context Discipline

Do not read generated images back into context. The script outputs only the file path. Ask the user to visually inspect the result. Upscaled images are especially large (2x/4x resolution) and will quickly exhaust the context window.

Model

Uses imagen-3.0-generate-002 via Vertex AI upscaleImage API.

Why Vertex AI?

The Imagen upscaling API is only available through Vertex AI, not the standard Gemini API. This is a Google limitation - the upscaleImage method in the @google/genai SDK only works with Vertex AI backend.

Provider support

Gemini family only: Imagen upscaling is available through Vertex AI credentials. OpenAI and xAI have no equivalent endpoint in gemskills. For a generative re-render, use edit-image (OpenAI or Gemini).

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/b-open-io/gemskills/upscale-image/badge)](https://verified-skill.com/skills/b-open-io/gemskills/upscale-image)

Something wrong with this skill or its page? Tell us.