SDKs
First-party clients for the Revieve Skin Analysis API. All four SDKs share the same shape: one SkinAnalysisClient, one analyzeImage method, typed components and responses.
Choose your SDK
Section titled “Choose your SDK” TypeScript Browser + Node 20+. Full strict typing.
Python Python 3.10+. httpx-backed, mypy --strict clean.
Swift iOS 15, macOS 12, visionOS 1. Swift Package Manager.
Kotlin JVM 17 + Android. Ktor + kotlinx.serialization.
Feature matrix
Section titled “Feature matrix”| Capability | TypeScript | Python | Swift | Kotlin |
|---|---|---|---|---|
analyzeImage | ✓ | ✓ | ✓ | ✓ |
| Strong typing for components | ✓ | ✓ | ✓ | ✓ |
| Strong typing for response | ✓ | partial (TypedDict planned) | ✓ | ✓ |
| Async/await | ✓ (native) | sync only (v0.1) | ✓ | ✓ (suspend) |
| Browser support | ✓ | — | — | — |
| Mobile support | (via PWA) | — | ✓ | ✓ (Android) |
| Test fixture / mock injection | ✓ (fetch) | ✓ (http_client) | ✓ (URLSession) | ✓ (HttpClient) |
prompts/SYSTEM.md for LLMs | ✓ | ✓ | ✓ | ✓ |
What’s not in the SDKs
Section titled “What’s not in the SDKs”- The Product Recommendations API has no first-party SDK yet — call it via plain HTTP for now or generate a thin client from its OpenAPI spec.
- The SDKs cover exactly the components and request fields in the published OpenAPI spec — nothing outside that surface.
Generate from spec instead
Section titled “Generate from spec instead”If you’d rather not depend on a Revieve-maintained package, every modern code generator builds a working client from the OpenAPI document:
openapi-typescriptfor type-only TypeScript.openapi-python-clientfor typedhttpxPython.- Apple
swift-openapi-generatorfor Swift. - OpenAPI Generator’s
kotlintemplate for Kotlin / Java. oapi-codegenfor Go.OpenAPI.Generatorfor C# / .NET.
Spec URL: /openapi/skin-analysis.yaml.