How to Use fal Scene Composition in Devin
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 Devin
Copy an example into Devin, 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.
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 Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Devin 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.
Settings you can ask for
fal Scene Composition works from your image URL and scene description. Ask Devin for any of these in your prompt.
| 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. |
| Number of inference steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| Safety tolerance | 1 to 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| Output format | jpeg or 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 and 1 more | The aspect ratio of the generated image. | |
| Seed | a 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 Devin?
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.
More on fal Scene Composition and Devin
Overview
fal Scene Composition in other agents
Questions about fal Scene Composition in Devin
Can Devin use fal Scene Composition?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run fal Scene Composition like any built-in tool.
How much does fal Scene Composition cost in Devin?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need a fal account to use fal Scene Composition in Devin?
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 Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while fal Scene Composition runs?
fal Scene Composition runs in the background. Devin 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.
Start using fal Scene Composition in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


