Neurall API Docs (1.0.0)

Welcome to the Neurall API, your gateway to powerful AI-driven media generation, editing, and processing. Whether you're creating stunning visuals, enhancing media, or automating workflows, our API provides the tools you need to bring your ideas to life.

Getting Started

The Neurall API is designed for seamless integration and high performance. To begin, make sure to follow these key requirements:

  • Base URL: All API requests should be directed to: https://api.neurall.io

  • Secure Communication: All requests must be made over HTTPS. Any attempt to use plain HTTP will result in failure.

  • Authentication: Every request requires an API Key for authorization. You can manage API Keys in the Neurall app by navigating to Projects → API Keys.

Concurrency Limits

By default, each organization is limited to 100 concurrent API requests. This ensures optimal performance and reliability for all users. If your use case requires a higher concurrency limit, please contact our support team at support@neurall.io to request an increase.
All additional requests beyond this limit will return a 429 Too Many Requests error.

Next Steps

Explore our comprehensive endpoints, experiment with real-time AI-powered transformations, and start building with Neurall today!

Download OpenAPI description
Languages
Servers

https://api.neurall.io/

Images

The Images section provides endpoints for AI-powered image generation, enhancement, and manipulation.
These tools allow you to create, modify, and optimize images through a range of advanced processing techniques.

Operations

AI Cloning

The AI Cloning section provides endpoints for training and managing AI-generated clones of subjects. Using a set of images, you can train an AI Cloning model to replicate a subject's appearance.
Once the training is complete, generate new images by calling /v1/images/pegasus-generation and passing the identity_id parameter in the request.

Operations

Training

Request

Trains an AI Cloning model to replicate the appearance of a subject using a provided set of images. Once the training is complete, you can generate images using the /v1/images/pegasus-generation endpoint by passing the identity_id parameter in the request.

Security
ApiKeyAuth
Bodymultipart/form-data
imagesArray of strings(binary)required

A set of images in JPEG, PNG, or WebP format, each up to 5MB. A minimum of 5 and a maximum of 15 images are required to train the AI Cloning model.

callbackstring

An optional URL to receive a POST request once training is complete. The request will have an application/json content type and include any data specified in the callback_params object.

Example: "https://my-callback-url.mydomain.io/callback"
callback_paramsstring

If a callback URL is provided, this object will be included in the request body. callback_params must be a valid JSON-parsed object.

Example: "{}"
const axios = require('axios');
const fs = require('fs');
const FormData = require('form-data');

// Create form data
const form = new FormData();
const imagePaths = [
    'path/to/image1.png',
    'path/to/image2.png',
    'path/to/image3.png',
    'path/to/image4.png',
    'path/to/image5.png',
    'path/to/image6.png',
    'path/to/image7.png',
    'path/to/image8.png',
    'path/to/image9.png',
    'path/to/image10.png'
]

// Append images to form data
for (let item of imagePaths) {
    form.append('images', fs.createReadStream(item));
}

// Make request
axios.post('https://api.neurall.io/v1/images/pegasus-training', form, {
    headers: {
        ...form.getHeaders(),
        authorization: '{{YOUR_API_KEY_HERE}}'
    }
}).then((response) => {
    console.log('Training started - IdentityId: ', response.data.identityId);
}).catch((err) => {
    console.error('Error in request: ', err);
})

Responses

Training successfully completed, returning the unique identifier of the generated AI Clone.

Bodyapplication/json
identityIdstring

The unique identifier assigned to the trained AI Clone, stored in the database.

Example: "a281923dhasdf72136"
Response
application/json
{ "identityId": "a281923dhasdf72136" }

Training Status

Request

Retrieves the current status of one or more AI Cloning training processes.

Security
ApiKeyAuth
Bodymultipart/form-data
identity_idsstringrequired

A comma-separated list of identity IDs for which to check the training status.

Example: "aajsu227sla,oquycbzwi2"
import FormData from 'form-data';
import fetch from 'node-fetch';

async function run() {
  const form = new FormData();
  form.append('identity_ids','aajsu227sla,oquycbzwi2');

  const resp = await fetch(
    `https://api.neurall.io/v1/images/pegasus-status-training`,
    {
      method: 'POST',
      headers: {
        Authorization: 'YOUR_API_KEY_HERE'
      },
      body: form
    }
  );

  const data = await resp.text();
  console.log(data);
}

run();

Responses

An object containing the status of the requested training processes.

Bodyapplication/json
trainingStatusArray of objects
Example: [{"identityId":"aajsu227sla","status":"done"},{"identityId":"oquycbzwi2","status":"pending"}]
Response
application/json
{ "trainingStatus": [ {}, {} ] }

Delete AI Clone

Request

Permanently removes a trained AI Clone from the system.

Security
ApiKeyAuth
Bodymultipart/form-data
identity_idstringrequired

The unique identifier of the AI Clone to be deleted.

import FormData from 'form-data';
import fetch from 'node-fetch';

async function run() {
  const form = new FormData();
  form.append('identity_id','string');

  const resp = await fetch(
    `https://api.neurall.io/v1/images/pegasus-delete-training`,
    {
      method: 'POST',
      headers: {
        Authorization: 'YOUR_API_KEY_HERE'
      },
      body: form
    }
  );

  const data = await resp.text();
  console.log(data);
}

run();

Responses

The AI Clone was successfully deleted.

Audio

The Audio section provides advanced speech processing capabilities. Convert spoken words into precise text transcriptions with accurate timestamps for each word, enabling seamless integration into captioning, analytics, and more.

Operations