How to Use fal Scene Composition in Grok
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 Grok
Copy an example into Grok, or ask in your own words.
Use fal Scene Composition with this mug image. Put the mug on a wooden café table beside a rainy window, with soft gray daylight and a blurred street beyond.
Use fal Scene Composition with this portrait. Request a quiet library with tall bookshelves, warm reading lamps, and the person positioned near a window.
Use fal Scene Composition with this backpack photo. Place it beside a bench on an empty train platform at sunrise, with long shadows across the floor.
Use fal Scene Composition with this character image. Request an enchanted forest with moss-covered roots, small pools of moonlight, and a narrow path behind the character.
Use fal Scene Composition with this perfume bottle photo. Request a dark stone ledge beside still water, with light from the upper left; save the scene description and seed with the result.
How to set up fal Scene Composition in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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: Grok 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 Grok 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 Grok?
Explore new settings for a subject you share in conversation. A chat app can help turn a rough idea into a specific scene description and compare the resulting compositions.
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 Grok
Overview
fal Scene Composition in other agents
Questions about fal Scene Composition in Grok
Can Grok use fal Scene Composition?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run fal Scene Composition like any built-in tool.
How much does fal Scene Composition cost in Grok?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need a fal account to use fal Scene Composition in Grok?
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 Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while fal Scene Composition runs?
fal Scene Composition runs in the background. Grok 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 Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


