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

Muse Code · ImageReleased 2026-10-01

How to Use FLUX 3 Image in Muse Code

FLUX 3 Image turns written descriptions into photographs, illustrations, and posters with text. Native 2K and 4K generation and prompt-based layout control make it useful for detailed compositions.

Prompts to try with FLUX 3 Image in Muse Code

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

Read the homepage copy and layout in this project. Use FLUX 3 Image to create a 16:9 header illustration at 2K, with the main subject on the right and a quiet left third for the HTML headline. Match the subject to the product's actual purpose.

FLUX 3 ImageMuse Code
Try asking
  • Read the latest article in this project's content directory. Use FLUX 3 Image to create a square editorial illustration at 1K that explains its central idea through one concrete scene. Specify the medium, palette, lighting, and viewpoint.

  • Read the event details in this project. Use FLUX 3 Image to create a 2:3 poster at 2K with the exact event title in quotation marks, a clear illustration, and separately positioned date and venue lines. Check the rendered lettering against the source copy.

  • Inspect this project's empty-state copy. Use FLUX 3 Image to create a square 1K illustration of a single character performing the relevant action, with thick linework, a limited palette, and a plain background.

  • Read the book description and title in this project. Use FLUX 3 Image to create a 2:3 cover concept at 2K. Write a scene caption and append an element table with generous bounding boxes for the illustration and quoted title.

How to set up FLUX 3 Image in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run FLUX 3 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": "blackforestlabs/flux-3/text-to-image",
        "input": {
          "prompt": "A red fox leaping over a stream in a pine forest, low-angle wildlife photograph."
        }
      }'

Then paste one of the prompts above: Muse Code finds FLUX 3 Image on Spiral, shows the price and runs it.

FLUX 3 Image providers and prices

Spiral runs FLUX 3 Image through fal. Open a card for today's price, with every fee included.

falImage
FLUX 3 Text to Image
blackforestlabs/flux-3/text-to-image

Settings you can ask for

FLUX 3 Image works from your prompt. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aspect ratioauto, 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4 and 7 moreauto

Output aspect ratio. Auto uses the first reference image when editing.

Resolution768sq, 1k, 1.5k, 2k, or 4k1k

Output resolution tier. 4k can take several minutes.

Enable prompt expansionon or offoff

Expand the prompt while preserving its intent and reference roles.

Safety tolerance0 to 42

Safety tolerance, from 0 (strictest) to 4.

Output formatjpeg or pngjpeg

The format of the generated image.

Every API field of FLUX 3 Text to Image is on its tool page: open its card above.

What can you do with FLUX 3 Image in Muse Code?

Create artwork that fits the page you are building. A coding agent can turn project copy and layout requirements into image briefs with deliberate framing and space for interface text.

Article illustrations

Turn an article's central idea into an illustration with a named medium, a clear subject, and room for the page's headline.

Event posters

Compose an illustrated scene with a quoted event title and supporting copy. Give each text block its own position and proofread the result.

Website header artwork

Create a wide scene whose subject sits beside a quiet area reserved for HTML copy. Describe what fills the full width.

Photographic scene concepts

Explore a scene through camera angle, lens language, light direction, and materials before planning a shoot.

Book cover concepts

Develop portrait compositions with a central illustration and a short quoted title. Specify the title's placement, weight, and color.

Bilingual artwork

Create poster concepts that combine English and Japanese lettering. Supply the exact wording and describe each script's position and reading direction.

Character design sheets

Explore an illustrated character's appearance through thick linework, a limited palette, and a clearly described pose.

FLUX 3 Image success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
25.8s
Runs, last 24 hours
23
ToolSuccessMedian timeRuns
FLUX 3 Text to Image100.0%25.8s23

Questions about FLUX 3 Image in Muse Code

Can Muse Code use FLUX 3 Image?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run FLUX 3 Image like any built-in tool.

How much does FLUX 3 Image cost in Muse Code?

`resolution`: otherwise $0.0624, 1k (default) $0.1248, 1.5k $0.1872, 2k $0.312, 4k $1.0608 per megapixel. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need a fal account to use FLUX 3 Image in Muse Code?

No. Spiral runs FLUX 3 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 FLUX 3 Image in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while FLUX 3 Image runs?

FLUX 3 Image runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

What is FLUX 3 Image useful for?

Use it for illustrated articles, photographic scenes, posters, and compositions that need deliberate placement. Describe the medium and layout along with the subject.

Does FLUX 3 Image generate native 4K images?

Yes. BFL documents native 2K and 4K generation and shows a 5456 × 3072 pixel example; 4K does not mean every image is 3840 × 2160.

Can FLUX 3 Image put readable text in an image?

Yes. Quote each exact string, then describe its placement and type treatment. Proofread the result, especially small print and long lines.

Can FLUX 3 Image render Japanese text?

Yes. BFL demonstrates Japanese text inside images using English prompts that quote the Japanese characters directly.

How detailed should a FLUX 3 Image prompt be?

Start with a sentence describing the finished image. Add detail when you need several subjects, a particular layout, or exact text; specify visible details instead of quality labels.

Get started

Start using FLUX 3 Image in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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