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

n8n · Image

How to Use Sana in n8n

Sana turns detailed text descriptions into images for illustrations, concept art, and large backgrounds. Use it to explore visual ideas, with extra review for lettering, hands, and crowded compositions.

Prompts to try with Sana in n8n

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

Every Monday, use Sana to create one square editorial illustration about careful planning. Choose one simple visual metaphor, describe its materials and lighting, exclude lettering, and include the final description with the image.

Sanan8n
Try asking
  • Each morning, use Sana to create a 3840 × 2160 landscape study of a fictional coastal village. Rotate between dawn, midday, and dusk; keep each composition focused on one building and the surrounding shoreline.

  • Every Friday, use Sana to create a square furniture concept showing one chair against a plain background. Explore a different combination of wood, fabric, and metal each week, with detailed material descriptions and no labels.

  • Once a week, use Sana to create a square podcast cover illustration about curiosity. Use one object as the focal point, leave the upper third uncluttered for a title added later, and collect the image for review.

  • Every Wednesday, use Sana to create a square interior mood study with one seating area, one window, and three main materials. Specify the light direction and viewpoint, and include a short checklist for reviewing the result.

How to set up Sana 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:

    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:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Sana in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Sana, 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Sana

    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/sana",
        "input": {
          "prompt": "Underwater coral reef ecosystem during peak bioluminescent activity, multiple layers of marine life - from microscopic plankton to massive coral structures,…"
        }
      }'

Then paste one of the prompts above: n8n finds Sana on Spiral, shows the price and runs it.

Sana providers and prices

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

falImage
Sana · Base
fal-ai/sana

Settings you can ask for

Sana works from your prompt. Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

The negative prompt to use. Use it to address details that you don't want

in the image. This could be colors, objects, scenery and even the small details

(e.g. moustache, blurry, low resolution).

Number of inference steps1 to 5018

The number of inference steps to perform.

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.

Guidance scale (CFG)0 to 205

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 images1 to 41

The number of images to generate.

Output formatjpeg or pngjpeg

The format of the generated image.

Style name(No style), Cinematic, Photographic, Anime, Manga, Digital Art, Pixel art, Fantasy art and 2 more(No style)

The style to generate the image in.

Every API field of Sana · Base is on its tool page: open its card above.

What can you do with Sana in n8n?

Build a recurring collection of editorial artwork or design studies with Sana. A scheduled agent can expand each topic into a detailed visual brief and collect the results for review.

Website background concepts

Generate a wide landscape or still life with an uncluttered area for a headline. Add the headline in the page layout after choosing the artwork.

Editorial illustrations

Turn an article's central idea into a single visual metaphor, such as a paper boat crossing a sea of receipts.

Game environment concepts

Explore the lighting, terrain, and architecture of one location before committing to production artwork.

Product design sketches

Explore the silhouette, materials, and color of an imagined lamp, chair, or household object from a written brief.

Cover artwork

Create an illustration for a book or podcast cover, leaving clear space for titles added during layout.

Interior mood studies

Compare wood, stone, fabric, and lighting choices for a proposed room. Keep each scene focused on a few main elements.

Questions about Sana in n8n

Can n8n use Sana?

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

How much does Sana cost in n8n?

$0.0013 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Default 8 MP per image. Billed on `num_images`, default 1. 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 Sana in n8n?

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Sana on its own fal account.

How long does it take to set up Sana in n8n?

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

Does n8n wait while Sana runs?

Sana runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

What is Sana useful for?

Try Sana for illustrations, concept art, and visual design exploration. Treat these as creative drafts that you select and refine.

How detailed should a Sana prompt be?

The maker recommends longer, more detailed descriptions. Describe the subject, setting, framing, materials, lighting, and visual style instead of relying on a few keywords.

What should I check in Sana images?

Inspect hands, lettering, and crowded compositions, which the maker identifies as weak spots. For designs with essential wording, generate the artwork and add the text separately.

How large can Sana images be?

The maker documents image generation up to 4096 × 4096 pixels. That describes Sana's published capability; inspect the generated image at its intended display size before using it.

Does higher guidance always improve Sana results?

Higher guidance pushes the image toward the prompt, but the pipeline documentation warns that image quality can suffer. Compare a small adjustment with your starting result before increasing it further.

Get started

Start using Sana in n8n

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

Paste this into n8n:

Set up n8n

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