AI Photo Restoration Skill for AI Agents
AI Photo Restoration Skill for AI Agents
Ready-to-use skill for AI agents to restore old, damaged, or faded photos via the AI Pass API.
Quick Start
- Get an API key from AI Pass Developer Dashboard
- Set the environment variable:
export AIPASS_API_KEY="your-key-here" - Use the skill — see the
skillContentfield for the complete skill file
What This Skill Does
- Processes images using Gemini vision model for photo restoration
- Input: image + text prompt describing desired restoration
- Output: restored image
API Details
- Endpoint:
POST https://aipass.one/apikey/v1/chat/completions - Auth:
Authorization: Bearer $AIPASS_API_KEY - Model:
gemini/gemini-3-pro-image-preview
Pricing
- $1 free credit on signup — enough for testing
- Pay as you go — no subscriptions
Try the App
See this in action: AI Photo Restoration
Related: Photo Restoration Guide | Build a Photo Restoration Tool
Skill File
---
name: photo-restore
description: AI Photo Restoration via AI Pass API. Restore old, damaged, or faded photos.
version: 1.0.0
---
# AI Photo Restoration Skill
## Endpoint
`POST https://aipass.one/apikey/v1/chat/completions`
## Auth
`Authorization: Bearer $AIPASS_API_KEY`
Get your API key from [AI Pass Developer Dashboard](https://aipass.one/panel/developer.html).
## Usage
```bash
IMAGE_B64=$(base64 -w0 photo.jpg)
curl -s -X POST "https://aipass.one/apikey/v1/chat/completions" \
-H "Authorization: Bearer $AIPASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini/gemini-3-pro-image-preview",
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Restore this old photo: fix scratches, improve clarity, restore faded colors, remove damage"},
{"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,'$IMAGE_B64'"}}
]
}
]
}'
```
## Models
- `gemini/gemini-3-pro-image-preview` — Google Gemini image editing
## Pricing
- $1 free credit on signup
- Pay as you go after that
Download Skill File