.hextile.json Format Reference
Workflow, render config and World (.prompt.json) files — prompts, directional tiles, face tiles, spot tiles and passes, for apps and agents that write them
Last updated: 2026-11-28
360 Hextile stores render recipes and prompt environments as plain UTF-8 JSON. This page describes those files so you can write them yourself, from another app, from a script or from an AI agent, and hand them to 360 Hextile as inputs. The running app's validator is the final word. If this page and a validation error disagree, follow the error and tell us.
The file family
| File | document_type |
What it holds | Size cap |
|---|---|---|---|
<name>.hextile.json |
hextile.workflow |
A Workflow: a portable, full render recipe — pipeline, template, prompts, tiles, passes, modules. Made by Save as Workflow…. | 5 MiB |
config.hextile.json |
hextile.render-config |
The recipe a finished render used, saved inside that render's folder. Same recipe body as a Workflow. | 16 MiB |
<name>.prompt.json |
hextile.world |
A World: prompts only — global text, negative text and aimed prompt tiles. No model, template or render settings. | 1 MiB |
A Workflow and a render config share one recipe body. Everything under The recipe applies to both. A World is the small prompt-only file. See Worlds: the prompt-only file.
None of these files contain images or model weights. The input image, installed models and LoRAs must exist on the machine that runs the recipe.
Header
Every current file starts with three header keys:
{
"document_type": "hextile.workflow",
"format_version": 1,
"created_with": "my-generator 1.0"
}
document_typenames the file kind from the table above.format_versionis1for all three kinds today.created_withis any non-empty string naming the app or tool that wrote the file.
Headerless files still load. A recipe with no header is treated as an older file and upgraded in memory. A headerless Workflow needs at least a non-empty pipeline string. A headerless render config needs pipeline plus hextile, input and diffusion objects. A headerless World needs name and global_prompt. Writing the header is still the better choice: it states the kind exactly, so the wrong door refuses the file with a clear message instead of guessing.
A file with a higher format_version than the app knows is refused with "This file requires a newer version of 360 Hextile."
Coordinates: yaw and pitch
Every aimed tile is a direction on the sphere in degrees. Directions are measured on the equirectangular (2:1) panorama:
| Value | Where it lands on a 2:1 panorama | |
|---|---|---|
| Centre | yaw 0, pitch 0 |
Middle of the image |
yaw |
−180 … 180 | Left edge → right edge. yaw = x / width × 360 − 180 |
pitch |
−90 … 90 | Top row is −90 (sky), bottom row is +90 (ground). pitch = y / height × 180 − 90 |
roll |
degrees | Rotates a spot's mask about its own direction. Default 0 |
Positive pitch points down. This is what the app itself writes when you click the panorama, and it is what the factory Worlds use. Yaw values outside ±180 wrap.
A six-direction layout in this convention:
| Direction | yaw |
pitch |
|---|---|---|
| Front (image centre) | 0 | 0 |
| Back (image seam) | 180 | 0 |
| Quarter left | −90 | 0 |
| Quarter right | 90 | 0 |
| Sky | 0 | −90 |
| Ground | 0 | 90 |
Converting from a pixel: on a 4096 × 2048 panorama, pixel (3072, 512) is yaw = 3072/4096 × 360 − 180 = 90, pitch = 512/2048 × 180 − 90 = −45.
Template faces are not aimed by yaw/pitch. A face tile is bound by number instead. See Face tiles.
A minimal Workflow
This is a complete, valid Workflow. It renders an input panorama through SDXL on the Dodecahedron template with one global prompt:
{
"document_type": "hextile.workflow",
"format_version": 1,
"created_with": "my-generator 1.0",
"schema_version": "prompt-data-model-v2",
"pipeline": "sdxl",
"hextile": { "template": "Dodecahedron" },
"input": { "mode": "single", "source": "file", "path": "" },
"diffusion": {
"model": "sdxl-inpaint-0.1",
"seed": -1,
"strength": 0.5,
"guidance_scale": 7.0,
"num_inference_steps": 25
},
"prompt": {
"global": "misty pine forest at dawn, soft volumetric light, photorealistic",
"negative": "blurry, low quality, text, watermark, seams"
},
"workflow": { "schema_version": 1, "source": { "kind": "image" } }
}
input.pathis empty on purpose. A Workflow is a reusable recipe; the person running it supplies the image. An agent setsinput.pathonly for a live run on that machine.workflow.source.kindsays what the recipe starts from:image,solid_color(also needscolor,width,height) orpattern(needs apatternobject).- Omitted blocks and fields take their defaults.
The recipe
Top-level keys of a Workflow or render config:
| Key | Type | Required | Holds |
|---|---|---|---|
schema_version |
string | defaults | "prompt-data-model-v2" |
pipeline |
string | yes | Which processor runs. See Pipelines |
hextile |
object | yes | Template and tiling settings |
diffusion |
object | yes | Model and generation settings |
input |
object | no | Source image settings |
prompt |
object | no | Global, negative, directional and blend settings. See Prompting |
tiles |
array | no | Aimed prompt tiles, face tiles and spot tiles. See Tiles |
passes |
array | no | Up to 10 passes. See Passes |
output |
object | no | Output projection, size and file type |
post_process |
object | no | { "enabled": true, "hooks": [] } ordered effect hooks |
upscale |
object | no | Upscale model and scale |
sequence |
object | no | Frame-sequence settings |
workflow |
object | Workflow only | { "schema_version": 1, "source": { "kind": … } } |
meta |
object | no | name, description, tags shown on the Workflow shelf |
Unknown keys are ignored when the recipe renders. Do not use these retired names — the validator refuses them: upscaling, post_processing, rendertiles, frame_generation. Prompt text never goes inside diffusion. It lives in the top-level prompt block.
hextile
| Field | Default | Notes |
|---|---|---|
template |
— (required) | Template name, e.g. Dodecahedron. See Templates |
template_id |
null |
Stable template id. Optional; name-only files load |
tile_ordering |
"template_default" |
Order the faces are processed. See Directional Tiles |
tile_input_width / tile_input_height |
1024 |
Size each face is cut out at |
tile_output_width / tile_output_height |
1024 |
Size each face is diffused at |
grid_offset_yaw / grid_offset_pitch / grid_offset_roll |
0 |
Rotate the template grid on the sphere, in degrees |
camera_coordinate_system |
"Blender" |
Leave as written |
process_mode |
"sequential" |
Leave as written |
input
| Field | Default | Notes |
|---|---|---|
mode |
"single" |
single image or sequence of frames |
source |
"file" |
file, or render to start from an existing render |
path |
"" |
The input file. Leave empty in shared Workflows |
format |
"equirectangular" |
Input projection |
width / height |
8192 / 4096 |
Input canvas size |
diffusion
| Field | Default | Notes |
|---|---|---|
model |
— (required) | Model id for the chosen pipeline, e.g. sdxl-inpaint-0.1 |
seed |
-1 |
-1 picks a random seed. Each face gets seed + face number unless told otherwise |
strength |
0.5 |
0–1. How far the result may move from the input |
guidance_scale |
7.5 |
Prompt adherence. Range depends on the model |
num_inference_steps |
20 |
Denoising steps. Range depends on the model |
scheduler |
"default" |
Sampler name |
lora, controlnet, ip_adapter, noise |
defaults | Module blocks. Support depends on the pipeline |
output
| Field | Default | Notes |
|---|---|---|
format |
"equirectangular" |
Also fulldome, fulldome_angular, cubemap_cross, rectilinear, stereographic |
width / height |
8192 / 4096 |
Final image size |
file_format |
"PNG" |
Or JPG with jpg_quality 1–100 |
pan / tilt / roll |
0 |
Rotate the output, in degrees |
path |
"" |
Leave empty in shared Workflows |
Prompting
The prompt block sits at the top level, beside diffusion, and also inside each pass.
"prompt": {
"global": "ancient desert canyon city carved into red sandstone, golden hour",
"negative": "blurry, low quality, text, watermark, people",
"directional": { "enabled": true, "min_weight_threshold": null, "blend_width": null },
"blend": {
"semantic": false,
"anchor": { "prompt": "", "lock_strength": 0.0, "suppress_subjects": true }
}
}
| Field | Default | What it does |
|---|---|---|
global |
"" |
The base prompt every face receives |
negative |
"" |
What to steer away from, for every face |
directional.enabled |
true |
Master switch for mixing in the aimed prompts from tiles |
directional.blend_width |
null |
Reach: how wide each aimed prompt spreads, 0.1–2.0. null = Auto, derived from how far apart your aimed tiles are |
directional.min_weight_threshold |
null |
Cutoff: drop any aimed prompt whose share is below this, 0.0–0.5. null = app default |
blend.semantic |
false |
false joins prompt text. true blends prompt embeddings (Semantic Blend), where the pipeline supports it |
blend.anchor.prompt |
"" |
With Semantic Blend, a style prompt every face leans toward. Empty = auto |
blend.anchor.lock_strength |
0.0 |
0 = free blend, 1 = the anchor dominates |
blend.anchor.suppress_subjects |
true |
Adds people/face terms to the negative prompt |
How each face's prompt is built
For each template face, the app works out the prompt in this order:
- A face tile wins. If a tile is bound to this face (
face_index), itspromptreplaces the global prompt for that face. Withinclude_global: truethe face gets"<tile prompt>, <global prompt>". Aimed prompts are not mixed into a face that has a face tile. - Otherwise aimed prompts mix in. The app measures the angle from the face's centre to every aimed tile. Each aimed tile gets a weight that falls off with that angle (a normalised Gaussian by default). Prompts below the Cutoff are dropped. The surviving prompts are combined with the global prompt, by text or by Semantic Blend.
- No aimed tiles nearby leaves the global prompt alone.
Tips for writing prompts:
- Put the scene, style and lighting in
global. Put what is in one direction in an aimed tile: "a stone bridge over the river", not the whole scene again. - Give the sky and ground their own aimed tiles (
pitch −90andpitch 90). Poles are where a single global prompt is weakest. - Four to twelve aimed tiles is a practical range. Many tiles close together blur into each other. Use Reach and Cutoff to sharpen them.
- Keep the negative prompt short and general. Per-direction exclusions belong in that tile's prompt wording.
Tiles
tiles is one list for every kind of tile. What a tile is depends on which fields it sets:
| Kind | Set these | What it does in a render |
|---|---|---|
| Aimed prompt tile (directional) | yaw, pitch, prompt |
Its prompt mixes into nearby faces by angle. Changes text, not a footprint. |
| Face tile | face_index, prompt |
Replaces the prompt for exactly one template face during the normal sweep |
| Spot tile (free tile) | yaw, pitch, render: true, mask, prompt |
A local masked inpaint at that direction. Rendered in Spot Edit, not by the full sweep |
A Workflow can hold all three kinds at once. Every id in the list must be unique when present. Omit id and the app assigns one.
Aimed prompt tiles
"tiles": [
{ "id": "sky", "yaw": 0, "pitch": -90, "prompt": "deep violet dusk sky, first stars, thin high clouds" },
{ "id": "ground", "yaw": 0, "pitch": 90, "prompt": "cracked red sandstone floor, scattered pottery shards" },
{ "id": "front", "yaw": 0, "pitch": 0, "prompt": "towering carved temple facade with a huge arched doorway" },
{ "id": "back", "yaw": 180, "pitch": 0, "prompt": "narrow canyon exit, distant dunes under the last light" },
{ "id": "left", "yaw": -90, "pitch": 0, "prompt": "terraced cliff dwellings with hanging gardens" },
{ "id": "right", "yaw": 90, "pitch": 0, "prompt": "market square with cloth awnings and lanterns" }
]
Shape the influence of one tile with:
| Field | Default | Effect |
|---|---|---|
strength |
1.0 |
Weight multiplier. 0 mutes the tile; values above 1 make it dominate. Negative values become 0 |
falloff |
2.0 |
Kernel shape p in exp(-(θ/σ)^p). 2 = Gaussian. Higher = flatter top and harder edge |
anchor |
null |
true forces the tile to count as an interpolation anchor; false excludes it |
include_global |
null |
Sparse override: include the global prompt alongside this tile |
include_style |
null |
false skips LoRA/style wording for this tile |
include_directional |
null |
Sparse override of prompt.directional.enabled |
include_semantic |
null |
Sparse override of prompt.blend.semantic |
fov |
null |
Field of view for Describe crops and spot footprints. It does not change prompt mixing |
locked |
null |
true stops the UI from dragging the tile |
Face tiles
A face tile pins a prompt — and optionally settings — to one face of the template. Faces are numbered from 0. The Dodecahedron has faces 0–11. A face_index past the last face is ignored with a warning.
{ "id": "face-3", "face_index": 3, "prompt": "a lighthouse on the cliff edge", "include_global": true,
"diffusion": { "strength": 0.7, "seed": 1234 } }
- Face tiles are applied by every full RENDER, on every pass that uses that template.
- Without
template_id, the tile applies to whatever template is active. Withtemplate_id, it applies only when that template is active, so a multi-template stack can target faces per template. - If two tiles claim one face, the later one in the list wins.
- A face tile's yaw/pitch, if any, never re-aims the face.
Per-tile settings
diffusion and post_process on a tile override the pass settings for that tile only. Write only the keys you want to change:
"diffusion": { "strength": 0.35, "num_inference_steps": 30, "guidance_scale": 6.0, "seed": 77 }
seedabsent: the tile follows the render seed (seed + face number).seed: -1: a fresh random seed for this tile.seed: <number>: exactly that seed, every run.- Arrays inside an override replace the whole array, they do not merge.
- Settings that load a different model, such as
model, are per pass, not per tile.
Spot tiles
A spot tile is a local masked inpaint at a free direction, the file form of a spot in Spot Edit. render: true without face_index requires a mask:
{
"id": "spot-lantern",
"yaw": 42.5, "pitch": 8.0, "roll": 0, "fov": 40,
"prompt": "a glowing paper lantern hanging from a beam",
"render": true,
"mask": { "source": "shape", "shape": "hexagon", "sides": 6, "radius": 0.45,
"inpaint_blur": 64, "blend_blur": 32, "blend_clip": 0.1 },
"state": "draft",
"diffusion": { "strength": 0.8 }
}
mask field |
Default | Notes |
|---|---|---|
source |
"shape" |
shape, from_template (a template face's mask), from_raster (a Cutout mask the app made) |
shape |
null |
triangle, square, pentagon, hexagon, kite, rhombus, circle |
sides |
null |
3 or more |
radius |
null |
Positive; relative to the spot's crop |
roll |
null |
Rotates the polygon before rasterising |
aspect |
1.0 |
x/y stretch |
corner_radius |
0.0 |
0–1 corner rounding |
inpaint_blur / blend_blur / blend_clip |
64 / 32 / 0.1 |
Edge softness of the regenerated area and its blend |
template_id, face_index |
null |
For from_template |
from_raster points at a mask file the app created itself. Agents and other apps should write shape masks.
Lifecycle. state is draft (not yet applied), baked (applied and committed) or disabled. When you set render: true, state defaults to draft. The app stamps applied_input_hash when a spot is baked. Do not write baked or applied_input_hash yourself. A baked spot whose hash matches the input is skipped so its committed pixels are not re-diffused.
How spots render today. A full RENDER sweeps the template faces. It does not run spot tiles. Open the render in Spot Edit to Preview and Commit each spot.
Passes
passes is an optional list of up to 10 sweeps run top to bottom. Each pass's output is the next pass's input. A pass carries only the fields it changes. Everything else comes from the root.
"passes": [
{ "name": "Structure", "enabled": true,
"hextile": { "template": "Dodecahedron" },
"diffusion": { "strength": 0.55, "num_inference_steps": 30 } },
{ "name": "Detail", "enabled": true,
"hextile": { "template": "Truncated_Icosahedron" },
"diffusion": { "strength": 0.25, "num_inference_steps": 20 },
"prompt": { "global": "intricate surface detail, sharp focus" },
"tiles": [ { "id": "face-7", "face_index": 7, "prompt": "ornate bronze doors" } ] }
]
| Pass field | Notes |
|---|---|
name |
Label shown in the Pass panel |
enabled |
false skips the pass. At least one must stay enabled |
pipeline |
Optional pipeline change for this pass |
hextile, diffusion, prompt, post_process |
Partial overrides merged onto the root |
tiles |
Replaces the tile list for this pass. Root tiles apply when absent. [] clears them for this pass |
upscale is not allowed inside a pass. See Multipass for factory stacks.
Worlds: the prompt-only file
A World (.prompt.json) is the prompt part of a recipe and nothing else: global text, negative text and aimed tiles. Use it when you only want to supply prompts and let the person choose the model, template and settings. Export and import it from the Prompt toolbar. See Worlds.
{
"document_type": "hextile.world",
"format_version": 1,
"created_with": "my-generator 1.0",
"name": "Canyon City",
"description": "Sandstone city at dusk",
"category": "fantasy",
"global_prompt": "ancient desert canyon city carved into red sandstone, golden hour, cinematic",
"negative_prompt": "blurry, low quality, text, watermark",
"tiles": [
{ "id": "sky", "yaw": 0, "pitch": -90, "prompt": "deep violet dusk sky, first stars" },
{ "id": "ground", "yaw": 0, "pitch": 90, "prompt": "cracked red sandstone floor" },
{ "id": "front", "yaw": 0, "pitch": 0, "prompt": "carved temple facade with an arched doorway" },
{ "id": "back", "yaw": 180, "pitch": 0, "prompt": "canyon exit toward distant dunes" }
]
}
| Field | Required | Maps to |
|---|---|---|
name |
yes | World name in the browser |
global_prompt |
yes (may be "") |
prompt.global |
negative_prompt |
no | prompt.negative |
tiles |
no | tiles, copied as written |
description, category, id |
no | Browser metadata |
World tiles use the same fields as recipe tiles. Most Worlds hold aimed prompt tiles. Loading a World with Load replaces the current prompts and tiles; Append and Prepend join the text onto what is already there. A tile whose id collides with an existing one gets a fresh id.
Generating files from apps and agents
Rules that keep a file valid
- Write the header,
pipeline,hextile.templateanddiffusion.model. - Keep prompt text in
prompt, never indiffusion. - Give every tile a unique
id, or none. - A tile may not contain
tiles,passes,hextile,outputorupscale. - A spot tile (
render: true, noface_index) needs amask. - Leave
input.pathandoutput.pathempty in a file meant for someone else. - Do not write
state: "baked",applied_input_hashorfrom_rastermask paths. The app owns those. - Arrays replace wholesale when a pass or tile overrides them.
With MCP
The 360 Hextile MCP server lets an agent build, check and run these recipes on a machine running the app. See Agent Mode for setup. A typical sequence:
get_capabilities— what this app, license and GPU can run right now.get_guidewith topicworkflow-schema— the live recipe guide for this app version.list_workflows/get_workflow— start from an existing recipe instead of a blank one where possible.validate_configwith yourdocument— finds errors without rendering. Passdry_runto plan without running.save_workflowto put it on the Workflow shelf, orrun_workflowwithdocumentand anoverrides.input.pathto render it.get_statusto follow progress.
validate_config and run_workflow take the recipe as a JSON object (document), not a file path. The input image comes from input.path inside it or in overrides. To change an open render instead of starting a new one, get_live_context then apply_config_delta.
From another app
Write the JSON file and let the person open it: Save as Workflow… files go on the Workflow shelf; Apply Workflow to… applies one to an open render; Import World reads a .prompt.json. Your app can produce the input panorama too, as a standard 2:1 equirectangular PNG or JPG.
Pipelines
sdxl, sd35, sd21, sd15, qwen_image, flux_schnell, flux2_klein, chroma and z_image are tiled diffusion pipelines that use templates, prompts and tiles. telestyle, realesrgan, edit, coverage_test, format_converter, fractal, depth and hdri_conversion are other processors with their own settings. What actually runs depends on the installed models and your license; get_capabilities reports it. See Pipelines.
Templates
Factory template names for hextile.template: Cube, Dodecahedron, Rhombic_Dodecahedron, Icosahedron, Rhombicuboctahedron, Truncated_Icosahedron, Chamfered_Dodecahedron, Disdyakis_Dodecahedron, Pentakis_Dodecahedron, Deltoidal_Hexecontahedron, Goldberg_GP_2_1_72, Goldberg_GP_3_0, Hextile_12_DODECA, Hextile_20_2K, Hextile_32_3K, Hextile_44_4K. Custom templates use the name they were saved under. See Templates.
Related
- Presets and Workflows — saving and applying Workflows in the app
- Directional Tiles — aiming prompts in the UI
- Spot Editing — previewing and committing spots
- Worlds — the prompt-only library
- Agent Mode — connecting an agent through MCP