Generate cover and thumbnail
gamealia_generate_coverCreates a 1200x630 cover and 512x512 thumbnail from a gameplay screenshot with a title overlay, writing files to outDir and optionally uploading them to a Gamealia listing.
Instructions
Makes a 1200x630 cover and a 512x512 thumbnail from a gameplay screenshot (e.g. desktop-input.png from gamealia_run_autotest): center-cropped with the title on a gradient. Writes cover and thumb files to outDir (refuses to replace existing ones unless overwrite:true) and returns their paths plus the cover as an image. Without game it is local only; with game (needs login) it also uploads both to that listing, replacing its current images. Otherwise pass the files to gamealia_create_game or gamealia_update_listing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | Upload them to this game's listing | |
| title | Yes | Game title drawn on the images, 1-60 characters | |
| outDir | No | Where to write cover/thumb (default: the screenshot's folder) | |
| overwrite | No | Replace existing cover/thumb files in outDir | |
| screenshot | Yes | PNG/JPEG/WebP screenshot path |