Create seamless map tile
createTileMake a seamless base tile for a 2D map from a text description: the first step of a tileset. Choose the map's grid (square for top-down, diamond for 2:1 isometric, diamond-true for true isometric) and what to make with image_type: texture (the default) is a ground that repeats with no seams, one per terrain (grass, sand, cobblestones, water); sprite-tiling-horizontal and sprite-tiling-vertical are a strip of a line that repeats along it (a road, a river, a fence, a wall) on a transparent background, and scatter-pattern the separate elements a line is made of (rocks, bushes, flowers). The look comes from art_style or from a reference_image (URL or base64), which replaces the art style. The job result is an array of tiles, each with its url, the image type the tile came back with and the grid it was made for; request n (1-4) for more candidates. Pass a tile's url as tile_a or tile_b of createTileset on the same grid to build a 16-tile set from it. For a single seamless texture that is not for a tileset, use createImage with image_type texture instead. Credits are held when the job is accepted and refunded if it fails or is cancelled; the charge scales with the number of tiles produced. Pass an optional request_id to tag the results so you can retrieve them later via listGenerations (type tile). Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).
Credits: This endpoint consumes 0.5 credits per result.
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": "createTile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes | Payload for making a seamless base tile |