Getting started

Segmind makes it easy to use generative AI models in the cloud. We offer a range of models that can be used via the Serverless API endpoints or the PixelFlow GUI

We highly recommend learning about the key concepts before getting started.

Get up and running with the Segmind API

Step 1: Create a Free Account

Head over to the 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 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 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 '' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '{

Example python request

import requests

api_key = "YOUR-API-KEY"
url = ""

# Request payload
data = {

response =, json=data, headers={'x-api-key': api_key})


Join our social to speak to our community and learn more about Segmind.

Last updated