How to Use Weather Effect in VS Code
Weather Effect adds snow, rain, or fog to existing photos while aiming to retain the scene's mood. Use it to explore seasonal campaign images, landscape treatments, and weather concepts for storyboards.
Prompts to try with Weather Effect in VS Code
Copy an example into VS Code, or ask in your own words.
Use Weather Effect on the outdoor hero photo in this project to add light snowfall. Ask to keep the main subject clearly visible, save the result separately, and build a comparison with the original.
Use Weather Effect to apply gentle rain to the project's street photo. Keep the original asset and add the edited image to a preview page for review.
Use Weather Effect on the landscape image in the assets directory to try subtle fog. Ask to retain the scene's mood and show both images side by side.
Use Weather Effect to create light and heavy snowfall treatments of the same project photo. Change only the intensity wording and label the two results in a review page.
Use Weather Effect to make a fog treatment of our environment reference photo. Save the prompt and seed with the result, and prepare a checklist for reviewing subject visibility and changed details.
How to set up Weather Effect in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 Weather Effect
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/weather-effect", "input": { "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png" } }'
Then paste one of the prompts above: VS Code finds Weather Effect on Spiral, shows the price and runs it.
Weather Effect providers and prices
Spiral runs Weather Effect through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Weather Effect works from your image URL and weather effect. Ask VS Code 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 Weather Effect is on its tool page: open its card above.
What can you do with Weather Effect in VS Code?
Create weather treatments for the project's existing image assets with Weather Effect. A coding agent can organize the results into a comparison page for visual review.
Winter campaign concepts
Add snowfall to an existing outdoor campaign photo to explore a winter treatment. Review the product and any visible branding before choosing an image.
Rainwear creative
Try a rain treatment on an outdoor apparel photo for an advertising concept. Ask to keep the clothing visible, then inspect its shape and details.
Foggy landscape studies
Apply fog to a landscape photo to explore atmosphere. Compare subtle and dense treatments before selecting a direction.
Storyboard weather concepts
Use a location photo to test rain, snow, or fog for a proposed scene. Present the edited image alongside the original during visual planning.
Game environment references
Create weather treatments from photographed environment references for an art review. Use the results as concepts for the team to assess.
Photography teaching examples
Prepare weather edits of one photo for a lesson on atmosphere. Compare how each treatment affects the visibility of the subject and background.
More on Weather Effect and VS Code
Overview
Weather Effect in other agents
Questions about Weather Effect in VS Code
Can VS Code use Weather Effect?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Weather Effect like any built-in tool.
How much does Weather Effect cost in VS Code?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.
Do I need a fal account to use Weather Effect in VS Code?
No. Spiral runs Weather Effect on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Weather Effect in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Weather Effect runs?
Weather Effect runs in the background. VS Code starts the run, checks on it and gives you the image when it's ready.
What weather effects can Weather Effect add?
The official description names snowfall, rain, and fog. Start with one of these effects and specify how strong you want it to appear.
How should I describe a weather edit?
Try a concrete instruction such as “light snowfall, with the subject clearly visible.” State the weather first, then add a short request about what to preserve.
Will Weather Effect keep the original scene's mood?
Maintaining the scene's mood is part of the stated purpose. Still, compare the result with the original and check the lighting, subject, and important details before using it.
How should I compare light and heavy weather?
Use the same original photo and change only the intensity wording between attempts. For example, compare “light snowfall” with “heavy snowfall,” then judge whether the subject remains readable.
Can I reproduce a Weather Effect result?
The documentation says the same seed and prompt return the same image with the same model version. Save the original photo, prompt, seed, and other settings with any result you want to revisit.
Start using Weather Effect in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


