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

Codex · ImageReleased 2025-08-11

How to Use Wan 2.2 A14B Text to Image in Codex

Wan 2.2 A14B Text to Image creates photographic scenes from a written brief. Unlike Wan 2.2 A14B Text to Image LoRA, it works without loading custom style weights.

Prompts to try with Wan 2.2 A14B Text to Image in Codex

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

Read the landing page brief in this project, then use Wan 2.2 A14B Text to Image to create a 1280 by 720 photographic header: a bicycle repair bench beside a window, worn steel tools, soft morning light, and open space on the left for HTML text.

Wan 2.2 A14B Text to ImageCodex
Try asking
  • Use Wan 2.2 A14B Text to Image to make two header concepts for the project's gardening article: a potting bench under soft daylight and the same scene under warm evening light. Keep the seed and other settings fixed.

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

  • Create a 16:9 hero image of a quiet mountain cabin at dusk with Wan 2.2 A14B Text to Image.

How to set up Wan 2.2 A14B 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 Wan 2.2 A14B 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": "fal-ai/wan/v2.2-a14b/text-to-image",
        "input": {
          "prompt": "In this breathtaking wildlife documentary, we are drawn into an intimate close-up of a majestic lion'\''s face, framed against the backdrop of a vast African…"
        }
      }'

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

Wan 2.2 A14B Text to Image providers and prices

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

falImage
Wan · Text to Image
fal-ai/wan/v2.2-a14b/text-to-image

Settings you can ask for

Wan 2.2 A14B Text to Image works from your prompt. Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Negative prompt for video generation.

Seeda whole number

Random seed for reproducibility. If None, a random seed is chosen.

Number of inference steps2 to 4027

Number of inference steps for sampling. Higher values give better quality but take longer.

Enable prompt expansionon or offoff

Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.

Accelerationnone or regularregular

Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.

Guidance scale (1st stage)1 to 103.5

Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.

Guidance scale (2nd stage)1 to 104

Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.

Shift1 to 102

Shift value for the image. Must be between 1.0 and 10.0.

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

What can you do with Wan 2.2 A14B Text to Image in Codex?

Create photographic assets while working on a website or app. Turn the project's visual brief into scene descriptions and compare lighting or composition treatments before choosing an image.

Editorial scene illustrations

Develop photographic concepts for an article, such as a bicycle outside a neighborhood repair shop. Specify the setting, lighting, and space needed for a headline.

Product staging concepts

Explore how an unbranded ceramic mug might look on linen, stone, or a wooden counter. Use the results to compare photographic direction before planning a shoot.

Interior mood studies

Compare room concepts through wood tones, upholstery, daylight, and contrast. Treat each image as a visual direction to review.

Film still concepts

Explore a single scene's framing, lighting, and color treatment before production. Describe one photographic composition, such as an empty train platform at dawn.

Original website photography concepts

Generate scenes from written art direction when no starting photograph exists. Explore subject placement and lighting for article headers or landing page imagery.

Questions about Wan 2.2 A14B Text to Image in Codex

Can Codex use Wan 2.2 A14B Text to Image?

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

How much does Wan 2.2 A14B Text to Image cost in Codex?

$0.0325 per image. 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 Wan 2.2 A14B Text to Image in Codex?

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

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

Does Codex wait while Wan 2.2 A14B Text to Image runs?

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

Does Wan 2.2 A14B produce still images?

Yes. The image models covered here produce still images, despite the Wan name also appearing on video models.

What is Wan 2.2 A14B useful for?

Photographic scene concepts are a good starting point: editorial illustrations, product staging ideas, interior mood studies, and film still concepts. Its image descriptions emphasize realism and fine visual detail.

How should I describe the image I want?

A practical starting point is to name the subject and setting, then specify lighting, framing, contrast, and color tone. This recommendation follows the Wan team's description of its aesthetic training labels.

Will stronger guidance always improve the result?

No. Stronger guidance can improve prompt adherence while reducing image quality, so compare modest changes against the original result.

When should I use prompt expansion?

Try it when your brief is short and you want additional descriptive detail. For a carefully specified composition, compare it with expansion turned off so you can judge whether the additions help.

Get started

Start using Wan 2.2 A14B 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