How to Use Ideogram 4 Tiling in Codex
Ideogram 4 Tiling makes repeating textures for backgrounds, wallpaper, and surface designs. Choose it for prompt-led patterns; Ideogram 4 Tiling LoRA adds guidance from a custom-trained style or motif.
Prompts to try with Ideogram 4 Tiling in Codex
Copy an example into Codex, or ask in your own words.
Use Ideogram 4 Tiling to create a subtle paper texture matching this project's colors. Add a CSS repeat preview so I can inspect the joins.
Use Ideogram 4 Tiling to draft a top-down mossy stone texture for this game's courtyard. Keep the lighting even and preview it across a large floor.
Use Ideogram 4 Tiling to turn the project's existing painted texture into a repeat. Start with low transformation strength to retain its brushwork.
Use Ideogram 4 Tiling to repair the marked area of our texture. Make the edit mask white there and black elsewhere, then show a repeated preview.
Generate a product photo with Ideogram 4 Tiling: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
How to set up Ideogram 4 Tiling in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- 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
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Ideogram 4 Tiling
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": "ideogram/v4/tiling", "input": { "prompt": "A red panda perched on a mossy branch in a misty forest at sunrise" } }'
Then paste one of the prompts above: Codex finds Ideogram 4 Tiling on Spiral, shows the price and runs it.
Ideogram 4 Tiling providers and prices
Spiral runs Ideogram 4 Tiling through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Ideogram 4 Tiling works from your prompt, image URL, and mask image URL. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Expansion model | None, Medium, or Large | Medium | Which model expands the prompt. 'None' disables prompt expansion and skips its fee; 'Medium' is fast; 'Large' uses Ideogram's Magic Prompt for the highest quality. |
| Rendering speed | TURBO, BALANCED, or QUALITY | BALANCED | The rendering speed to use. Faster speeds use fewer denoising steps. |
| Acceleration | none, low, regular, or high | none | The acceleration level to use for the image generation. |
| Number of images | 1 to 4 | 1 | Number of images to generate. |
| Seed | a whole number | The seed to use for generation. If not provided, a random seed will be used. | |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Strength | 0 to 1 | 0.8 | How much to transform the input image. Only used when |
| Tiling mode | both, horizontal, or vertical | both | Tiling direction: 'both' (omnidirectional), 'horizontal' (left-right only), or 'vertical' (top-bottom only). |
Every API field of Ideogram V4.0q Tiling is on its tool page: open its card above.
What can you do with Ideogram 4 Tiling in Codex?
Build repeating visual assets for websites and games with Ideogram 4 Tiling. A coding agent can use the project's design choices to draft textures and place them in a repeat preview.
Website backgrounds
Create a quiet repeating texture behind a page or section. Preview it across a large area before choosing the final pattern.
Wallpaper concepts
Explore botanical, geometric, or illustrated repeats for an interior design proposal.
Fabric print concepts
Draft repeating motifs for apparel or upholstery, with a named palette and consistent spacing.
Gift wrap and packaging artwork
Make repeating decorative backgrounds for wrapping paper, box interiors, or packaging mockups.
Game surface textures
Draft repeating stone, soil, or painted surface artwork for a game's environment.
Source-image pattern studies
Turn an existing image into a repeating texture, adjusting transformation strength to explore closer or looser interpretations.
Pattern repairs
Regenerate a masked area of an existing tile while preserving the surrounding artwork.
More on Ideogram 4 Tiling and Codex
Overview
Ideogram 4 Tiling in other agents
Questions about Ideogram 4 Tiling in Codex
Can Codex use Ideogram 4 Tiling?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Ideogram 4 Tiling like any built-in tool.
How much does Ideogram 4 Tiling cost in Codex?
$0.052 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 Ideogram 4 Tiling in Codex?
No. Spiral runs Ideogram 4 Tiling on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Ideogram 4 Tiling in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Ideogram 4 Tiling runs?
Ideogram 4 Tiling runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.
What is Ideogram 4 Tiling best for?
Repeating surface artwork: wallpaper, fabric patterns, packaging backgrounds, and digital textures. Its matching edges let one image cover a larger area through repetition.
How should I write a pattern prompt?
Name the motif, medium, colors, and spacing, such as small navy leaves in a block-print style on white. Keep prompt expansion enabled for plain English; use a structured JSON caption when you want to specify those details directly.
How can I keep a tile close to a source image?
Use lower transformation strength to retain more of the source. Increase it when you want the source to serve as inspiration for a more substantial change.
Can I repair just part of a pattern?
Yes. Supply the existing image and a mask with white over the area to regenerate and black over the area to preserve.
Can a repeating pattern include lettering?
Use short, quoted labels rather than long passages. Ideogram recommends five to seven words per quoted string, so keep repeated lettering brief and check the result before using it.
Start using Ideogram 4 Tiling in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


