hermoso / sdk
Typed PHP client for the Hermoso API: generate ads, publish and schedule posts, read analytics, and call every Hermoso tool from your own backend.
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
- psr/http-client: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Typed clients for the Hermoso API: generate image and video ads, publish and schedule posts to your own channels, read your analytics, and call any of Hermoso's tools from your own backend.
| Language | Package | Install |
|---|---|---|
| TypeScript / Node 18+ | @hermoso/sdk |
npm install @hermoso/sdk |
| Python 3.11+ | hermoso |
pip install hermoso |
| Go 1.24+ | github.com/hermoso-ai/hermoso-sdks/go |
go get github.com/hermoso-ai/hermoso-sdks/go |
| Ruby 3.1+ | hermoso |
gem install hermoso |
| PHP 8.1+ | hermoso/sdk |
composer require hermoso/sdk |
| Java 11+ | ai.hermoso:hermoso-sdk |
from source: mvn install in java/ |
| .NET 8+ | Hermoso.Sdk |
dotnet add package Hermoso.Sdk |
| Rust 1.85+ | hermoso |
cargo add hermoso |
Java installs from this repository until its Maven Central package is published; the code is the same.
Every SDK is generated from the API's OpenAPI document (openapi.json, live copy at
app.hermoso.ai/openapi.json), with a small hand-written layer for the same four
things in every language: a client that reads your key, pagination, waiting on render jobs, and calling any tool. They
are regenerated and released together whenever the API gains something, and share one version number.
- TypeScript · Python · Go · Ruby · PHP · Java · .NET · Rust
- Docs: hermoso.ai/docs/sdks
Create an API key at app.hermoso.ai on the API, MCP & CLI tab. New accounts start free.
This repository is published from Hermoso's main codebase; the generated code (typescript/src/gen,
python/hermoso, go/hermoso.gen.go, ruby/lib, php/lib, java/src, dotnet/Generated, rust/src) is not
edited by hand. Issues are welcome here.
MIT licensed.