Aperiodic Tile Creation API API ID: 12630

Generate unique, non-repeating tile patterns with the Aperiodic Tile Creation API for creative projects.
Use this API from your AI agent via MCP
Works with OpenClaw, Claude Code/Desktop, Cursor, Windsurf, Cline and any MCP-compatible AI client.
Docs & setup
Create a skill by wrapping this MCP: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

About the API

The Aperiodic Monotile Generator API is a hosted REST service for gap-free aperiodic monotile geometry using Spectre Tile 1,1 (Einstein monotile). It fills a region with a non-repeating tiling, clips to a mask shape, assigns stable tile IDs and labels, and exports production-ready artifacts. Built for developers and AI agents who need real tilings without running substitution depth, atlas construction, or fractal iteration tooling on the client. Supports computer graphics, procedural worlds, Blender and game engines, Adobe and CAD, 3D printing, generative art, scientific visualization, metamaterials, wave and acoustic layouts, cryptography-adjacent lattice experiments, and data pipelines that require deterministic geometry.

What this API receives and what your API provides (input/output)

You send JSON with a mask and output formats. Masks include circle, rectangle, square, triangle, regular hexagon, and rounded rectangle, centered automatically in canonical tile units. Optional scale, rotation, seed, SVG stroke and palette options, raster dimensions, and 3D extrusion depth. Authenticate with header X-API-Key. Workflow is async: create a patch job, poll job status until completed or failed, then fetch signed download URLs. Formats include png, jpg, jpeg, svg, csv, json, stl, glb, stl_zip, obj_zip, and instance_json. GLB provides one named node per tile. STL ZIP and OBJ ZIP provide independent meshes per tile. Free keys allow small raster previews only. Paid Solo and Commercial keys unlock vectors, 3D, zip bundles, and larger jobs. Optional Idempotency-Key header prevents duplicate submissions on retry. Call the capabilities endpoint to inspect live tier limits, supported masks, formats, and queue depth before large jobs.

What are the most common use cases of this API

Anti-moire and non-periodic sampling for rendering and textures. Procedural meshes and world decoration in Unity, Godot, and Three.js via GLB. Blender add-on and pipeline integration for tiled surfaces. Vector output for Illustrator, Inkscape, and laser or plotter workflows via SVG. Single-panel 3D printing with STL or separate printable tiles with STL ZIP and OBJ ZIP. Generative sculpture and ornamental design. Research and education on aperiodic tilings. CSV, JSON, and instance manifests for custom importers, spatial indexing, and machine learning datasets. Agents should start users on png or jpg, move to svg for design tools, glb for realtime 3D, stl for fabrication panels, and stl_zip when each tile must be a separate object.

Are there any limitations with your plans

Free tier is limited to small PNG and JPG previews. Heavy jobs such as large GLB or zip exports are classified small, standard, or heavy and may queue; responses include estimated wait and queue position, so clients should poll rather than resubmit. Signed download URLs expire; users must save artifacts they care about. Do not ask end users for tile family, mask center, retention mode, patch version, substitution depth, or coverage extent. Full machine-readable integration guidance for AI agents is available on the provider documentation site configured in this listing.

API Documentation

Endpoints


Returns JSON with status ok and a timestamp when the API process is alive. Use this to verify Zyla can reach the backend before testing patch or job endpoints.



                                                                            
GET https://docs.zylalabs.com/api/12630/aperiodic+tile+creation+api/24447/health+check
                                                                            
                                                                        

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.


API EXAMPLE RESPONSE

{"status":"ok","ts":1779302690.671844}

Health Check - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12630/aperiodic+tile+creation+api/24447/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Returns live supported output formats, mask types, tier limits, queue settings, and atlas summary for your API key. Call this before large patch jobs so agents know what formats and sizes are allowed.



                                                                            
GET https://docs.zylalabs.com/api/12630/aperiodic+tile+creation+api/24448/capabilities
                                                                            
                                                                        

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.


API EXAMPLE RESPONSE

{"patch_engine_semver":"1.0.0","supported_tile_families":["spectre_tile_1_1"],"roadmap":{"tile_families":[{"id":"spectre_tile_1_1","status":"supported","label":"Spectre / Tile(1,1)"},{"id":"einstein_hat_tile","status":"planned","label":"Einstein Hat monotile (same API hooks)"},{"id":"turtle_tile","status":"planned","label":"Companion turtle monotile family"}]},"free_tier_formats":["jpeg","jpg","png"],"supported_masks":["square","rectangle","circle","regular_hexagon","triangle","rounded_rect"],"supported_formats":["svg","csv","json","stl","stl_zip","obj_zip","glb","instance_json","png","jpg","jpeg"],"output_notes":{"glb":"3D tiled scene with one named, movable node per retained tile.","stl":"Whole-panel mesh output.","stl_zip":"Independent STL files, one per tile.","obj_zip":"Independent OBJ files, one per tile."},"boundary_behavior":"clip","visual_styling":{"side_styles":["flat","curvy","wavy","jagged","blocky"],"side_style_aliases":{"curved":"curvy","curve":"curvy"},"side_style_amplitude":{"min":0.0,"max":0.75,"default":0.12},"tile_edge_ratio":{"min":0.25,"max":4.0,"default":1.0,"note":"Anisotropic stretch of export geometry only; substitution placement remains canonical Tile(1,1). Not a true Tile(a,b) two-family substitution."},"side_style_wavy_segments":{"min":4,"max":64,"default":10},"palette_by_label":{"supported":true,"keys_per_label":["fill","stroke","opacity","stroke_width"],"wildcard_label":"*"},"request_fields":["side_style","side_style_amplitude","tile_edge_ratio","side_style_wavy_segments","palette_by_label"]},"limits":{"max_supertile_iterations":26,"max_tiles_per_job":500000,"sync_max_tiles":8000,"svg_max_tiles_hard":25000,"png_max_dimension_px":16000,"png_max_pixels":50000000,"max_output_bytes_soft":32212254719,"max_wall_time_sec":3600.0,"job_gc_hours":24,"stl_tile_instancing_floor":50000,"svg_max_chars":400000000,"redis_url":null},"atlas":{"available":true,"max_canonical_half_side":1544.0511060838514,"max_canonical_full_side":3088.102212167703,"cores":[{"tile_family":"spectre_tile_1_1","iterations":5,"tile_count":34649,"inscribed_half_side":72.85611373427516,"inscribed_center":[180.85884907869263,-190.4637563106116],"patch_version":"0.1.0"},{"tile_family":"spectre_tile_1_1","iterations":6,"tile_count":272791,"inscribed_half_side":197.20129785929603,"inscribed_center":[611.0929636810714,-457.26130132202326],"patch_version":"0.1.0"},{"tile_family":"spectre_tile_1_1","iterations":7,"tile_count":2147679,"inscribed_half_side":516.3669015101796,"inscribed_center":[1297.8529395021253,-1742.7605795910576],"patch_version":"0.1.0"},{"tile_family":"spectre_tile_1_1","iterations":8,"tile_count":16908641,"inscribed_half_side":1544.0511060838514,"inscribed_center":[4553.311273135866,-4060.276908476975],"patch_version":"1.0.0"}]},"coordinate_convention":"Canonical Tile(1,1) planar coordinates (unit-edge reference). Global client scale ∈ ℝ⁺ and rotation_deg are similarity transforms applied after substitution.","operational":{"run_jobs_in_process":false,"rate_limit_post_patch":"30/minute","queue_max_active_jobs":2000,"queue_max_active_jobs_per_key":100,"queue_max_heavy_jobs":300,"queue_max_heavy_jobs_per_key":10,"download_ttl_seconds_max":3600,"artifact_retention_note":"Generated artifacts are kept for roughly one hour after the job completes. Download or copy them to your own storage if you need them longer."}}

Capabilities - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12630/aperiodic+tile+creation+api/24448/capabilities' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Creates an aperiodic monotile patch from a JSON with adjustable boundary shape, color palette, scale, side style, side a/b ratio in formats such as SVG, GLB, STL, or PNG

 

mask: Region to tile, in canonical Tile(1,1) units, centered at origin. Must include type. Supported types: square (half_side), circle (radius), rectangle (width, height), triangle (side_length), regular_hexagon (circumradius), rounded_rect (width, height, corner_radius). Example: {"type":"circle","radius":50}.

formats: Output artifacts to generate. Allowed values: svg, png, jpg, jpeg, csv, json, stl, stl_zip, obj_zip, glb, instance_json. At least one format is required; omitting the field uses the default list.

scale: Global similarity scale applied after placement (must be > 0). Use to resize the whole patch in world units.

side_style: Edge look for export geometry: flat, curvy, wavy, jagged, or blocky. Alias curved is accepted and mapped to curvy. Affects SVG, PNG/JPG, STL/OBJ ZIP, and GLB.

side_style_amplitude: Bulge strength for styled edges (0.0–0.75). Ignored when side_style is flat. Higher values produce stronger waves or corners.

tile_edge_ratio: Anisotropic stretch of tile outlines for export only (0.25–4.0). Values other than 1.0 elongate or squash the drawn mesh; placement remains canonical Tile(1,1), not a true Tile(a,b) substitution.

palette_by_label: Per-tile-label colors for SVG and rasters. Keys are tile labels (e.g. Gamma, Delta) or "*" for default. Each value may include fill, stroke, opacity, and transparent (boolean). Example: {"Gamma":{"fill":"#d94738"},"*":{"opacity":0.95}}.

stl_extrusion_mm: Extrusion thickness in millimeters for stl, stl_zip, obj_zip, and glb outputs (must be > 0). No effect if those formats are not requested.

svg_fill: Default SVG fill color (e.g. #cdd6ea).

png_width_px: Raster size when png is in formats; both must be set together.

png_height_px: Raster size when png is in formats; both must be set together.



                                                                            
POST https://docs.zylalabs.com/api/12630/aperiodic+tile+creation+api/24449/create+patch+job
                                                                            
                                                                        

Create Patch Job - Endpoint Features

Object Description
Request Body [Required] Json

Free test requests remaining: 3 of 3.


INPUT PARAMETERS


API EXAMPLE RESPONSE

{"job_id":"bfb87a47-6910-462c-86ec-2bb63ca9bba7","status":"queued","tier":"tier_free","size_class":"small","estimated_seconds":5.0,"request_id":"2c7470cc-b96f-4725-b419-41826e2871e5","queue":{"status":"queued","size_class":"small","position":1,"estimated_wait_seconds":0.0}}

Create Patch Job - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/12630/aperiodic+tile+creation+api/24449/create+patch+job' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "mask": {"type": "circle", "radius": 16},
  "formats": ["png", "jpg"],
  "png_width_px": 512,
  "png_height_px": 512,
  "jpg_width_px": 512,
  "jpg_height_px": 512
}'

    

The "Get Job Download URLs" endpoint is designed to retrieve a list of downloadable URLs associated with the job.

job_id param: Job UUID returned by Create Patch Job



                                                                            
GET https://docs.zylalabs.com/api/12630/aperiodic+tile+creation+api/24450/get+job+download+urls
                                                                            
                                                                        

Free test requests remaining: 3 of 3.


API EXAMPLE RESPONSE

{"job_id":"bfb87a47-6910-462c-86ec-2bb63ca9bba7","status":"completed","ttl_seconds":900,"urls":{"patch.jpg":"/v1/downloads/bfb87a47-6910-462c-86ec-2bb63ca9bba7/patch.jpg?exp=1779375751&sig=d61d646a3e3893ba4bd7c753a46cb9af2e8eca4178467ec19f62a2481ad3d39a","patch.png":"/v1/downloads/bfb87a47-6910-462c-86ec-2bb63ca9bba7/patch.png?exp=1779375751&sig=c6c4732a4874653588673c05fe14fb4570047b05603da7318d701d7694ec5064"}}

Get Job Download URLS - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/12630/aperiodic+tile+creation+api/24450/get+job+download+urls&job_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Aperiodic Tile Creation API simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Aperiodic Tile Creation API FAQs

Each endpoint returns JSON data. The Health Check endpoint confirms API status, while the Capabilities endpoint provides supported formats, mask types, and tier limits. The Create Patch Job endpoint returns job details, including job ID and status. The Get Job Download URLs endpoint provides downloadable URLs for completed jobs.

Key fields include `status`, `job_id`, `urls`, `estimated_seconds`, and `queue` details. For example, the Create Patch Job response includes `job_id`, `status`, and `size_class`, while the Get Job Download URLs response includes `ttl_seconds` and `urls` for downloadable files.

Parameters include `mask`, `scale`, `rotation`, `seed`, `palette`, and `raster dimensions`. Users can customize their requests by specifying these parameters to control the shape, size, and appearance of the generated tile patterns.

Response data is structured in JSON format with nested objects. For instance, the Create Patch Job response includes a top-level object containing job details, while the Get Job Download URLs response includes a `urls` object with individual file links.

The Capabilities endpoint provides information on supported output formats, mask types, tier limits, and queue settings. It helps users understand what formats and sizes are permissible for their patch jobs, ensuring compatibility with their projects.

Users can utilize the returned data by checking the `status` field to monitor job progress, using `job_id` to track specific jobs, and accessing `urls` to download completed artifacts. This allows for efficient integration into workflows and project pipelines.

Typical use cases include generating textures for game development, creating unique patterns for 3D printing, and producing vector graphics for design applications. The API supports a wide range of creative and technical projects, making it versatile for various industries.

Data accuracy is maintained through rigorous testing and validation of the tiling algorithms used in the API. The API's design ensures that generated patterns are non-repeating and adhere to specified parameters, providing reliable outputs for users.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs