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

Codex · Image

How to Use Baby Version in Codex

Baby Version turns a person's photo into a childlike portrait targeting roughly age three. Use it for baby-look avatars and before-and-after portraits, with the original pose and expression as reference points.

Prompts to try with Baby Version in Codex

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

Use Baby Version on the demo portrait in this project, then add the result beside the original on the comparison page.

Baby VersionCodex
Try asking
  • Use Baby Version on the project's sample profile photo and add an avatar preview showing the result at small display sizes.

  • Use Baby Version on each individual portrait in the party-game assets, then build numbered guessing cards with a separate answer reveal.

  • Use Baby Version on the project's smiling and serious sample portraits. Build a review view for comparing each expression with its source.

  • Use Baby Version on the birthday-card demo portrait. Place the result in the existing card template and render the greeting separately.

How to set up Baby Version in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Baby Version

    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-editing/baby-version",
        "input": {
          "image_url": "https://v3.fal.media/files/penguin/hIPcTcSrtLMVXyedBUqIX_-pG58lHRIQ3_1iBmMlU_v_image.webp"
        }
      }'

Then paste one of the prompts above: Codex finds Baby Version on Spiral, shows the price and runs it.

Baby Version providers and prices

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

falImage
Image Editing · Baby Version
fal-ai/image-editing/baby-version

Settings you can ask for

Baby Version works from your image URL. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 203.5

The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.

Number of inference steps1 to 5030

Number of inference steps for sampling.

Safety tolerance1 to 62

The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive.

Output formatjpeg or pngjpeg

The format of the generated image.

Aspect ratio21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 and 1 more

The aspect ratio of the generated image.

Seeda whole number

The same seed and the same prompt given to the same version of the model will output the same image every time.

Every API field of Image Editing · Baby Version is on its tool page: open its card above.

What can you do with Baby Version in Codex?

Create baby-look portrait assets for profile screens, party games, and comparison pages with Baby Version. A coding agent can use project images and build the surrounding crops, labels, and layouts.

Baby-look profile pictures

Transform a portrait with Baby Version, then crop the chosen result for a playful profile picture.

Before-and-after posts

Place a source portrait beside its Baby Version result. Check the pose and expression before building the comparison.

Birthday card portraits

Use Baby Version on the birthday person's portrait, then add the greeting separately in a card editor.

Guess-who party games

Transform individual portraits with Baby Version and arrange the results as numbered guessing cards. Keep the source portraits for the answer reveal.

Reaction image sets

Start with separate portraits showing different expressions. Apply Baby Version to each and review whether the expressions carry through.

Character concept boards

Apply Baby Version to a character portrait to explore a roughly three-year-old appearance. Use the result as a visual concept for review.

Questions about Baby Version in Codex

Can Codex use Baby Version?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Baby Version like any built-in tool.

How much does Baby Version cost in Codex?

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

Do I need a fal account to use Baby Version in Codex?

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

How long does it take to set up Baby Version in Codex?

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

Does Codex wait while Baby Version runs?

Baby Version runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.

How young does Baby Version make someone look?

The documented target is approximately three years old. Expect a young child's appearance rather than assuming a newborn look.

Does Baby Version preserve the person's pose?

Preserving the original pose is part of the documented effect. Compare the source and result before choosing an image for a before-and-after layout.

Will Baby Version keep a smile or other expression?

The documented effect aims to preserve the original expression while adding childlike features. Choose a source portrait with the expression you want to carry into the result.

Can I choose an exact target age?

The documentation describes a preset transformation to approximately age three, without documenting an exact-age control. Choose Baby Version when that approximate age suits the project.

What should I check in a Baby Version result?

Compare the pose and expression with the source, then decide whether the childlike appearance fits your intended use. For an avatar, also preview the result at the size people will actually see.

Get started

Start using Baby Version in Codex

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

Paste this into Codex:

Set up Codex

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