Create 16-tile tileset
createTilesetBuild a 16-tile tileset from seamless base tiles: every arrangement a map needs, so the edges and corners fall into place when a map is painted with it. kind terrain (the default) blends terrain A (tile_a, required) into terrain B (tile_b; leave it out and the tiles are cut out there, transparent, for floors over a void or islands), with the boundary described in transition (e.g. white sea foam, a low stone curb): its 16 tiles cover every way the two terrains meet at a tile's four corners. kind lines lays a line (tile_b, required: a strip or scatter made by createTile, or a ground tile of the line's material) over a ground (tile_a, optional: without it the set is a transparent overlay), in every dead end, straight, turn, T and crossing: its 16 tiles cover every way the line leaves a tile by its four sides. Both tiles must be for the set's grid. Pass tiles as the url createTile returned (the tile is then read with its type, which gives the best result) or as any image by URL or base64, uploaded and limited to 15MB; an image that does not repeat seamlessly is rejected. shape sets the outline of the boundary and save_normals adds a normal map of the whole atlas. The job result is one tileset: atlas_url (a 4 x 4 atlas of the 16 tiles, each tile_width x tile_height), normal_map_url when asked, and tiles, each with its row and column on the atlas and its corner terrains or line sides, which is what an engine's autotile or terrain setup is built from. In Godot, a terrain set's tiles match by corners and a line set's by sides; fill the map with one terrain's full tile first, then paint the other, since a set has no tile for a terrain next to an empty cell. Change a whole set afterwards with editTileset. Credits are held when the job is accepted and refunded if it fails or is cancelled. Pass an optional request_id to tag the result so you can retrieve it later via listGenerations (type tileset). Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).
Credits: This endpoint consumes 1 credits per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"requestBody": "<requestBody>"
},
"name": "createTileset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes | Payload for building a 16-tile tileset from seamless base tiles |