ClickCease

Button Commands

GET
https://api.thenextleg.io/v2/seed/<messageId>

You can retrieve a seed using a messageId received from https://api.thenextleg.io/v2/imagine

URL Params

messageId

Use the messageId returned with your /imagine request
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 var axios = require('axios'); var config = { method: 'get', url: 'https://api.thenextleg.io/v2/seed/xyzxyzxyz', headers: { 'Authorization': 'Bearer <your-token>', 'Content-Type': 'application/json' }, data : data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });

200Success

0 1 2 { "seed": "90210", }
Wide view, behind the scenes, Ayutthaya large robot workshop, extra large, Fuji film, hyper-realism from 1970s Thai sci-fi movies, steam-powered aerial robot workshop army, maintenance soldiers.
Wide view, behind the scenes, Ayutthaya large robot workshop, extra large, Fuji film, hyper-realism from 1970s Thai sci-fi movies, steam-powered aerial robot workshop army, maintenance soldiers.