{ "opencollection": "1.0.0", "info": { "name": "Leonardo.AI 3D Model Assets Image API", "version": "v1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Image", "type": "folder" }, "items": [ { "info": { "name": "Create a Generation of Images", "type": "http" }, "http": { "method": "POST", "url": "https://cloud.leonardo.ai/api/rest/v1/generations", "body": { "type": "json", "data": "{}" } }, "docs": "This endpoint will generate images" }, { "info": { "name": "Get a Single Generation", "type": "http" }, "http": { "method": "GET", "url": "https://cloud.leonardo.ai/api/rest/v1/generations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the generation to return." } ] }, "docs": "This endpoint will provide information about a specific generation" }, { "info": { "name": "Delete a Single Generation", "type": "http" }, "http": { "method": "DELETE", "url": "https://cloud.leonardo.ai/api/rest/v1/generations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the generation to delete." } ] }, "docs": "This endpoint deletes a specific generation" }, { "info": { "name": "Get generations by user ID", "type": "http" }, "http": { "method": "GET", "url": "https://cloud.leonardo.ai/api/rest/v1/generations/user/:userId", "params": [ { "name": "offset", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "userId", "value": "", "type": "path" } ] }, "docs": "This endpoint returns all generations by a specific user" } ] } ], "bundled": true }