task icon Task

Create Professional Headshot

Requirements
Photo to transform, style preference (corporate, creative, friendly).
Instructions
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
2

Ask the user for a photo they want to transform into a professional headshot. Also ask what style they prefer: corporate executive (authoritative, neutral background), creative professional (modern, approachable), or friendly/approachable (warm, welcoming). Ask about their industry if helpful for context.

5

Craft a detailed edit prompt to transform the photo into a professional headshot. Use the style guide for the chosen approach: lighting setup, background treatment, expression refinement, and professional polish. Include any user customizations like specific background color or industry context.

7

Show the user where their headshot was saved. Offer to try a different style, adjust the background or lighting, or transform another photo.

                    To run this task you must have the following required information:

> Photo to transform, style preference (corporate, creative, friendly).

If you don't have all of this information, exit here and respond asking for any extra information you require, and instructions to run this task again with ALL required information.

---

You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. [Run Code: Verify Gemini Connection]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/media.gemini.verify/preview,
    "args": [

    ]
  },
  "packages": null
}
```

2. Ask the user for a photo they want to transform into a professional headshot. Also ask what style they prefer: corporate executive (authoritative, neutral background), creative professional (modern, approachable), or friendly/approachable (warm, welcoming). Ask about their industry if helpful for context.

3. [Read Professional Headshot Style Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.headshot.style.md` (Load headshot aesthetic and lighting guidance)

4. [Read Image Prompting Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.image.prompts.md` (General edit prompting patterns)

5. Craft a detailed edit prompt to transform the photo into a professional headshot. Use the style guide for the chosen approach: lighting setup, background treatment, expression refinement, and professional polish. Include any user customizations like specific background color or industry context.

6. [Gather Arguments: Generate or Edit Image] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `prompt`: the transformation prompt
- `imagePath`: absolute path to the source photo
- `outputDir`: ./documents/headshots/*

7. [Run Code: Generate or Edit Image]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/media.image.generate/preview,
    "args": [
      "prompt",
      "imagePath",
      "outputDir"
    ]
  },
  "packages": null
}
```

8. Show the user where their headshot was saved. Offer to try a different style, adjust the background or lighting, or transform another photo.