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

# Quickstart

> Send your first request to TokenKit in minutes

<Steps>
  <Step title="Create an Account">
    Sign up for a TokenKit [Platform](https://www.tokenkit.co/platform) account. You'll get access to your dashboard where you can manage API keys, credits, and usage.
  </Step>

  <Step title="Get Your API Key">
    Navigate to the [API Keys section](https://www.tokenkit.co/platform/api-keys) in your dashboard and create your first API key. Copy the key - it starts with `sk_live_v1...` and you'll need it for authentication.
  </Step>

  <Step title="Buy Credits">
    Before making requests, you'll need credits in your account. Visit the [pricing page](https://www.tokenkit.co/pricing) to see current pricing, then click "Buy Credits" in the platform to purchase credits.
  </Step>

  <Step title="Send a POST Request">
    Choose an endpoint and send a request with your API key:

    ```bash theme={null}
    curl -X POST https://api.tokenkit.co/v2/image-utils/detail-preservation \
      -H "Authorization: Bearer sk_live_v1_your_key_here" \
    ```

    The API will return a job ID:

    ```json theme={null}
    {
        "data": {
            "job_id": "job_abc123xyz",
            "links": {
                "job": "/v1/jobs/job_abc123xyz",
                "stream": "/v1/jobs/job_abc123xyz/stream"
            }
        },
        "errors": null
    }
    ```

    Save this `job_id` - you'll use it to check the status and retrieve your results.
  </Step>

  <Step title="Get Job Results">
    Use the job ID to check the status:

    ```bash theme={null}
    curl https://api.tokenkit.co/v1/jobs/job_abc123xyz \
      -H "Authorization: Bearer sk_live_v1_your_key_here"
    ```

    When the job completes, you'll receive your results:

    ```json theme={null}
    {
      "data": {
        "job_id": "job_abc123xyz",
        "status": "succeeded",
        "outputs": [
          {
            "url": "https://static.tokenkit.co/outputs/image.jpg"
          }
        ]
      },
      "errors": null
    }
    ```
  </Step>
</Steps>
