Create Currency Portrait
Ask the user for a portrait photo they want on currency. Also ask their preferences: currency type (US dollar, euro, historical style, or custom), denomination amount, and any additional text or customization they want on the bill.
Craft a detailed edit prompt with ALL text spelled out. The prompt MUST include: (1) The exact denomination number, e.g. '100' in the corners. (2) Any custom text the user wants, e.g. name or title. (3) Currency styling: fine cross-hatching lines, oval portrait frame, ornate borders, specific color scheme (green for dollars, etc.). Write every piece of text that should appear on the bill.
Show the user their currency portrait. Offer to adjust the style (different denomination, add/remove text elements, change border style, try a different currency type) or create another bill with a different photo.
To run this task you must have the following required information:
> Portrait photo and currency style preference (dollar, euro, custom).
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 portrait photo they want on currency. Also ask their preferences: currency type (US dollar, euro, historical style, or custom), denomination amount, and any additional text or customization they want on the bill.
3. [Read Currency Engraving Style Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/media.currency.style.md` (Load currency engraving aesthetic 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 with ALL text spelled out. The prompt MUST include: (1) The exact denomination number, e.g. '100' in the corners. (2) Any custom text the user wants, e.g. name or title. (3) Currency styling: fine cross-hatching lines, oval portrait frame, ornate borders, specific color scheme (green for dollars, etc.). Write every piece of text that should appear on the bill.
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 portrait image
- `outputDir`: ./documents/currency-portraits/*
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 their currency portrait. Offer to adjust the style (different denomination, add/remove text elements, change border style, try a different currency type) or create another bill with a different photo.