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

Codex · ImageReleased 2025-03-05

How to Use Juggernaut Flux Pro in Codex

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.

Prompts to try with Juggernaut Flux Pro in Codex

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

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.

Juggernaut Flux ProCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Juggernaut Flux Pro

    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": "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: Codex finds Juggernaut Flux Pro on Spiral, shows the price and runs it.

Juggernaut Flux Pro providers and prices

Spiral runs Juggernaut Flux Pro through fal. Open a card for today's price, with every fee included.

falImage
Juggernaut Flux Pro
rundiffusion-fal/juggernaut-flux/pro

Settings you can ask for

Juggernaut Flux Pro works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of inference steps1 to 5028

The number of inference steps to perform.

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.

Guidance scale (CFG)1 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 images1 to 41

The number of images to generate.

Output formatjpeg or pngpng

The format of the generated image.

Every API field of Juggernaut Flux Pro is on its tool page: open its card above.

What can you do with Juggernaut Flux Pro in Codex?

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.

Questions about Juggernaut Flux Pro in Codex

Can Codex use Juggernaut Flux Pro?

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

How much does Juggernaut Flux Pro cost in Codex?

$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 Codex plan is separate.

Do I need a fal account to use Juggernaut Flux Pro in Codex?

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 Codex?

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

Does Codex wait while Juggernaut Flux Pro runs?

Juggernaut Flux Pro runs in the background. Codex 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.

Get started

Start using Juggernaut Flux Pro in Codex

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

Paste this into Codex:

Set up Codex

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