Jobs

Enqueue one tile of a tilemap that fits the tiles placed around it (ML /generate/tile). Dev only for now. One GENERATE_IMAGE charge per candidate (Roles: user)

Changed on
post/jobs/generate-tile

Request

Request body

grid'square' | 'square-side' | 'diamond' | 'diamond-true' | 'hex' | 'hex-flat' | 'hex-tilted' | 'hex-flat-tilted' required

The map's grid: top-down squares, side-scroller squares, 2:1 or true isometric diamonds, pointy or flat-top hexes, and both hexes tilted to the 2:1 isometric camera. Every tile of a grid has one size.

promptstring

What the tile shows (the change, for an edit). Required for a first tile and an edit; without it the tile continues and joins the tiles around it.

repeat'none' | 'horizontal' | 'vertical' | 'all'

The tile repeats with itself: horizontal, vertical or all on squares; all on diamonds and hexes, for the first tile only.

art_stylestring
ninteger

Number of candidate tiles

request_idstring

Response

Accepted

jobIdstring required
status'queued' | 'running' | 'succeeded' | 'failed' | 'canceled' required
queue_positioninteger

Changes