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

Codex · Image

How to Use Muse Image Text to Image in Codex

Muse Image Text to Image turns written briefs into illustrations, campaign concepts, and images with short lettering. Unlike Muse Image Edit, it starts from a description rather than an existing image.

Prompts to try with Muse Image Text to Image in Codex

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

Read the homepage brief in this project and use Muse Image Text to Image to create a wide editorial illustration of a bicycle repair bench. Put the tools on the right and leave the left third empty for the page headline; include no lettering.

Muse Image Text to ImageCodex
Try asking
  • Read the project's event brief and use Muse Image Text to Image to create a portrait poster concept. Render only the headline 'Night ride' in large lettering above a cyclist under streetlights, then inspect the spelling.

  • Use Muse Image Text to Image to create a square watercolor illustration for the project's empty search state: a fox looking into an empty wooden box, pale background, centered composition, and no text.

  • Generate a product photo with Muse Image Text 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 Muse Image Text to Image.

How to set up Muse Image Text to Image 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 Muse Image Text 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": "meta/muse-image/text-to-image",
        "input": {
          "prompt": "A cinematic editorial portrait in soft window light with crisp typography"
        }
      }'

Then paste one of the prompts above: Codex finds Muse Image Text to Image on Spiral, shows the price and runs it.

Muse Image Text to Image providers and prices

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

falImage
Meta Muse Image Text to Image
meta/muse-image/text-to-image

Settings you can ask for

Muse Image Text to Image works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of images1 to 101

The number of images to generate.

Output formatjpeg, png, or webpwebp

The format of the generated image.

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

What can you do with Muse Image Text to Image in Codex?

Create image assets from project briefs and turn visual feedback into concrete revisions. Muse Image can support website artwork, illustrated documentation, and campaign mockups with specific composition and short lettering.

Campaign concept boards

Explore a written campaign idea with Muse Image Text to Image, or develop supplied campaign artwork with Muse Image Edit. Specify the composition, palette, and short headline.

Editorial illustrations

Create an illustration from an article brief or rework an existing illustration. Describe the central metaphor and the visual style instead of asking for a generic image about the topic.

Event poster concepts

Build a poster from a written brief or revise supplied poster artwork. Keep the title short and check the rendered wording before approving it.

Comic artwork

Use Muse Image Text to Image for initial character sheets and scene concepts. Use Muse Image Edit with approved references for continuing panels and short speech bubbles.

Website illustration concepts

Generate artwork from a website brief or adapt supplied artwork for a new composition. Specify where the subject belongs and where the design needs empty space.

Product scene concepts

Visualize a described product in a studio scene with Muse Image Text to Image. Use Muse Image Edit when an existing product image must guide the result.

Questions about Muse Image Text to Image in Codex

Can Codex use Muse Image Text to Image?

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

How much does Muse Image Text to Image cost in Codex?

$0.013 per image. 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 Muse Image Text to Image in Codex?

No. Spiral runs Muse Image Text 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 Muse Image Text to Image in Codex?

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

Does Codex wait while Muse Image Text to Image runs?

Muse Image Text to Image runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.

What is Muse Image good at?

Muse Image suits briefs that combine a clear subject, deliberate composition, and short lettering. Useful starting points include campaign artwork, editorial illustrations, and comic panels.

Can Muse Image put readable text in an image?

Yes, but exact lettering can vary between attempts. Keep the wording short, spell it out exactly, and check every word before using the image.

What resolution does Muse Image produce?

The documented output is roughly 2.5 megapixels. Requested dimensions control the image's proportions rather than guaranteeing that exact pixel size.

How should I write a Muse Image prompt?

Describe the subject, arrangement, visual style, and lighting in concrete terms. For lettering, provide the exact words and explain which text should be most prominent.

Will repeating a Muse Image prompt reproduce the same image?

Treat a repeated request as another attempt rather than an exact copy. For a continuing series, keep an approved reference and use Muse Image Edit to guide subsequent images.

Get started

Start using Muse Image Text to Image 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