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

Codex · ImageReleased 2026-04-01

How to Use Wan 2.7 Pro Text to Image in Codex

Wan 2.7 Pro Text to Image creates images from written briefs, including posters and detailed compositions. Unlike Wan 2.7 Text to Image, it supports single-image output up to 4096 × 4096.

Prompts to try with Wan 2.7 Pro Text to Image in Codex

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

Use Wan 2.7 Pro Text to Image to create one 2048 × 2048 conference poster concept using the event title from this project's content. Put the title at the top and a woodcut illustration of a radio telescope below it.

Wan 2.7 Pro Text to ImageCodex
Try asking
  • Read the lesson text in this project. Use Wan 2.7 Pro Text to Image to create one 2048 × 2048 watercolor diagram of a seed becoming a plant, with the exact labels Seed, Root, Shoot, and Leaves.

  • Read the homepage copy and design tokens in this project. Use Wan 2.7 Pro Text to Image to create one 2048 × 2048 editorial illustration of a bicycle repair bench, with natural window light and open space above the tools.

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

How to set up Wan 2.7 Pro 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.7 Pro 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.7/pro/text-to-image",
        "input": {
          "prompt": "An astronaut riding a horse in a photorealistic style."
        }
      }'

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

Wan 2.7 Pro Text to Image providers and prices

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

falImage
Wan 2.7 Pro · Text to Image
fal-ai/wan/v2.7/pro/text-to-image

Settings you can ask for

Wan 2.7 Pro 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

Content to avoid in the generated image. Max 500 characters.

Number of images1 to 51

Number of images to generate (1-5).

Seeda whole number

Random seed for reproducibility (0-2147483647).

Output formatjpeg, png, or webpjpeg

The format of the generated images.

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

What can you do with Wan 2.7 Pro Text to Image in Codex?

Turn a project's visual requirements into images that fit its screens and content. Use Wan 2.7 Image for text-bearing graphics and detailed compositions, then inspect the results in the actual layout.

Event poster concepts

Create posters from a written brief, with an exact event title, a defined visual style, and clear placement for the headline.

Character portrait development

Explore a fictional character's face, clothing, expression, and lighting from a written description before choosing a visual direction.

Architectural concept images

Turn a written description of a room or building into a concept image with specified materials, viewpoint, and time of day.

Illustrated educational graphics

Create an illustrated explanation with supplied labels and a defined arrangement. Review the wording and diagram before using it in a lesson.

Questions about Wan 2.7 Pro Text to Image in Codex

Can Codex use Wan 2.7 Pro Text to Image?

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

How much does Wan 2.7 Pro Text to Image cost in Codex?

$0.0975 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 Wan 2.7 Pro Text to Image in Codex?

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

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

Does Codex wait while Wan 2.7 Pro Text to Image runs?

Wan 2.7 Pro 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 Wan 2.7 Image useful for?

Wan 2.7 Image is useful for posters, illustrated content, and visual work that combines readable text with a specified composition. Alibaba highlights text rendering, subject consistency, and complex instruction following.

Can Wan 2.7 Image put text inside a picture?

Yes. Text rendering is one of its documented strengths, making it useful for poster headlines, labels, and illustrated explainers. Give the exact wording and check the result before publishing.

Does Wan 2.7 Image support multilingual text?

Alibaba reports text rendering in 12 languages. For a localized graphic, supply the approved wording rather than asking the image model to translate it.

How should I describe the picture I want?

Specify the subject, setting, style, lighting, and composition. For example, describe a ceramic mug photographed from above on a wooden table in morning window light, rather than asking for a nice product picture.

Can Wan 2.7 Image make a 2048 × 2048 image?

Yes. A square image at 2048 × 2048 fits the documented 2K output limit shared across these models.

Get started

Start using Wan 2.7 Pro 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