General Options
Shared options across all generation and editing tools.
General Options
These options are shared across most generation and editing tools. They control output behavior, canvas settings, and processing preferences.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
seed | integer | No | Random seed for reproducible results. 0 = random. Default: 0 |
output_method | string | No | Where to place output. Default: new_layer |
tile_size | string | No | Tile dimensions for tileset generation. Options: 16x16, 32x32, 48x48, 64x64 |
remove_background | boolean | No | Automatically remove background from output. Default: false |
force_symmetry | boolean | No | Force horizontal symmetry in output. Default: false |
Output Method
Controls where generated content is placed in the editor:
| Value | Description |
|---|---|
new_layer | Create a new layer with the generated content |
modify_layer | Replace content on the active layer |
new_frame | Add a new animation frame with the generated content |
Seed
The seed value controls randomness:
0— Random seed, each generation produces a different result- Any positive integer — Fixed seed, same prompt + seed = same output
- Use seeds for reproducible A/B testing and batch generation
Example
curl -X POST https://api.spritesynth.com/api/generations/image \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "a pixel art tree",
"seed": 42,
"remove_background": true
}'Tips
- Use
seedto reproduce promising results exactly. remove_background: truesaves a manual step for sprite isolation.force_symmetryis useful for characters and faces.
Need help?
Join our Discord community for support and tips.
Was this page helpful?