Wiggly / Format Lab /

dusk-effect

agent-ready
v1.0.0

Dusk Effect

Turn one outdoor photograph into a photorealistic dusk scene with a golden-to-deep-blue sky, soft haze, and a naturally lit foreground.

One source image in. 1 inspected image out.

Download runnable kit

Gathered source proof

Judge source preservation, a natural sunless dusk gradient, a slightly darker sky, well-lit people and foreground, atmospheric haze, and a photorealistic finish.

Mountain Hiker at Dusk
Nano Banana Pro

Mountain Hiker at Dusk

  • The person, clothing, binoculars, rocks, and distant peaks stay recognizable
  • The overcast sky becomes a layered pink, lavender, and blue dusk
  • Foreground detail remains naturally lit beneath the darker sky
Beach Path at Dusk
Nano Banana Pro

Beach Path at Dusk

  • The dunes, fence, path, ocean, and bird keep the source composition
  • Golden light near the horizon transitions smoothly into pink and blue
  • The foreground gains warm natural color without looking artificially relit
Paddleboard at Dusk
Nano Banana Pro

Paddleboard at Dusk

  • The swimmer, board, paddle, water, and distant shore remain intact
  • A sunless orange-to-blue gradient replaces the bright daytime sky
  • The subject and water stay clear while the atmosphere becomes cinematic

Exact gathered prompt

Ultra-realistic clouds at dusk, with no visible sun, just a natural sky gradient from golden yellow and soft orange on the horizon to pink, lavender, and deep blue overhead. Keep the sky about 20% darker while keeping the people and foreground well-lit with natural lighting and details. Add soft atmospheric haze, cinematic HDR, smooth tonal transitions, rich natural green tones, subtle blooms, DSLR quality, premium landscape photography, 8K, photorealistic, natural look without AI.

Source: @skaigenerated · model shown: Nano Banana Pro

The official run

Prepare -> Validate -> Transform -> Inspect

  1. 1. prepare
    free

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

  2. 2. validate
    free

    The photo and prompt contract checked locally.

  3. 3. transform
    paid

    One Dusk Effect transform 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
  • source model: Nano Banana Pro (creator source) · 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-dusk-effect
description: Apply the exact gathered SKAI Dusk Effect prompt to one outdoor photograph.
---

# Dusk Effect

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

Ask one short question:

> Which outdoor photo should I give the Dusk Effect?

Then run:

```bash
npm run format:skai-image -- init --format=dusk-effect --run=<id> --input=<absolute-image-path>
npm run format:skai-image -- validate --format=dusk-effect --run=<id>
npm run format:skai-image -- estimate --format=dusk-effect --run=<id>
npm run format:skai-image -- render --format=dusk-effect --run=<id> --approve-paid
npm run format:skai-image -- inspect --format=dusk-effect --run=<id>
npm run format:skai-image -- inspect --format=dusk-effect --run=<id> --visual-pass --review-notes="<specific observations>"
npm run format:skai-image -- finalize --format=dusk-effect --run=<id> --approve-final
```

Hard rules:

- 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 and creator-source fidelity.
- Validate before spending 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.",
    "No proof generation was purchased 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": "photo",
      "type": "image",
      "formats": ["jpg", "png", "webp"],
      "minimumWidth": 512,
      "minimumHeight": 512,
      "maximumBytes": 26214400
    }
  ],
  "question": "Which outdoor photo should I give the Dusk Effect?",
  "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",
    "source": "google/nano-banana-pro"
  }
}
Paid-call and resume contract pipeline.json
{
  "progress": "Prepare -> Validate -> Transform -> Inspect",
  "attemptCap": 3,
  "stages": [
    {
      "id": "prepare",
      "output": "One run pinned to the photo, exact gathered prompt, and selected model route.",
      "paid": false,
      "approvalRequired": false
    },
    {
      "id": "validate",
      "output": "The photo and prompt contract checked locally.",
      "paid": false,
      "approvalRequired": false
    },
    {
      "id": "transform",
      "output": "One Dusk Effect transform 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
Ultra-realistic clouds at dusk, with no visible sun, just a natural sky gradient from golden yellow and soft orange on the horizon to pink, lavender, and deep blue overhead. Keep the sky about 20% darker while keeping the people and foreground well-lit with natural lighting and details. Add soft atmospheric haze, cinematic HDR, smooth tonal transitions, rich natural green tones, subtle blooms, DSLR quality, premium landscape photography, 8K, photorealistic, natural look without AI.
Automatic and visual gates quality.json
{
  "automatic": [
    "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": [
    "People, foreground objects, composition, and fine source details remain recognizable",
    "The sky has no visible sun and moves naturally from golden yellow and orange to pink, lavender, and deep blue",
    "The sky is slightly darker while people and foreground remain naturally well lit",
    "Soft atmospheric haze, smooth tonal transitions, subtle bloom, and cinematic HDR feel photographic",
    "Natural green tones remain rich instead of becoming muddy or neon",
    "There are no obvious AI artifacts, warped subjects, logos, or watermarks"
  ],
  "finalization": {
    "automaticPassRequired": true,
    "visualPassRequired": true,
    "reviewNotesRequired": true,
    "explicitApprovalFlag": "--approve-final"
  }
}