Back to Dev Portal
5 MINUTE SETUP
Quickstart Guide
Follow this guide to make your first authenticated request to the Feenixs API and run a remote inference.
1
Get your API Key
Before making requests, you need to generate an API key from your Developer Dashboard.
- Navigate to your Settings Panel.
- Click on the API Keys tab.
- Click Generate New Key and securely copy it.
2
Install the Node.js SDK
We recommend using our official SDKs for the best experience. Run the following command in your terminal:
npm install @feenixs/intelligence3
Make your first Request
Initialize the client with your key and generate a semantic embedding.
import { Feenixs } from '@feenixs/intelligence'
const client = new Feenixs({
apiKey: process.env.FEENIXS_API_KEY
})
async function run() {
const result = await client.embeddings.create({
model: "fnx-vector-v2",
input: "The future of AI is decentralized and modular."
})
console.log(result.data[0].embedding)
}
run()