Skip to content
Socaity Docs

Quick Start

Get from zero to running AI inference in under 5 minutes using the Socaity Python SDK.

Prerequisites

Python ≥ 3.9Installed and on your PATH
Socaity accountFree at socaity.ai

Step 1 — Install

terminal
pip install socaity[all]

Requires Python ≥ 3.9. Also installs media-toolkit for automatic file handling.

Step 2 — Get your API key

  1. Sign in at socaity.ai
  2. Navigate to Account → API Keys
  3. Click Create key and copy the value

Step 3 — Import a model

Import any model from the Socaity catalog as a typed Python function. No client generation step needed.

python
from socaity import flux_schnell

flux = flux_schnell()

Step 4 — Run inference

python
images = flux(
    prompt="a lone astronaut on a neon planet, cinematic",
    num_outputs=1,
).get_result()

for img in images:
    img.save(f"{img}.png")

What's next?