Μετάβαση στο περιεχόμενο
ΣυνδεθείτεΞεκινήστε δωρεάν

Fix and improve a photo

Restore, relight, refine, change the angle, cut out the background or upscale.

Use it

Copy a skill into your assistant's skills folder. For Claude Code that is ~/.claude/skills/<name>/SKILL.md:

mkdir -p ~/.claude/skills/pickshot-photo-fixes
curl -L https://pickshot.ai/developers/skills/pickshot-photo-fixes/SKILL.md \
  -o ~/.claude/skills/pickshot-photo-fixes/SKILL.md

Download SKILL.md · MCP setup · All skills

The whole SKILL.md

---
name: pickshot-photo-fixes
description: Repair and improve an existing photo on the user's Pickshot account: restore an old photo, sharpen skin and detail, change the light, change the camera angle, cut out the background or make the picture larger. Use it when the user has a photo and wants it fixed, cleaned up or upscaled rather than a new picture.
---

# Fix a photo

This skill needs the Pickshot MCP server (`list_apps`, `run_app`, `list_models`, `estimate_cost`, `create_image`, `get_job`, `get_balance`). If they are missing, tell the user to connect it first (https://pickshot.ai/en/developers/mcp).

The spending rules of the `pickshot-generate` skill apply: quote first, wait for yes, cap the price, one key per request. The photo must be a public https link. Ask the user for one if they only have a file on their computer.

## Pick the fix

Ask what is wrong, then choose. Call `list_apps` once to see which apps exist for this account, their `options` and `fields`, and the price of one run (`credits`).

| What the user says | Use |
| --- | --- |
| An old, faded or black-and-white photo | app `restore`, `option` `color` to add colour or `bw` for black and white |
| Skin looks flat or soft | app `skin-enhancer`, field `strength` (a number from 0 to 10) |
| The light is wrong or dull | app `relight`, fields `direction` and `mood` (choose from the lists `list_apps` gives) |
| Eyes, hands or details look off | app `refine`, field `prompt` (say exactly what to fix, in one sentence) |
| They want the same scene from another angle | app `angles`, field `angle` |
| Remove the background | a model from `list_models` whose id starts with `tool-` and whose mode is `removebg` |
| Make the picture larger and sharper | a model whose mode is `upscale` |

If an app is not in the `list_apps` answer, it is not open for this account: say so and offer the closest other fix.

## Run an app

1. Tell the user which app and which settings you will use and the price from `list_apps`. Wait for yes.
2. Call `run_app` with `app`, `image_url`, `option` when the app has options, `fields` for the app's own fields, `max_credits` equal to the price and a new `idempotency_key`.
3. The answer carries a `job` with an `id`. Call `get_job` with that id every 10 to 20 seconds until it is `done` or `failed`, then give the user the links.

## Cut out a background or upscale

1. Call `list_models` with `kind` `image`. Find the tool model for the mode you need. It takes no prompt.
2. Request: `model`, `mode` (`removebg` or `upscale`), `image_url`.
3. Quote with `estimate_cost`, ask, create with `create_image`, then follow the job with `get_job`.

## Be honest about the result

Compare the result with the original. If faces, text or small details changed when they should not have, say so and offer to try the other settings. A fix tool can make things worse; the original stays untouched.