Developers
The SDKs, the OpenAPI file, llms.txt and the changelog.
SDKs
The TypeScript and Python packages are not published yet. The samples show the calls they are meant to make, including an idempotency key on every task creation and a webhook signature check. Both will be named opsis-sdk; the Python import name will be opsis.
TypeScript
Install
The JavaScript package is not published yet. |
A first call
import { Opsis } from "opsis-sdk"
|
|
const opsis = new Opsis({
|
apiKey: process.env.OPSIS_API_KEY,
|
baseUrl: "https://api.studio.dramatis.ai",
|
})
|
|
const result = await opsis.models.list()
|
console.log(JSON.stringify(result ?? null, null, 2))
|
|
Python
Install
The Python package is not published yet. |
A first call
import json
|
import os
|
|
from opsis import Opsis
|
|
with Opsis(os.environ["OPSIS_API_KEY"], base_url="https://api.studio.dramatis.ai") as opsis:
|
result = opsis.models.list()
|
print(json.dumps(result, indent=2))
|
|
OpenAPI file
The public API as an OpenAPI 3.1 file. The SDKs and the API reference are built from it.
llms.txt
A plain text file that lists the docs and the API reference, for tools that read the web on behalf of a person.
Changelog
Newest entry: Wan 2.6 retired (Model change, )
Start here
The quick start takes you from a new key to a first image. Every model page has its request in cURL, JavaScript and Python.