Supported Languages
We currently support the following languages:Python
Full-featured SDK with sync and async support
JavaScript/TypeScript
Coming soon
Python SDK
The official Python SDK for Higgsfield AI. Supports both synchronous and asynchronous usage.Installation
Install the Higgsfield Python client using pip:Authentication
Before using the client, set your API credentials as environment variables. You can use either a single key or separate API key and secret: Option 1: Single KeyQuick Start
Usage Patterns
Pattern 1: Simple Submit and Wait
Submit a request and wait for the result.Pattern 2: Submit and Track Progress
Submit a request and monitor its status in real-time.Pattern 3: Submit with Callbacks
Use callbacks to handle status updates.Pattern 4: Manage Existing Requests
Work with request controllers to manage requests.File Uploads
Upload files to use in your requests.Upload Bytes
Requirements
- Python >= 3.8
Resources
- GitHub Repository: higgsfield-ai/higgsfield-client
- Homepage: cloud.higgsfield.ai
- Package: PyPI
JavaScript/TypeScript SDK
Coming Soon - Our JavaScript/TypeScript SDK is currently in development and will be available soon. The upcoming SDK will feature:- Full TypeScript support with type definitions
- Promise-based async API
- Support for Node.js and browser environments
- Webhook utilities
- Built-in retry logic
Support
If you encounter any issues or have questions:- Check our API Documentation
- Review the GitHub Repository
- Contact support at support@higgsfield.ai