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

opencode · Image

How to Use Juggernaut Flux Base Image to Image in opencode

Juggernaut Flux Base Image to Image reworks an existing image with a written description. Unlike Juggernaut Flux Base, it uses a source image and a strength control to guide the transformation.

Prompts to try with Juggernaut Flux Base Image to Image in opencode

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

Use Juggernaut Flux Base Image to Image with the portrait in assets/portrait.png to explore an editorial treatment: charcoal jacket, soft window light from the left, natural skin texture, plain gray backdrop. Save the result beside the source.

Juggernaut Flux Base Image to Imageopencode
Try asking
  • Use Juggernaut Flux Base Image to Image with assets/interior.png to explore a boutique interior with brass shelves, marble flooring, and warm ambient lighting. Compare two strength settings with the same seed and description.

  • Generate a product photo with Juggernaut Flux Base Image to Image: 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 Base Image to Image.

  • Create a 16:9 hero image of a quiet mountain cabin at dusk with Juggernaut Flux Base Image to Image.

How to set up Juggernaut Flux Base Image to Image in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Base Image to Image

    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/base/image-to-image",
        "input": {
          "image_url": "https://fal.media/files/koala/Chls9L2ZnvuipUTEwlnJC.png",
          "prompt": "a cat dressed as a wizard with a background of a mystic forest."
        }
      }'

Then paste one of the prompts above: opencode finds Juggernaut Flux Base Image to Image on Spiral, shows the price and runs it.

Juggernaut Flux Base Image to Image providers and prices

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

falImage
Juggernaut Flux Base · Image to Image
rundiffusion-fal/juggernaut-flux/base/image-to-image

Settings you can ask for

Juggernaut Flux Base Image to Image works from your image URL and prompt. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Strength0.01 to 10.95

The strength of the initial image. Higher strength values are better for this model.

Number of inference steps10 to 5040

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 Base · Image to Image is on its tool page: open its card above.

What can you do with Juggernaut Flux Base Image to Image in opencode?

Create visual concepts for a project's website, game, or editorial content with Juggernaut Flux Base. A coding agent can turn the project's brief into detailed image descriptions and keep the selected images with the project assets.

Portrait concepts

Explore portrait lighting, clothing, and backgrounds for an editorial brief. Specify the skin texture, light direction, and camera position you want.

Architectural mood boards

Explore building exteriors through different materials, daylight conditions, and viewpoints. Use the images to discuss a visual direction.

Interior design studies

Compare room concepts with wood, stone, brass, or concrete finishes. Describe the lighting and viewing angle so each proposal has a clear brief.

Fashion editorial planning

Explore garment shapes, fabric textures, and studio lighting before a shoot. Describe the clothing construction and backdrop in concrete terms.

Illustration direction

Develop an illustration brief in an oil painting, cartoon, anime, or digital art style. Compare how the same subject reads in each treatment.

Environment concepts

Explore settings for a game or story, from a weathered observatory to a flooded city. Specify the architecture, atmosphere, and foreground subject.

Existing artwork exploration

Use an existing image as the starting point for a new visual treatment. Describe the intended result and compare strength settings before choosing a direction.

Questions about Juggernaut Flux Base Image to Image in opencode

Can opencode use Juggernaut Flux Base Image to Image?

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

How much does Juggernaut Flux Base Image to Image cost in opencode?

Up to $0.0455 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a fal account to use Juggernaut Flux Base Image to Image in opencode?

No. Spiral runs Juggernaut Flux Base Image to Image 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 Base Image to Image in opencode?

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

Does opencode wait while Juggernaut Flux Base Image to Image runs?

Juggernaut Flux Base Image to Image runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

What is Juggernaut Flux Base useful for?

Use it to explore realistic imagery, illustrations, and visual concepts. RunDiffusion's examples include architecture, fashion, interiors, and portraits.

Does Juggernaut Flux Base only make realistic images?

No. RunDiffusion also lists cartoons, anime, digital art, oil paintings, and graphic design among Juggernaut Flux's supported styles.

How should I describe the image I want?

Name the subject, materials, setting, lighting, and viewpoint. RunDiffusion's examples use concrete directions such as golden-hour light and a low camera angle; follow that pattern when drafting your description.

What does guidance change?

Guidance controls how closely the model follows your description. To compare its effect, keep the description and other settings fixed while changing guidance.

Can I reproduce a result?

The documentation says the same seed and prompt reproduce the same image with the same model version. Keep the remaining settings fixed when comparing results, and keep the same source image when using one.

Get started

Start using Juggernaut Flux Base Image to Image in opencode

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

Paste this into opencode:

Set up opencode

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