Request
//JS Exampleasync function getAI(pormpt){
return new Promise((resolve, reject) => { var options = { 'method': 'POST', 'url': 'https://api.neron.ai', 'headers': { 'Content-Type': 'application/json', 'Authorization': 'Bearer {API_TOKEN}' }, body: { "model": "{MODEL_ID}", "prompt": "{TEXT}" }, json: true }; request(options, function (error, response, body) { if (error) reject(error); resolve(body); }); });
}
Parameters
MODEL_ID — ID of model you want to use TEXT — awk as prompt on any language
Example models ids:
midjourney, dall-e-3, flux-1, amazon/titan-image-generator-v1_premium, stabilityai/stable-diffusion-v1-6, kandinsky-2.2, dall-e-2
Actual cost and model IDs see in app (debug console)
How to get key
Open https://neron.ai In top right corner open Profile › Settings › Extended access (API) › Get keyKeep in safe, you cannot get it again, only make new one.
Support and chat ⟩ https://t.me/neron_chat