Developer Portal
Build on NOLGIA.
One REST API for image, video, and audio generation, with official SDKs in four languages. Base URL https://api.nolgia.ai, authenticated with a Personal Access Token.
API reference
Live, generated from the OpenAPI contract.
Every endpoint, schema, and example stays in lockstep with the spec that powers the platform. Explore it, then authenticate with a Personal Access Token.
API documentation
The full OpenAPI reference: generation, assets, jobs, billing, and account endpoints, with request and response schemas.
Authentication
Requests carry a Personal Access Token (PAT) as a bearer token. Mint one by POSTing to /pat with a name. The plaintext token (prefixed nol_) is returned once, so store it securely.
curl -X POST https://api.nolgia.ai/pat -d '{"name":"my-cli"}'Then send it as Authorization: Bearer nol_… on every request. PAT access uses credits from your shared top-up pool and is not gated by subscription tier.
Official SDKs
Four clients, one platform.
Install the client for your stack and start generating in minutes. Each SDK targets the same API surface.
Python
PyPI · nolgiaTyped client generated from the OpenAPI contract. Import AuthenticatedClient and call the nolgia.api.* modules.
pip install nolgiaJavaScript / TypeScript
npm · @nolgia/sdkFully typed SDK for Node and the browser. Ships ESM with first-class TypeScript definitions.
npm install @nolgia/sdkGo
Module · sdk/goIdiomatic Go client (package nolgia) generated with oapi-codegen. Construct it with nolgia.New(token).
go get github.com/nolgiainc/nolgia-api/sdk/goRust CLI
crates.io · nolgia-cliThe nolgia command: a single Rust binary that generates image, video, and audio from your terminal. Built on the nolgia-client crate.
cargo install nolgia-cliQuickstart
Authenticate, then call.
Create a client with your PAT and make a first call against the same endpoints the Studio uses. The Python client exposes typed nolgia.api.* modules; the CLI drives the platform from your shell.
from nolgia import AuthenticatedClient
from nolgia.api.assets import list_assets
# Mint a PAT (POST /pat) and pass it as a bearer token.
client = AuthenticatedClient(
base_url="https://api.nolgia.ai",
token="nol_your_token_here",
)
# List assets in your library.
assets = list_assets.sync(client=client)
print(assets)Build on NOLGIA
More than an API.
Extend your agent with abilities from the Marketplace, or let the NOLGIA Agent run the generation for you.
Get a token, start building.
Create an account, mint a Personal Access Token, and point any SDK at NOLGIA. The first credits are on us.

