> ## Documentation Index
> Fetch the complete documentation index at: https://docs.woolball.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Learn about Wool Ball - the client-as-server network for AI processing

## What is Wool Ball?

<Note>
  Wool Ball is an innovative client-as-server network that enables browsers to process tasks traditionally requiring dedicated servers. By leveraging browser capabilities, we create a distributed network where users are rewarded for sharing resources, dramatically reducing processing costs.
</Note>

## Key Features

<CardGroup cols={2}>
  <Card title="Browser-Based Processing" icon="browser">
    Execute AI models and data processing directly in browsers
  </Card>

  <Card title="Cost-Effective" icon="money-bill">
    Significantly lower costs compared to traditional cloud services
  </Card>

  <Card title="Decentralized Network" icon="network-wired">
    Distributed processing across multiple browsers
  </Card>

  <Card title="User Rewards" icon="gift">
    Participants earn rewards for sharing browser resources
  </Card>

  <Card title="Automatic Scaling" icon="chart-line">
    Network scales automatically with user participation
  </Card>
</CardGroup>

## Make Your First API Call

Create an API key by visiting the [dashboard](https://woolball.xyz/Identity/Account/Manage).

Here's a simple example using our text generation endpoint:

```bash theme={null}
curl -X GET "https://api.woolball.xyz/v1/completions?Text=Tell%20me%20a%20joke&Model=HuggingFaceTB/SmolLM2-135M-Instruct" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

This will return a response like:

```json theme={null}
{
  "data": "Why did the scarecrow win an award? Because he was outstanding in his field!"
}
```

## Get Started

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="/api-reference">
    Explore our API documentation
  </Card>
</CardGroup>
