[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Image Editing Time of Day](https://spiral.ai/integrations/n8n/image-editing-time-of-day)

# How to Use Image Editing Time of Day in n8n

Image Editing Time of Day changes an existing photo's lighting and atmosphere to match a requested time. Use it to explore golden-hour or midnight treatments of a scene.

|  |  |
| --- | --- |
| Model | Image Editing Time of Day |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Image Editing Time of Day in n8n

- Each Monday, use Image Editing Time of Day to create golden-hour treatments of newly supplied property exterior photos. Include each original in the review.
- Every Friday, use Image Editing Time of Day to create midnight treatments of the new location scouting photos. Label each edit with the requested time.
- Each morning, use Image Editing Time of Day on newly supplied resort photos to prepare golden-hour lighting studies. Collect the originals and edits for review.
- Once a week, use Image Editing Time of Day to make golden-hour and midnight treatments of newly supplied landscape photos. Organize the comparison by source photo.
- Every Thursday, use Image Editing Time of Day to apply 'early morning, soft cool light' to the newly supplied outdoor campaign photos. Include a reminder to inspect product details.

## How to set up Image Editing Time of Day in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Image Editing Time of Day in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Image Editing Time of Day, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Image Editing Time of Day**: One request; the result comes back by polling or a webhook.

```bash
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/time-of-day",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png"
    }
  }'
```

Then paste one of the prompts above: n8n finds Image Editing Time of Day on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Image Editing Time of Day tools and prices

- [Image Editing · Time of Day](https://spiral.ai/tools/fal/fal-ai/image-editing/time-of-day) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| guidance_scale | 0 to 20 | 3.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. |
| num_inference_steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| aspect_ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 | — | The aspect ratio of the generated image. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |

## What can you do with Image Editing Time of Day in n8n?

Prepare recurring lighting studies from a supplied collection of scene photos. Have the agent label each requested time and assemble the edits with their originals for review.

### Property exterior lighting studies

Use an existing exterior photo to explore golden-hour and midnight treatments before choosing a presentation image.

### Hotel and resort photo treatments

Try different times of day on an existing hotel, pool, or terrace photo to compare the atmosphere for a travel campaign.

### Film location mood studies

Relight a location photo for golden hour and midnight to help discuss the intended look of a scene.

### Landscape photo experiments

Explore how a landscape photo reads under different time-of-day lighting, then compare each edit with the original.

### Outdoor campaign concepts

Test golden-hour lighting on an existing outdoor campaign photo before deciding which treatment suits the creative brief.

### Game environment references

Use a scene image to explore day and night lighting references for an environment art discussion.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Image Editing Time of Day in other agents

- [Amp](https://spiral.ai/integrations/amp/image-editing-time-of-day)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/image-editing-time-of-day)
- [Claude](https://spiral.ai/integrations/claude-desktop/image-editing-time-of-day)
- [Claude Code](https://spiral.ai/integrations/claude-code/image-editing-time-of-day)
- [Cline](https://spiral.ai/integrations/cline/image-editing-time-of-day)
- [Codex](https://spiral.ai/integrations/codex/image-editing-time-of-day)
- [Cursor](https://spiral.ai/integrations/cursor/image-editing-time-of-day)
- [Devin](https://spiral.ai/integrations/devin/image-editing-time-of-day)
- [dots](https://spiral.ai/integrations/dots/image-editing-time-of-day)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/image-editing-time-of-day)
- [Gemini](https://spiral.ai/integrations/gemini/image-editing-time-of-day)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/image-editing-time-of-day)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/image-editing-time-of-day)
- [goose](https://spiral.ai/integrations/goose/image-editing-time-of-day)
- [Grok](https://spiral.ai/integrations/grok/image-editing-time-of-day)
- [Grok Build](https://spiral.ai/integrations/grok-build/image-editing-time-of-day)
- [Hermes](https://spiral.ai/integrations/hermes/image-editing-time-of-day)
- [Instinct](https://spiral.ai/integrations/instinct/image-editing-time-of-day)
- [Manus](https://spiral.ai/integrations/manus/image-editing-time-of-day)
- [Muse](https://spiral.ai/integrations/muse/image-editing-time-of-day)
- [Muse Code](https://spiral.ai/integrations/muse-code/image-editing-time-of-day)
- [Notion](https://spiral.ai/integrations/notion/image-editing-time-of-day)
- [OpenClaw](https://spiral.ai/integrations/openclaw/image-editing-time-of-day)
- [opencode](https://spiral.ai/integrations/opencode/image-editing-time-of-day)
- [Perplexity](https://spiral.ai/integrations/perplexity/image-editing-time-of-day)
- [Raycast](https://spiral.ai/integrations/raycast/image-editing-time-of-day)
- [VS Code](https://spiral.ai/integrations/vscode/image-editing-time-of-day)
- [Windsurf](https://spiral.ai/integrations/windsurf/image-editing-time-of-day)
- [Zapier](https://spiral.ai/integrations/zapier/image-editing-time-of-day)

## More n8n guides

- [Image Editing Reframe](https://spiral.ai/integrations/n8n/image-editing-reframe)
- [Image to SVG](https://spiral.ai/integrations/n8n/image-to-svg)
- [Image Editing Realism](https://spiral.ai/integrations/n8n/image-editing-realism)
- [Juggernaut Flux Base](https://spiral.ai/integrations/n8n/juggernaut-flux-base)
- [Image Background Remover](https://spiral.ai/integrations/n8n/image-background-remover)
- [Juggernaut Flux Base Image to Image](https://spiral.ai/integrations/n8n/juggernaut-flux-base-image-to-image)

## Questions about Image Editing Time of Day in n8n

**Can n8n use Image Editing Time of Day?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Image Editing Time of Day like any built-in tool.

**How much does Image Editing Time of Day cost in n8n?**

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

**Do I need a fal account to use Image Editing Time of Day in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Image Editing Time of Day on its own fal account.

**How long does it take to set up Image Editing Time of Day in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Image Editing Time of Day runs?**

Image Editing Time of Day runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

**What is Image Editing Time of Day useful for?**

It changes the lighting and atmosphere of an existing photo to match a requested time. Try it when comparing daytime and nighttime treatments of the same scene.

**Can Image Editing Time of Day turn a photo into a nighttime scene?**

Yes. The official description explicitly includes midnight as a target, alongside golden hour.

**What should I write in the prompt?**

Describe the time you want the scene to show. Start with a direct instruction such as "golden hour," then test a more specific description of the desired light.

**Which setting matters for following my lighting description?**

Guidance controls how closely Image Editing Time of Day follows the prompt. When comparing guidance settings, keep the source photo and wording unchanged so you can judge the difference.

**How should I review a time-of-day edit?**

Compare the result with the original, checking scene details as well as the new lighting. For a property or product photo, inspect shapes, signs, and colors before choosing an edit.

