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

Gemini CLI · Image

How to Use Texture Transform in Gemini CLI

Texture Transform changes the surface appearance of objects in an image, making it useful for material studies and product concepts. Use it to explore finishes such as marble, wood, or fabric before choosing a design direction.

Prompts to try with Texture Transform in Gemini CLI

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

Use Texture Transform on the table photo in this project's assets to try wood and marble separately. Build a comparison page with the original and both labeled results.

Texture TransformGemini CLI
Try asking
  • Use Texture Transform on the chair image in this project to explore velvet. Save the result beside the original and add a before-and-after view.

  • Use Texture Transform on the product enclosure image in this repository to try metal and ceramic separately. Create a review page with matching display sizes.

  • Use Texture Transform on the jacket photo in the project to explore denim. Add the result to a concept gallery labeled with its material.

  • Use Texture Transform on the sculpture image in this project's assets to explore stone. Save a separate concept image and show it beside the original.

How to set up Texture Transform in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 Texture Transform

    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/image-apps-v2/texture-transform",
        "input": {
          "image_url": "https://v3.fal.media/files/tiger/WqtPStHkOu6W0lZcIlXD8_156e3c91cb3a4d12b7380cc43b5e4c67.png"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Texture Transform on Spiral, shows the price and runs it.

Texture Transform providers and prices

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

falImage
Texture Transform
fal-ai/image-apps-v2/texture-transform

Settings you can ask for

Texture Transform works from your image URL. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Target texturecotton, denim, wool, felt, wood, leather, velvet, stone and 14 moremarble

Every API field of Texture Transform is on its tool page: open its card above.

What can you do with Texture Transform in Gemini CLI?

Create material studies from product images already in your project. Ask the agent to organize the results into a comparison page for design review.

Furniture finish studies

Explore a wood or marble treatment on a photographed table before discussing finishes with a client.

Upholstery concepts

Try velvet, leather, or wool treatments on a chair image for an interior design presentation.

Product enclosure concepts

Explore metal, plastic, or ceramic surface treatments on a product image during industrial design reviews.

Fashion material studies

Use a garment photo to explore denim, silk, or lace treatments for an early collection mood board.

Sculpture material exploration

Try stone, clay, or crystal treatments on a sculpture image to discuss possible visual directions.

Campaign image concepts

Reimagine a photographed object in an unexpected material for a campaign concept board.

Questions about Texture Transform in Gemini CLI

Can Gemini CLI use Texture Transform?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Texture Transform like any built-in tool.

How much does Texture Transform cost in Gemini CLI?

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need a fal account to use Texture Transform in Gemini CLI?

No. Spiral runs Texture Transform on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Texture Transform in Gemini CLI?

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

Does Gemini CLI wait while Texture Transform runs?

Texture Transform runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is Texture Transform useful for?

It changes how an object's surface looks. Try it for finish comparisons, furniture concepts, and material studies.

What resolution does Texture Transform produce?

The documentation describes 4K output but does not specify exact pixel dimensions. Check the returned image before planning a particular print size.

Does Texture Transform produce materials for a 3D renderer?

Its documented result is an image with a changed texture. Meshes and separate material maps are not described, so use the result as a visual reference for 3D work.

Should I use Texture Transform results as finished product photos?

Treat them as design concepts first. Compare each result with the original and inspect outlines, labels, and small details before using it publicly.

How should I compare different finishes?

Start each comparison from the same original image. Review the results together and label each finish so the design decision stays clear.

Get started

Start using Texture Transform in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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