> For the complete documentation index, see [llms.txt](https://infinitode-docs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitode-docs.gitbook.io/docs/readme.md).

# Welcome to Infinitode Documentation

You’re about to dive into Infinitode’s powerful suite of APIs and Libraries, designed to help you integrate advanced tools—everything from AI to generators—into your projects with minimal fuss.

## Build with Infinitode

Infinitode provides APIs, open-source libraries, and AI resources. Start with the product that fits your project.

* [API Documentation](/docs/api-documentation.md) for hosted HTTP endpoints.
* [AI Documentation](/docs/ai-documentation.md) for models, datasets, and OPEN-ARC.
* [Package Documentation](/docs/package-documentation.md) for library guides.
* [Open-source](/docs/open-source.md) for public repositories and project source.

### :rocket: Quickstart

Make your first API request with the BMI Calculator. Replace `YOUR_API_TOKEN` with your normal or developer token.

1. **Set the API endpoint**

```javascript
const apiUrl = 'https://infinitode.netlify.app/api/v1/bmi';
```

2. **Create and prepare your input data**

```javascript
const data = {
  "apiKey": "YOUR_API_TOKEN",
  "height": 1.75,
  "weight": 70
};
```

3. **Call the API**

```javascript
fetch(apiUrl, {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(data),
})
  .then(response => response.json())
  .then(result => {
    console.log('BMI:', result.bmi);
  })
  .catch(error => {
    console.error('Error:', error);
  });
```

{% hint style="info" %}
Use a developer token while testing. Developer calls return validation details and dummy output. Never ship your normal token in front-end code: see [Keeping your API key safe](/docs/api-documentation/keeping-your-api-key-safe.md).
{% endhint %}

***

### :key: Authentication & Security

Find your API tokens in your account settings, once you've verified your email address. Keep tokens out of client-side code and source control — see [Keeping your API key safe](/docs/api-documentation/keeping-your-api-key-safe.md).

Use the developer token for test calls. Use the normal token for production calls. See [API authentication](/docs/api-documentation.md#api-authentication) for details.

A token leaked? You can reset each token yourself, up to 3 times per week — the old token stops working immediately. Your account page also keeps a **30-day history** of every call made with your tokens, so you can see which endpoints were hit, what errors came back, and how your calls were used.

***

### :package: Platform & Libraries

* **APIs**: Call modular HTTP endpoints from any language.
* **Python libraries**: Install package-specific libraries with `pip`.

  ```bash
  pip install duplipy
  ```
* **JavaScript libraries**: Use JSDelivr or clone a repository from GitHub.

  ```bash
  https://cdn.jsdelivr.net/gh/Infinitode/BlurJS@main/dist/blur.min.js
  https://github.com/infinitode/blurjs
  ```
* **AI models and datasets**: Small, single-purpose models and open datasets on Hugging Face and GitHub.

***

### Find the right resource

Choose **API Documentation** to integrate a hosted endpoint. Choose **Package Documentation** to install a library. Choose **AI Documentation** to work with models or datasets.

Visit [Open-source](/docs/open-source.md) to browse public project source and licenses.

***

{% hint style="info" %}

### Documentation updates

We update these pages as products and repositories evolve. Report broken links or examples through the relevant project repository.
{% endhint %}

***

{% content-ref url="/spaces/BeNf1V8VcQOxWf8Jm0ZO" %}
[Broken mention](broken://spaces/BeNf1V8VcQOxWf8Jm0ZO)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://infinitode-docs.gitbook.io/docs/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
