AI DevKit
Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    object
    RESTRequestBody
    PixelLabTilesetRequest
    Namespace: Glitch9.AIDevKit.PixelLab
    Assembly: .dll
    Syntax
    public class PixelLabTilesetRequest : RESTRequestBody

    Properties

    AIBorderFreedom

    Optional. AI freedom when generating tile borders Min: 0, Max: 500, Default: 150

    Declaration
    public int? AIBorderFreedom { get; set; }
    Property Value
    Type Description
    int?

    BorderRandomness

    Optional. Amount of randomness in tile borders Min: 0, Max: 10, Default: 2

    Declaration
    public float? BorderRandomness { get; set; }
    Property Value
    Type Description
    float?

    Detail

    Optional.

    Declaration
    public PixelLabTypes.ImageDetail? Detail { get; set; }
    Property Value
    Type Description
    PixelLabTypes.ImageDetail?

    InnerDescription

    Required. Description of the inner/center area (e.g., 'ocean', 'grass')

    Declaration
    public string InnerDescription { get; set; }
    Property Value
    Type Description
    string

    InnerReferenceImage

    Declaration
    public PixelLabImage InnerReferenceImage { get; set; }
    Property Value
    Type Description
    PixelLabImage

    OuterDescription

    Required. Description of the outer/border area (e.g., 'sand', 'stone')

    Declaration
    public string OuterDescription { get; set; }
    Property Value
    Type Description
    string

    OuterReferenceImage

    Declaration
    public PixelLabImage OuterReferenceImage { get; set; }
    Property Value
    Type Description
    PixelLabImage

    Outline

    Optional.

    Declaration
    public PixelLabTypes.Outline? Outline { get; set; }
    Property Value
    Type Description
    PixelLabTypes.Outline?

    Shading

    Optional.

    Declaration
    public PixelLabTypes.Shading? Shading { get; set; }
    Property Value
    Type Description
    PixelLabTypes.Shading?

    TextGuidanceScale

    Optional. How closely to follow the text description Min: 1, Max: 20, Default: 8

    Declaration
    public float? TextGuidanceScale { get; set; }
    Property Value
    Type Description
    float?

    TilePatternStrength

    Optional. Strength of tile pattern adherence Min: 0.1, Max: 2, Default: 1

    Declaration
    public float? TilePatternStrength { get; set; }
    Property Value
    Type Description
    float?

    TileSize

    Size of individual tiles within the tileset default: { "width": 16, "height": 16 }

    Declaration
    public ImageSize TileSize { get; set; }
    Property Value
    Type Description
    ImageSize

    TilesetStructureStrength

    Optional. How strictly to follow tileset structure Min: 0, Max: 500, Default: 255

    Declaration
    public int? TilesetStructureStrength { get; set; }
    Property Value
    Type Description
    int?

    TransitionDescription

    Optional description of transition area between inner and outer

    Declaration
    public string TransitionDescription { get; set; }
    Property Value
    Type Description
    string

    TransitionReferenceImage

    Declaration
    public PixelLabImage TransitionReferenceImage { get; set; }
    Property Value
    Type Description
    PixelLabImage

    TransitionSize

    Optional. Size of transition area (0 = no transition, 1 = full transition) Min: 0, Max: 1, Default: 0

    Declaration
    public float? TransitionSize { get; set; }
    Property Value
    Type Description
    float?

    View

    Optional.

    Declaration
    public PixelLabTypes.CameraView? View { get; set; }
    Property Value
    Type Description
    PixelLabTypes.CameraView?

    Extension Methods

    RequestExtensions.ExecuteAsync(PixelLabTilesetRequest)
    In this article
    Back to top Generated by DocFX