
| Parameter | Type | Description |
|---|---|---|
name* | string | Card display name |
stats* | object | Fields: magic, speed, attack, defense |
rarity* | string | Rarity grade |
palette | string | Color palette |
imageUrl* | string | URL of the source image to embed in the card |
| Parameter | Type | Description |
|---|---|---|
svg | string | Rendered card as inline SVG markup, if valid |
valid* | boolean | Whether the input passed validation |
errors | string[] | Validation error messages, if any |
timestamp* | string | ISO timestamp the card was generated |