FabricAiApiClient is a third party FabricAI API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by FabricAI.
Add to project's package.json:
npm install @rantalainen/fabricai-api-client
import { FabricAiApiClient } from '@rantalainen/fabricai-api-client';
In order to obtain an API key, please contact FabricAI Support. An API key is needed to access all API functions.
const fai = new FabricAiApiClient(
{
apiKey: 'api_key'
},
{
baseURL: 'https://ai.dev.fabricai.io'
}
);
Available methods can be found in the Technical API documentation.
- FabricAI: https://fabricai.fi/
- FabricAI AI Inside Developer Guide: https://ai.dev.fabricai.io/docs/
- FabricAI Technical API documentation: https://ai.dev.fabricai.io/docs/api/