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

Grok Build · ImageReleased 2026-10-16

How to Use MOSS Image in Grok Build

MOSS Image creates text-heavy graphics such as bilingual posters, signs, and illustrated explainers. It runs MOSS-Image-SFT, with control over where text and objects appear through structured layout prompts.

Prompts to try with MOSS Image in Grok Build

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

Read the homepage copy in this project and use MOSS Image to create a 1536 × 1024 launch graphic. Use the product name as the only visible text, place it at the upper left, and describe the main illustration from the product's documented purpose. Save the result with the site's image assets.

MOSS ImageGrok Build
Try asking
  • Read the English and Chinese event translations in this project. Use MOSS Image to generate a 1024 × 1536 poster with the approved event titles at the top, an illustration in the middle, and the date and venue below. Preserve the supplied wording and line breaks.

  • Read the onboarding documentation and use MOSS Image to make a 1536 × 1024 illustrated explainer with three labeled sections. Draft the exact short labels first, arrange the sections from left to right, and check the generated wording against the documentation.

  • Use the book title, author name, and synopsis in this project to create a 1024 × 1536 cover concept with MOSS Image. Put the title in the top third, the scene in the center, and the author name at the bottom. Keep all visible text limited to the approved title and author.

  • Read the campaign brief and use MOSS Image to generate a 1024 × 1024 announcement. Prepare a structured JSON layout that separates the exact headline, supporting line, and central illustration. Match the layout to the canvas dimensions and save the prompt beside the image.

How to set up MOSS Image in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 MOSS 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": "fal-ai/moss-image",
        "input": {
          "prompt": "A wide view of a refrigerator beside a kitchen counter with a fruit bowl. A small sticky note on the refrigerator door is handwritten in…"
        }
      }'

Then paste one of the prompts above: Grok Build finds MOSS Image on Spiral, shows the price and runs it.

MOSS Image providers and prices

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

falImage

Settings you can ask for

MOSS Image works from your prompt. Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Negative prompt. When empty, guidance uses transformer layer skipping for the negative branch.

Enable prompt expansionon or offon

Plan a structured layout from your prompt before generation. Preserves requested visible text and uses the selected image dimensions. If enhancement is unavailable, uses the original prompt.

Number of inference steps1 to 10050

Number of denoising steps.

Guidance scale0 to 103

Classifier-free guidance scale.

Seeda whole number

Random seed for reproducible generation.

Number of images1 to 41

Number of images to generate.

Output formatjpeg, png, or webpjpeg

Output image format.

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

What can you do with MOSS Image in Grok Build?

Create text-heavy visual assets from project copy, including bilingual announcements and illustrated explainers. A coding agent can read the relevant files and prepare a layout prompt with explicit text and object positions.

Bilingual event posters

Create a new poster from approved Chinese and English copy, with separate areas for the headline, illustration, date, and location.

Educational explainers

Turn a short explanation into an illustrated graphic with a title, labeled objects, and clearly separated reading sections. Check the labels against the source material.

Store signs and notices

Draft opening-hours signs, pickup instructions, and bilingual notices from exact text. Specify line breaks and the relative size of each message.

Product launch graphics

Generate promotional concepts from a written product description, a short headline, and a planned composition. Review the depicted product details before use.

Editorial illustrations

Create an article illustration from a written brief, using a photorealistic or anime treatment and deliberate space for a short title.

Book cover concepts

Explore cover compositions with an exact title, author name, and described scene. Specify the hierarchy and placement of the text before generating.

Social campaign concepts

Generate separate square and portrait concepts from the same approved message. Adapt the composition to each canvas rather than assuming a crop will preserve the text.

Questions about MOSS Image in Grok Build

Can Grok Build use MOSS Image?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run MOSS Image like any built-in tool.

How much does MOSS Image cost in Grok Build?

$0.065 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 Grok Build plan is separate.

Do I need a fal account to use MOSS Image in Grok Build?

No. Spiral runs MOSS 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 MOSS Image in Grok Build?

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

Does Grok Build wait while MOSS Image runs?

MOSS Image runs in the background. Grok Build starts the run, checks on it and gives you the image when it's ready.

What is MOSS Image useful for?

Consider MOSS Image for graphics where words and composition both matter: bilingual posters, signs, illustrated explainers, and promotional concepts. Chinese and English text rendering and controlled element placement are its documented specialties.

Can MOSS Image put Chinese and English in the same graphic?

MOSS Image specializes in both Chinese and English text rendering. Provide the exact copy for each language and describe where each text block should appear.

How should I prompt MOSS Image for a specific layout?

Describe the scene, exact visible text, and positions of the main elements. MOSS Image accepts natural language and structured JSON layouts, so an agent can turn a detailed brief into a layout prompt.

How large can MOSS Image outputs be?

Each dimension can range from 512 to 2048 pixels, rounded to a multiple of 16. A 1024 × 1536 poster or 1536 × 1024 landscape graphic fits those limits.

Can MOSS Image edit a photo or follow an uploaded reference?

MOSS Image does not directly condition generation on reference images or support image editing. Use it to generate a new composition from a text description.

Get started

Start using MOSS Image in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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