Class PixelLabTilesetRequest
Creates a complete tileset for game development with seamlessly connecting tiles.
A tileset is a collection of tiles that can be combined to create larger maps and environments.
This endpoint generates a comprehensive tileset with inner, outer, and optional transition areas
that connect seamlessly when placed adjacent to each other.
Features:
- Inner and outer area descriptions for varied terrain
- Optional transition zones between areas
- Configurable tile sizes (8x8 to 32x32 pixels)
- Seamless tile connections for map creation
- Style control via outline, shading, and detail parameters
- Reference images for style guidance
- Color palette control
Common use cases:
- Game world tilesets (grass/dirt, water/sand, forest/clearing)
- Dungeon tilesets (floor/wall combinations)
- Terrain tilesets for top-down or isometric games
Maximum tileset size: 400x400 pixels
Individual tile size range: 8x8 to 32x32 pixels
public class PixelLabTilesetRequest : RESTRequestBody
- Inheritance
-
objectRESTRequestBodyPixelLabTilesetRequest
- Extension Methods
Properties
AIBorderFreedom
Optional. AI freedom when generating tile borders Min: 0, Max: 500, Default: 150
public int? AIBorderFreedom { get; set; }
Property Value
- int?
BorderRandomness
Optional. Amount of randomness in tile borders Min: 0, Max: 10, Default: 2
public float? BorderRandomness { get; set; }
Property Value
- float?
Detail
Optional.
public PixelLabTypes.ImageDetail? Detail { get; set; }
Property Value
InnerDescription
Required. Description of the inner/center area (e.g., 'ocean', 'grass')
public string InnerDescription { get; set; }
Property Value
- string
InnerReferenceImage
public PixelLabImage InnerReferenceImage { get; set; }
Property Value
OuterDescription
Required. Description of the outer/border area (e.g., 'sand', 'stone')
public string OuterDescription { get; set; }
Property Value
- string
OuterReferenceImage
public PixelLabImage OuterReferenceImage { get; set; }
Property Value
Outline
Optional.
public PixelLabTypes.Outline? Outline { get; set; }
Property Value
Shading
Optional.
public PixelLabTypes.Shading? Shading { get; set; }
Property Value
TextGuidanceScale
Optional. How closely to follow the text description Min: 1, Max: 20, Default: 8
public float? TextGuidanceScale { get; set; }
Property Value
- float?
TilePatternStrength
Optional. Strength of tile pattern adherence Min: 0.1, Max: 2, Default: 1
public float? TilePatternStrength { get; set; }
Property Value
- float?
TileSize
Size of individual tiles within the tileset default: { "width": 16, "height": 16 }
public ImageSize TileSize { get; set; }
Property Value
- ImageSize
TilesetStructureStrength
Optional. How strictly to follow tileset structure Min: 0, Max: 500, Default: 255
public int? TilesetStructureStrength { get; set; }
Property Value
- int?
TransitionDescription
Optional description of transition area between inner and outer
public string TransitionDescription { get; set; }
Property Value
- string
TransitionReferenceImage
public PixelLabImage TransitionReferenceImage { get; set; }
Property Value
TransitionSize
Optional. Size of transition area (0 = no transition, 1 = full transition) Min: 0, Max: 1, Default: 0
public float? TransitionSize { get; set; }
Property Value
- float?
View
Optional.
public PixelLabTypes.CameraView? View { get; set; }