Topaz API SDKs for JavaScript, Ruby, and Go on RunAPI.
The topaz api SDK packages JavaScript, Ruby, and Go clients for Topaz on RunAPI. Use this topaz api SDK for image upscale, video upscale, restoration, and production cleanup workflows that need typed installs, JSON request bodies, task polling, and consistent RunAPI errors across services.
Topaz belongs to the Topaz catalog on RunAPI. The public model page is https://runapi.ai/models/topaz; variant pages below carry pricing, rate-limit, and commercial-usage details. The public topaz-sdk repository groups the JavaScript, Ruby, and Go packages for this model.
npm install @runapi.ai/topaz
gem install runapi-topaz
go get github.com/runapi-ai/topaz-sdk/go@latest- Build asset finishing, ecommerce media cleanup, video enhancement, and batch automation with the topaz api SDK.
- Keep one model-specific repository while installing only the language package your app needs.
- Use
createfor submit-only jobs,getfor status lookup, andrunfor submit-and-poll scripts. - Handle authentication, validation, rate limits, insufficient credits, task failures, and polling timeouts through RunAPI SDK errors.
The JavaScript client exposes image upscales, video upscales resources, and the Ruby and Go packages mirror the same RunAPI task lifecycle.
import { TopazClient } from '@runapi.ai/topaz';
const client = new TopazClient();
const task = await client.imageUpscales.create({
// Pass the Topaz request body documented at https://runapi.ai/docs#topaz.
});
const status = await client.imageUpscales.get(task.id);For short scripts, use run with the same JSON body to create the task and wait for completion. For web request handlers, prefer create plus webhook or later get polling so the server does not hold a worker open.
js/publishes@runapi.ai/topaz.ruby/publishesrunapi-topazwhen RubyGems publishing resumes.go/publishesgithub.com/runapi-ai/topaz-sdk/goand depends ongithub.com/runapi-ai/core-sdk/go.
- Model page: https://runapi.ai/models/topaz
- SDK docs: https://runapi.ai/docs#sdk-topaz
- Product docs: https://runapi.ai/docs#topaz
- SDK repository: https://github.com/runapi-ai/topaz-sdk
- Skill repository: https://github.com/runapi-ai/topaz
- Provider comparison: https://runapi.ai/providers/topaz
- Full catalog: https://runapi.ai/models
Use the most specific topaz api variant page for pricing, rate limits, and commercial usage:
Default pricing link for the topaz api SDK: https://runapi.ai/models/topaz/image-upscale
Install the model package for your language: @runapi.ai/topaz, runapi-topaz, or github.com/runapi-ai/topaz-sdk/go. Install core SDK packages only when you are building shared SDK infrastructure.
Primary topaz api links point to https://runapi.ai/models/topaz. Pricing and usage-policy links point to variant pages such as https://runapi.ai/models/topaz/image-upscale. Provider comparisons point to https://runapi.ai/providers/topaz, and broad browsing points to https://runapi.ai/models.
Licensed under the Apache License, Version 2.0.