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

Cline · Image

How to Use fal Scene Composition in Cline

Use fal Scene Composition to place an existing subject in a new setting. It composes the surrounding scene and lighting, making it useful for product scene concepts, editorial images, and imagined environments.

Prompts to try with fal Scene Composition in Cline

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

Use fal Scene Composition with the mug photo in this project's assets. Request a breakfast table beside a window, soft morning light from the left, and empty space on the right; add the result to a local hero preview.

fal Scene CompositionCline
Try asking
  • Read the landing page brief and use fal Scene Composition with the backpack image in the project. Request a mountain lodge entrance at dawn, with the bag in the foreground; show the result in the existing page layout.

  • Use fal Scene Composition with the project's shoe photo to explore a wet city sidewalk at night. Request reflections on the pavement and light from a nearby storefront, then build a comparison against the current image.

  • Use fal Scene Composition with the character illustration in assets. Request a moonlit forest clearing with tall trees and low mist; add the result to the story page preview for review.

  • Use fal Scene Composition with the product image referenced by the homepage. Create a scene on a pale stone shelf with afternoon light, and record the prompt and seed alongside the generated asset.

How to set up fal Scene Composition in Cline

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

Use Spiral's MCP server

  1. Add the server

    In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

    cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
  2. Sign in

    Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it

    Spiral shows as connected on the Configure tab. In the CLI:

    cline config mcp

Use the Spiral skill

  1. Send Cline 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 fal Scene Composition

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

Then paste one of the prompts above: Cline finds fal Scene Composition on Spiral, shows the price and runs it.

fal Scene Composition providers and prices

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

falImage
Image Editing Scene Composition
fal-ai/image-editing/scene-composition

Settings you can ask for

fal Scene Composition works from your image URL and scene description. Ask Cline 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 Scene Composition is on its tool page: open its card above.

What can you do with fal Scene Composition in Cline?

Create scene concepts around the subjects already used in your project. A coding agent can read the design brief, request suitable compositions, and place selected images into a page for review.

Product lifestyle concepts

Place a product from an existing image into a specific setting, such as a coffee mug on a breakfast table beside a window.

Seasonal campaign images

Try seasonal surroundings around a photographed subject, such as autumn leaves, a winter storefront, or a summer patio.

Editorial portrait settings

Explore a library, city street, or theater as the setting around a portrait subject. Compare the results before choosing an editorial direction.

Story illustration concepts

Place an existing character image into an enchanted forest, castle courtyard, or moonlit clearing to explore a story's setting.

Merchandise scene studies

Try a photographed bag, shoe, or accessory in surroundings that suggest its use, such as a train platform or mountain lodge.

Website image exploration

Compose alternative settings around an existing subject for a landing page. Request deliberate subject placement and space for separately added copy.

Questions about fal Scene Composition in Cline

Can Cline use fal Scene Composition?

Yes. Add Spiral to Cline as an MCP server, and Cline can find and run fal Scene Composition like any built-in tool.

How much does fal Scene Composition cost in Cline?

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

Do I need a fal account to use fal Scene Composition in Cline?

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

How long does it take to set up fal Scene Composition in Cline?

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

Does Cline wait while fal Scene Composition runs?

fal Scene Composition runs in the background. Cline starts the run, checks on it and gives you the image when it's ready.

What is fal Scene Composition useful for?

It places an existing subject into a described setting. Try it for product scene concepts, editorial backdrops, or fantasy environments.

What should I write in the scene description?

Describe where the subject should appear. For example, ask for a wooden café table beside a rain-covered window, then specify the lighting and framing you want.

Can fal Scene Composition create both realistic and imaginary settings?

Its stated scope includes urban settings and enchanted forests. Describe a concrete destination, whether that is a city sidewalk or a moonlit woodland.

Which setting matters for following my description?

Guidance scale controls prompt adherence. When a result misses a scene detail, try adjusting guidance while keeping the description unchanged so you can compare the effect.

Can I reproduce an image later?

fal documents repeatability with the same seed, prompt, and model version. Save those details with an image you want to revisit.

Get started

Start using fal Scene Composition in Cline

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

Paste this into Cline:

Set up Cline

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