Python
Synchronous and asynchronous APIs for Python 3.8+.
Node.js and TypeScript
Typed server-side client with automatic polling and retries.
Python
Install
Configure credentials
Submit and wait
submit or submit_async when you need a request controller for explicit polling, status checks, or cancellation. The Python SDK also provides upload, upload_file, and upload_image helpers.
Node.js and TypeScript
Install
Configure credentials
Submit and wait
Choose an integration style
See the Python SDK repository and TypeScript SDK repository for the complete client APIs.
Agent API
The Agent API is available throughclient.agents.sessions (create, run() with automatic polling and question handling, send, messages, interrupt) and client.agents.media (one-call input upload):
- Python 0.2.0+:
SyncClientandAsyncClient. - TypeScript 0.2.4+:
createHiggsfieldClient(...).agentsand the configuredhiggsfield.agentssingleton from the recommended@higgsfield/client/v2entry point.