delete_generations
Permanently delete one or more of your generations before their download window closes: each one's download URL stops working, and its images, its prompt.json and the full-resolution source kept for edit_image_set and export_icons are removed from Logospell's servers. Call it only when the user asks to delete generations: it cannot be undone, the credits they cost are not refunded, and a deleted generation can no longer be edited or exported as icons. Only the API key that made a generation can delete it. A set that grew over several calls has one id per call (list_recent_generations and get_generations show them); pass them all to delete the whole set in one call. Ids that are not found are reported without failing the call, which fails only when nothing was deleted. Up to 50 ids per call. Without this, every generation is removed automatically when its download window closes. Costs no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generations | Yes | The ids of the generations to delete: the random segment of each one's download URL, as list_recent_generations returns it. A set that grew over several calls has one id per call; pass them all to delete the whole set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | The ids that were deleted. | |
| notFound | No | Ids that were not found for this API key or whose download window had closed; nothing was deleted for them. |