Class PixelTilesetRequest
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
PixelTilesetRequest
Assembly: Glitch9.AIDevKit.PixelArt.dll
Syntax
public sealed class PixelTilesetRequest : PixelArtRequest<PixelTilesetRequest, Prompt, IPixelArtTilesetOptions>, IGenerativeRequest
Constructors
|
Edit this page
View Source
PixelTilesetRequest(Prompt)
Creates a pixel-art tileset request.
Declaration
public PixelTilesetRequest(Prompt prompt)
Parameters
| Type |
Name |
Description |
| Prompt |
prompt |
|
Properties
|
Edit this page
View Source
FallbackModel
Declaration
protected override string FallbackModel { get; }
Property Value
Overrides
|
Edit this page
View Source
InnerDescription
Required. Description of the inner/center area (e.g., 'ocean', 'grass')
Declaration
public string InnerDescription { get; set; }
Property Value
|
Edit this page
View Source
ModelType
Declaration
public override ModelType ModelType { get; }
Property Value
Overrides
|
Edit this page
View Source
OuterDescription
Required. Description of the outer/border area (e.g., 'sand', 'stone')
Declaration
public string OuterDescription { get; set; }
Property Value
|
Edit this page
View Source
RequestType
The endpoint type for this
Declaration
public override RequestType RequestType { get; }
Property Value
Overrides
|
Edit this page
View Source
TransitionDescription
Optional description of transition area between inner and outer
Declaration
public string TransitionDescription { get; set; }
Property Value
Methods
|
Edit this page
View Source
ExecuteAsyncInternal()
Executes the actual task logic. Must be implemented in derived classes.
Declaration
protected override UniTask<Generated<IImageAsset>> ExecuteAsyncInternal()
Returns
Overrides
|
Edit this page
View Source
SetInnerDescription(string)
Sets inner area description.
Declaration
public PixelTilesetRequest SetInnerDescription(string innerDescription)
Parameters
| Type |
Name |
Description |
| string |
innerDescription |
|
Returns
|
Edit this page
View Source
SetOuterDescription(string)
Sets outer area description.
Declaration
public PixelTilesetRequest SetOuterDescription(string outerDescription)
Parameters
| Type |
Name |
Description |
| string |
outerDescription |
|
Returns
|
Edit this page
View Source
SetTransitionDescription(string)
Sets optional transition area description.
Declaration
public PixelTilesetRequest SetTransitionDescription(string transitionDescription)
Parameters
| Type |
Name |
Description |
| string |
transitionDescription |
|
Returns
Implements
Extension Methods