Wiggly / Format Lab /

lord-of-the-rings

agent-ready
v1.0.0

Lord of the Rings

Give one existing photo an immersive, photoreal sunrise fantasy grade while preserving its subject, composition, clothing, pose, and background.

One source image in. 1 inspected image out.

Download runnable kit

Gathered source proof

Judge exact source preservation, believable upper-left sunrise light, natural fantasy atmosphere, restrained color grading, Smart HDR detail, and photographic realism.

See the complete transformation at a glance
GPT Image 2 · SKAI source

See the complete transformation at a glance

  • The native cover keeps the before and after together in one honest frame
  • The subject, greenhouse composition, and point of view stay fixed
  • The warmer directional light immediately communicates the format
Prove an ordinary conservatory photo can hold the grade
Wiggly built-in proof

Prove an ordinary conservatory photo can hold the grade

  • The same traveler, clothing, pose, greenhouse structure, plants, rocks, and path remain recognizable
  • Upper-left sunlight, soft rays, and light haze reshape the mood without inventing a new setting
  • Deep greens and controlled gold highlights remain photographic rather than painterly
Turn glasshouse water into a hidden valley
GPT Image 2 · SKAI source

Turn glasshouse water into a hidden valley

  • The waterfall, pool, glass roof, and dense planting remain fully legible
  • Directional rays create depth through the foliage
  • Natural greens keep the frame grounded
Let a quiet garden feel mythic
GPT Image 2 · SKAI source

Let a quiet garden feel mythic

  • The lantern, bridge, koi pond, and clipped shrubs preserve their exact garden logic
  • Soft mist and sunrise light add atmosphere without replacing the location
  • Warm highlights stay balanced by neutral shadows
Make the path invite an adventure
GPT Image 2 · SKAI source

Make the path invite an adventure

  • The walkway and surrounding plants retain a convincing photographic structure
  • God rays reveal depth instead of flattening the foliage
  • The blue sky and deep greens avoid a heavy orange cast
Keep every flower while changing the hour
GPT Image 2 · SKAI source

Keep every flower while changing the hour

  • The glasshouse, path, hydrangeas, and plant beds keep their detailed arrangement
  • Low sunrise light adds cinematic contrast without crushing the shadows
  • Fine texture survives the stronger dynamic range
Carry a real person through the atmosphere
GPT Image 2 · SKAI source

Carry a real person through the atmosphere

  • The person, clothing, stepping stones, pond, and garden remain recognizable
  • The light reads from the upper left and follows the scene naturally
  • Subtle haze supports depth without making the photograph look synthetic

Exact gathered prompt

Edit this photo into a cinematic The Lord of the Rings style while preserving the original composition, subject, pose, clothing, facial features, expression, camera angle, perspective, framing, and every background element. Transform the lighting into a soft sunrise from the upper left with natural god rays, subtle volumetric light, gentle morning mist, and a soft cinematic lens flare. Apply a rich, natural color grade with deep greens, warm golden-hour highlights, a clean blue sky, accurate skin tones, and soft neutral shadows without an orange or yellow cast. Enhance dynamic range, local contrast, texture, and detail to an iPhone 16 Pro Smart HDR look while keeping it fully photorealistic. Create an immersive fantasy atmosphere inspired by The Lord of the Rings that still looks like a genuine sunrise photograph, not AI-generated artwork.

Source: @skaigenerated · model shown: GPT Image 2

The official run

Prepare -> Validate -> Transform -> Inspect

  1. 1. prepare
    free

    One run pinned to the source image, exact gathered prompt, and selected model route.

  2. 2. validate
    free

    The 3:4 image and prompt contract checked locally.

  3. 3. transform
    paid

    One photoreal cinematic fantasy sunrise grade from one approved prediction.

    Explicit approval required

  4. 4. inspect
    free

    Automatic file checks plus an actual visual review.

    Explicit approval required

Model routes

  • economy: Nano Banana 2 Lite · 3:4
  • default: Nano Banana 2 · 3:4
  • premium: Nano Banana Pro · 3:4

What prevents waste

  • The complete contract validates locally before spending.
  • Paid generation needs an explicit approval flag.
  • The prediction ID is saved before polling.
  • Interrupted jobs resume instead of duplicating.
  • Three attempts is the hard cap.

Repo files

Agent instructions SKILL.md
---
name: wiggly-lord-of-the-rings
description: Give one existing photo a photoreal cinematic fantasy sunrise grade using the exact gathered SKAI prompt.
---

# Lord of the Rings

Use the packaged runner and exact prompt. Do not call Replicate separately or
create another render path.

From the extracted kit's `v3` directory, prepare the local runner first:

```bash
npm install
npm run format:skai-image -- check --format=lord-of-the-rings
npm run format:skai-image -- smoke --format=lord-of-the-rings
```

Ask one short question:

> Which 3:4 photo should I give a cinematic Lord of the Rings sunrise grade?

Then initialize the free run. Omit `--model` for Nano Banana 2, or add
`--model=nano-banana-2-lite` for economy or `--model=nano-banana-pro` for
premium:

```bash
npm run format:skai-image -- init --format=lord-of-the-rings --run=<id> --input=<absolute-image-path> [--model=<route>]
npm run format:skai-image -- validate --format=lord-of-the-rings --run=<id>
npm run format:skai-image -- estimate --format=lord-of-the-rings --run=<id>
```

Stop after `estimate` and ask the user to approve the paid prediction. Only
after the user explicitly approves the cost should you supply `--approve-paid`:

```bash
npm run format:skai-image -- render --format=lord-of-the-rings --run=<id> --approve-paid
npm run format:skai-image -- inspect --format=lord-of-the-rings --run=<id>
npm run format:skai-image -- inspect --format=lord-of-the-rings --run=<id> --visual-pass --review-notes="<specific observations>"
npm run format:skai-image -- finalize --format=lord-of-the-rings --run=<id> --approve-final
```

Hard rules:

- Preserve the source composition, subject, pose, clothing, framing, perspective, and background elements.
- Use a user-approved 3:4 input before validation so the fixed 3:4 route can preserve composition honestly.
- Keep the exact gathered prompt unless the user explicitly requests a change.
- Use Nano Banana 2 by default, Lite for economy, or Pro for premium.
- Keep the result photorealistic: this is a sunrise atmosphere and color-grade edit, not a costume or environment replacement.
- Validate and estimate before spending, pause for explicit user approval, and never render without `--approve-paid`.
- Persist and resume the prediction id.
- Never exceed three attempts.
- View the output and record specific visual-review notes before finalizing.
- Never print, store, or commit `REPLICATE_API_TOKEN`.
Replicate BYOK requirements requirements.json
{
  "runtime": {
    "node": ">=22",
    "commands": ["npm"]
  },
  "providers": [
    {
      "name": "Replicate",
      "models": [
        "google/nano-banana-2-lite",
        "google/nano-banana-2",
        "google/nano-banana-pro"
      ]
    }
  ],
  "environment": [
    {
      "name": "REPLICATE_API_TOKEN",
      "secret": true,
      "requiredFor": ["render", "resume"]
    }
  ],
  "notes": [
    "All smoke and validation commands are local.",
    "The source guide names GPT Image 2; Wiggly's runnable lanes use Nano Banana 2 Lite, Nano Banana 2, and Nano Banana Pro.",
    "No Replicate proof call was made for this package.",
    "One render attempt is one paid prediction.",
    "Paid generation requires explicit approval and is capped at three attempts."
  ]
}
Input contract and model routing inputs.json
{
  "required": [
    {
      "id": "image",
      "type": "image",
      "formats": ["jpg", "png", "webp"],
      "minimumWidth": 512,
      "minimumHeight": 512,
      "maximumBytes": 26214400,
      "aspectRatio": "3:4",
      "aspectRatioTolerance": 0.02
    }
  ],
  "question": "Which 3:4 photo should I give a cinematic Lord of the Rings sunrise grade?",
  "defaults": {
    "model": "nano-banana-2",
    "aspectRatio": "3:4",
    "outputCount": 1
  },
  "modelRoutes": {
    "economy": "google/nano-banana-2-lite",
    "default": "google/nano-banana-2",
    "premium": "google/nano-banana-pro"
  },
  "sourceModel": "openai/gpt-image-2"
}
Paid-call and resume contract pipeline.json
{
  "progress": "Prepare -> Validate -> Transform -> Inspect",
  "attemptCap": 3,
  "stages": [
    {
      "id": "prepare",
      "output": "One run pinned to the source image, exact gathered prompt, and selected model route.",
      "paid": false,
      "approvalRequired": false
    },
    {
      "id": "validate",
      "output": "The 3:4 image and prompt contract checked locally.",
      "paid": false,
      "approvalRequired": false
    },
    {
      "id": "transform",
      "output": "One photoreal cinematic fantasy sunrise grade from one approved prediction.",
      "paid": true,
      "approvalRequired": true
    },
    {
      "id": "inspect",
      "output": "Automatic file checks plus an actual visual review.",
      "paid": false,
      "approvalRequired": true
    }
  ]
}
Exact gathered prompt prompts/transform.txt
Edit this photo into a cinematic The Lord of the Rings style while preserving the original composition, subject, pose, clothing, facial features, expression, camera angle, perspective, framing, and every background element. Transform the lighting into a soft sunrise from the upper left with natural god rays, subtle volumetric light, gentle morning mist, and a soft cinematic lens flare.

Apply a rich, natural color grade with deep greens, warm golden-hour highlights, a clean blue sky, accurate skin tones, and soft neutral shadows without an orange or yellow cast. Enhance dynamic range, local contrast, texture, and detail to an iPhone 16 Pro Smart HDR look while keeping it fully photorealistic. Create an immersive fantasy atmosphere inspired by The Lord of the Rings that still looks like a genuine sunrise photograph, not AI-generated artwork.
Automatic and visual gates quality.json
{
  "automatic": [
    "The source input is 3:4 within 0.02 so composition can be preserved",
    "Exactly 1 decodable JPG, JPEG, PNG, or WebP output",
    "At least 640x800 pixels",
    "Aspect ratio matches the selected route within 0.02",
    "At least 50 KB"
  ],
  "visual": [
    "The source subject, pose, clothing, composition, camera angle, perspective, framing, and background remain recognizable",
    "A soft sunrise reads naturally from the upper left",
    "God rays, volumetric light, mist, and lens flare remain subtle and physically plausible",
    "Deep greens, warm highlights, clean blues, accurate skin tones, and neutral shadows avoid an orange or yellow cast",
    "Dynamic range, local contrast, texture, and detail feel like a polished phone photograph",
    "The result remains fully photorealistic instead of becoming costume art, a painting, or an obviously AI-generated fantasy scene"
  ],
  "finalization": {
    "automaticPassRequired": true,
    "visualPassRequired": true,
    "reviewNotesRequired": true,
    "explicitApprovalFlag": "--approve-final"
  }
}