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

Gemini · Image

How to Use PATINA Text to Material in Gemini

PATINA Text to Material turns a surface description into a tileable texture plus five PBR maps for 3D rendering. It creates the starting texture as well as the maps, with base textures up to 2048 pixels and maps reaching 8K through upscaling.

Prompts to try with PATINA Text to Material in Gemini

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

Use PATINA Text to Material to create a 1024 by 1024 limestone material for a courtyard floor. Include shallow pits, small chips, and pale dust inside cracks, with repetition in both directions.

PATINA Text to MaterialGemini
Try asking
  • Use PATINA Text to Material to make a 1024 by 1024 leather material for a worn travel case. Describe tight grain, fine creases, and smoother patches where the surface has been handled.

  • Use PATINA Text to Material to generate a 1024 by 1024 clay material with fine fractures and powdery deposits inside them. Return the texture and all five rendering maps.

  • Use PATINA Text to Material to create a 1024 by 1024 timber material for a seaside set. Include narrow wood grain, deep grooves, and salt residue concentrated in the recesses.

  • Use PATINA Text to Material to generate a 1024 by 1024 concrete material for a product display pedestal. Include fine pores and sparse aggregate, with a restrained amount of surface wear.

How to set up PATINA Text to Material in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 PATINA Text to Material

    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/patina/material",
        "input": {
          "prompt": "mossy stone wall"
        }
      }'

Then paste one of the prompts above: Gemini finds PATINA Text to Material on Spiral, shows the price and runs it.

PATINA Text to Material providers and prices

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

falImage
PATINA · Text to Material
fal-ai/patina/material

Settings you can ask for

PATINA Text to Material works from your prompt, image URL, and mask URL. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of inference steps1 to 88

Number of denoising steps for texture generation.

Seeda whole number

Random seed for reproducible generation.

Number of images1 to 41

Number of texture images to generate.

Enable prompt expansionon or offon

Expand prompt with an LLM for richer detail. Adds ~0.0025 credits.

Tiling modeboth, horizontal, or verticalboth

Tiling direction: 'both' (omnidirectional), 'horizontal', or 'vertical'.

Tile size32 to 256128

Tile size in latent space. Automatically capped to the generated image dimensions on tiled axes (64 = 512px, 128 = 1024px).

Tile stride16 to 12864

Tile stride in latent space. Automatically capped to half the effective tile size.

Strengtha number up to 10.6

How much to transform the input image. Only used when image_url is provided.

Upscale factor0, 2, or 40

Upscale factor for predicted PBR maps via SeedVR seamless upscaling. 0 = no upscaling, 2 = 2× resolution, 4 = 4× resolution. The base texture image is not upscaled.

Output formatjpeg, png, or webppng

Output image format for textures and PBR maps.

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

What can you do with PATINA Text to Material in Gemini?

Turn a written surface idea into a tileable texture and PBR maps for a 3D scene. A chat app can help sharpen the material description and keep the brief focused on grain, damage, and weathering.

Game environment surfaces

Generate tileable stone, clay, or concrete materials for floors and walls. Describe cracks, pores, and deposits to give each location a specific surface treatment.

Architectural finish studies

Create plaster, limestone, and ceramic material candidates for interior renders. Compare surface grain and wear before choosing a finish.

Film set weathering

Build materials for aged sets by specifying moss in joints, salt along boards, or paint peeling around edges. Use the resulting maps in the scene's material workflow.

Product surface exploration

Try ceramic, leather, or textured concrete finishes on a product visualization. Generate material candidates from descriptions before committing to a surface direction.

Prop material development

Create wood grain, cracked clay, or worn leather materials for 3D props. Describe the scale and placement of surface damage to guide the result.

Reusable material libraries

Build a collection of tileable PBR materials organized by surface and condition, such as dry plaster, dusty stone, and weathered timber.

Questions about PATINA Text to Material in Gemini

Can Gemini use PATINA Text to Material?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run PATINA Text to Material like any built-in tool.

How much does PATINA Text to Material cost in Gemini?

$0.013 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 Gemini plan is separate.

Do I need a fal account to use PATINA Text to Material in Gemini?

No. Spiral runs PATINA Text to Material on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up PATINA Text to Material in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while PATINA Text to Material runs?

PATINA Text to Material runs in the background. Gemini starts the run, checks on it and gives you the image when it's ready.

What does PATINA Text to Material produce?

It produces a tileable texture plus five physically based rendering maps: base color, normal, roughness, metalness, and height. The result is material imagery for a 3D rendering workflow.

Does PATINA Text to Material generate native 8K textures?

Base texture generation reaches 2048 pixels. The predicted PBR maps can reach 8K through upscaling, which does not enlarge the original generated texture.

How should I describe a material?

Describe visible surface details such as grain, cracks, pores, or worn edges. Specify where weathering appears, such as moss inside mortar joints or pale dust inside cracks.

Which materials need extra review?

Review metals, coated surfaces, and translucent materials carefully. Fal says its training library favors nonmetallic surfaces and identifies those other material classes as underrepresented.

Is PATINA Text to Material useful for game and film environments?

Yes. Creating tileable material libraries and matching weathering for environment art and set dressing are documented uses.

Get started

Start using PATINA Text to Material in Gemini

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

Paste this into Gemini:

Set up Gemini

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