Developer Quickstart

Make your first API request in minutes. Get to know about the basics of Segmind platform.

Step 1: Create a Free Account

Head over to the Segmind.comarrow-up-right 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 modelarrow-up-right 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 pagearrow-up-right 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:

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

Example python request

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)

Last updated