Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Image

How to Use Age Modify in VS Code

Age Modify makes a portrait look younger or older while aiming to keep the person recognizable. Use it for character age studies, casting concepts, and imagined portraits at different ages.

Prompts to try with Age Modify in VS Code

Copy an example into VS Code, or ask in your own words.

Use Age Modify on assets/character.png at ages 25, 45, and 65, with identity preservation enabled. Build a labeled comparison page beside the original.

Age ModifyVS Code
Try asking
  • Use Age Modify on assets/actor.jpg at age 70 for a casting concept. Keep identity preservation enabled and save the result with the source portrait.

  • Use Age Modify on assets/test-portrait.png at ages 30 and 60. Add both results to the photo editor's demo gallery with age labels.

  • Use Age Modify on assets/performer.jpg at age 75. Create a review page where I can compare the edit with the original for makeup planning.

  • Use Age Modify on assets/avatar.png at age 50. Inspect the returned image dimensions and size the preview to fit without stretching.

How to set up Age Modify in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Age Modify

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "fal",
        "model": "fal-ai/image-apps-v2/age-modify",
        "input": {
          "image_url": "https://v3.fal.media/files/lion/s2GShUC7AB9i-ypYV0DbI_1b5ca4fe5d7e477fb4501acf9a1c43bc.png"
        }
      }'

Then paste one of the prompts above: VS Code finds Age Modify on Spiral, shows the price and runs it.

Age Modify providers and prices

Spiral runs Age Modify through fal. Open a card for today's price, with every fee included.

falImage
Age Modify
fal-ai/image-apps-v2/age-modify

Settings you can ask for

Age Modify works from your image URL. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Target age6 to 10030
Preserve identityon or offon

Every API field of Age Modify is on its tool page: open its card above.

What can you do with Age Modify in VS Code?

Create portrait age studies for character references and photo-editing prototypes. A coding agent can use project images and organize the results into a comparison page.

Character age studies

Use Age Modify on a character portrait to explore appearances at 25, 45, and 65 for a story spanning decades.

Casting concepts

Use Age Modify on an actor's portrait to sketch an older or younger appearance for a role.

Makeup planning

Use Age Modify on a performer's portrait to create an age reference for discussion with a makeup artist.

Imagined future portraits

Use Age Modify on your portrait to explore an imagined appearance at 60 or 80.

Portrait comparison posts

Use Age Modify to create younger and older edits from one portrait, then arrange them beside the original.

Age-editing app prototypes

Use Age Modify with a test portrait to demonstrate age choices in a photo-editing product.

Questions about Age Modify in VS Code

Can VS Code use Age Modify?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Age Modify like any built-in tool.

How much does Age Modify cost in VS Code?

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a fal account to use Age Modify in VS Code?

No. Spiral runs Age Modify on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Age Modify in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while Age Modify runs?

Age Modify runs in the background. VS Code starts the run, checks on it and gives you the image when it's ready.

Can Age Modify make someone look younger and older?

Yes. It edits a portrait toward a target age in either direction.

What should I start with?

Start with a portrait of the person you want to age. The documented task is portrait editing.

Will the person still look recognizable?

Keeping identity realistic is a stated aim, and identity preservation is available. Review the result against the original before choosing an edit.

What resolution does Age Modify produce?

The documentation describes 4K output but does not give exact pixel dimensions. Check the returned image before planning a layout that needs a specific size.

Can Age Modify show exactly how I will look in the future?

Treat the result as an imagined appearance. That recommendation follows from the maker's description of a visual age edit.

Get started

Start using Age Modify in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options