Quick Start
Get from zero to running AI inference in under 5 minutes using the Socaity Python SDK.
Python ≥ 3.9Installed and on your PATH
Socaity accountFree at socaity.ai
terminal
pip install socaity[all]Requires Python ≥ 3.9. Also installs media-toolkit for automatic file handling.
- Sign in at socaity.ai
- Navigate to Account → API Keys
- Click Create key and copy the value
Never commit API keys to version control. Use environment variables or a secrets manager.
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() All services authenticate with
SOCAITY_API_KEY. Replicate-backed services like flux_schnell and deepseek_v3 are routed through the Socaity backend, which handles the upstream Replicate call for you. Socaity-hosted services (face2face, speechcraft) also use SOCAITY_API_KEY. 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") Done! The SDK handled authentication, job submission, polling, and result parsing.