[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Juggernaut Flux Pro](https://spiral.ai/integrations/vscode/juggernaut-flux-pro)

# How to Use Juggernaut Flux Pro in VS Code

Juggernaut Flux Pro creates photographic portraits, product concepts, and realistic environments from text. Unlike Juggernaut Flux Pro Image to Image, it starts without a reference image.

|  |  |
| --- | --- |
| Model | Juggernaut Flux Pro |
| Available through | fal |
| Category | Image |
| Price | $0.0715 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Juggernaut Flux Pro in VS Code

- Use Juggernaut Flux Pro to create a 1280 by 720 image for the coffee shop homepage in this project: a ceramic cup on a walnut counter, soft morning window light, eye-level view, with open space on the left for the heading.
- Read the apparel brief in this project and use Juggernaut Flux Pro to create a photographic linen jacket concept. Show visible fabric weave and natural folds under soft studio light; use 33 generation steps.
- Use Juggernaut Flux Pro to create an architectural concept for this project's hotel page: a low timber lodge beside a rocky coast, late-afternoon sidelight, a three-quarter exterior view, and a 1280 by 720 composition.
- Generate a product photo with Juggernaut Flux Pro: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
- Make four logo concepts for a coffee brand called "Northline" with Juggernaut Flux Pro.

## How to set up Juggernaut Flux Pro in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **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

1. **Send VS Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Juggernaut Flux Pro**: One request; the result comes back by polling or a webhook.

```bash
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": "rundiffusion-fal/juggernaut-flux/pro",
    "input": {
      "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture…"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Juggernaut Flux Pro on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## Juggernaut Flux Pro tools and prices

- [Juggernaut Flux Pro](https://spiral.ai/tools/fal/rundiffusion-fal/juggernaut-flux/pro) (fal): $0.0715 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | landscape_4_3 | The size of the generated image. |
| num_inference_steps | 1 to 50 | 28 | The number of inference steps to perform. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| guidance_scale | 1 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. |
| num_images | 1 to 4 | 1 | The number of images to generate. |
| output_format | jpeg, png | png | The format of the generated image. |

## What can you do with Juggernaut Flux Pro in VS Code?

Create photographic image assets for landing pages, demos, and editorial layouts while working in your project. Turn the design brief into concrete directions for materials, lighting, and composition.

### Product photography concepts

Explore a ceramic mug, perfume bottle, or other product in a photographic setting. Specify the surface, reflections, camera angle, and lighting.

### Editorial portrait concepts

Develop portrait ideas around skin texture, wardrobe, expression, and directional light. Compare a studio treatment with a natural-light setting.

### Fashion and fabric studies

Preview garment concepts with specific fabrics, folds, and lighting. Use the images to discuss how linen, wool, or silk should read in an editorial shoot.

### Interior mood boards

Explore room concepts through furniture, wood grain, stone, upholstery, and window light. Keep each image focused on one material palette.

### Architectural concept images

Visualize a building's materials and atmosphere for an early design discussion. Describe the facade, surrounding landscape, viewing angle, and time of day.

### Cinematic still concepts

Develop a photographic frame for a storyboard or pitch. Direct the scene through a specific location, subject, light source, and camera position.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## Juggernaut Flux Pro in other agents

- [Amp](https://spiral.ai/integrations/amp/juggernaut-flux-pro)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/juggernaut-flux-pro)
- [Claude](https://spiral.ai/integrations/claude-desktop/juggernaut-flux-pro)
- [Claude Code](https://spiral.ai/integrations/claude-code/juggernaut-flux-pro)
- [Cline](https://spiral.ai/integrations/cline/juggernaut-flux-pro)
- [Codex](https://spiral.ai/integrations/codex/juggernaut-flux-pro)
- [Cursor](https://spiral.ai/integrations/cursor/juggernaut-flux-pro)
- [Devin](https://spiral.ai/integrations/devin/juggernaut-flux-pro)
- [dots](https://spiral.ai/integrations/dots/juggernaut-flux-pro)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/juggernaut-flux-pro)
- [Gemini](https://spiral.ai/integrations/gemini/juggernaut-flux-pro)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/juggernaut-flux-pro)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/juggernaut-flux-pro)
- [goose](https://spiral.ai/integrations/goose/juggernaut-flux-pro)
- [Grok](https://spiral.ai/integrations/grok/juggernaut-flux-pro)
- [Grok Build](https://spiral.ai/integrations/grok-build/juggernaut-flux-pro)
- [Hermes](https://spiral.ai/integrations/hermes/juggernaut-flux-pro)
- [Instinct](https://spiral.ai/integrations/instinct/juggernaut-flux-pro)
- [Manus](https://spiral.ai/integrations/manus/juggernaut-flux-pro)
- [Muse](https://spiral.ai/integrations/muse/juggernaut-flux-pro)
- [Muse Code](https://spiral.ai/integrations/muse-code/juggernaut-flux-pro)
- [n8n](https://spiral.ai/integrations/n8n/juggernaut-flux-pro)
- [Notion](https://spiral.ai/integrations/notion/juggernaut-flux-pro)
- [OpenClaw](https://spiral.ai/integrations/openclaw/juggernaut-flux-pro)
- [opencode](https://spiral.ai/integrations/opencode/juggernaut-flux-pro)
- [Perplexity](https://spiral.ai/integrations/perplexity/juggernaut-flux-pro)
- [Raycast](https://spiral.ai/integrations/raycast/juggernaut-flux-pro)
- [Windsurf](https://spiral.ai/integrations/windsurf/juggernaut-flux-pro)
- [Zapier](https://spiral.ai/integrations/zapier/juggernaut-flux-pro)

## More VS Code guides

- [Juggernaut Flux Lightning](https://spiral.ai/integrations/vscode/juggernaut-flux-lightning)
- [Juggernaut Flux Pro Image to Image](https://spiral.ai/integrations/vscode/juggernaut-flux-pro-image-to-image)
- [Juggernaut Flux Base Image to Image](https://spiral.ai/integrations/vscode/juggernaut-flux-base-image-to-image)
- [Kling Image 3.0 Edit](https://spiral.ai/integrations/vscode/kling-image-3-0-edit)
- [Juggernaut Flux Base](https://spiral.ai/integrations/vscode/juggernaut-flux-base)
- [Kling Image 3.0 Text to Image](https://spiral.ai/integrations/vscode/kling-image-3-0-text-to-image)

## Questions about Juggernaut Flux Pro in VS Code

**Can VS Code use Juggernaut Flux Pro?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Juggernaut Flux Pro like any built-in tool.

**How much does Juggernaut Flux Pro cost in VS Code?**

$0.0715 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. 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 VS Code plan is separate.

**Do I need a fal account to use Juggernaut Flux Pro in VS Code?**

No. Spiral runs Juggernaut Flux Pro on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Juggernaut Flux Pro in VS Code?**

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

**Does VS Code wait while Juggernaut Flux Pro runs?**

Juggernaut Flux Pro runs in the background. VS Code starts the run, checks on it and gives you the image when it's ready.

**What is Juggernaut Flux Pro good at?**

Photographic portraits, product concepts, fashion imagery, and realistic environments. Skin, fabric, lighting, and material texture are useful reasons to choose it.

**How should I write a Juggernaut Flux Pro prompt?**

Describe the subject, setting, materials, lighting, and camera viewpoint. Use concrete photographic directions, such as a 50mm lens or shallow depth of field, and avoid stacking conflicting styles.

**How many generation steps should I test?**

Runware recommends 25 to 35 steps for Juggernaut Flux Pro. Treat that range as a starting point and compare fine textures and lighting before increasing the count.

**Should I increase guidance when a detail is missing?**

Try a clearer description first. Higher guidance can improve adherence, but it can also make the result look less natural.

**Is Juggernaut Flux Pro useful for fashion concepts?**

Yes. RunDiffusion highlights garment previews, fashion portraits, and material visualization, particularly where fabric texture and lighting matter.

