# Developer Quickstart

#### Step 1: Create a Free Account

Head over to the [Segmind.com](https://segmind.com) website and sign up for a free account. You can simply connect with your Google or Discord account.

#### Step 2: Use the playground to try different models

Navigate to any [model](https://segmind.com/models) from the model page to run a model. You'll see an example that you can try or feel free to tweak the prompts and other settings to get the best output for you.

#### Step 3: Create an API key

The Segmind Serverless API uses API keys for authentication. To create one, login to your account and head to the [API Keys page](https://cloud.segmind.com/console/api-keys) on the dashboard.

#### Step 4: Use the API

You can authenticate by including your Segmind API key in the `x-api-key` section of the request.

**Example cURL request:**

<pre><code><strong>curl --location 'https://api.segmind.com/v1/instantid' \
</strong>--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '{
    }'
</code></pre>

**Example python request**

```python
import requests

api_key = "YOUR-API-KEY"
url = "https://api.segmind.com/v1/face-to-sticker"

# Request payload
data = {
}

response = requests.post(url, json=data, headers={'x-api-key': api_key})
print(response)
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.segmind.com/readme/developer-quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
