# SDK Libraries

Official clients for Skybox AI. The OpenAPI specification is the current API contract. Where a published SDK and that file disagree, call the REST API.

Keep API keys on the server. See Security.

# Current API contract

The spec's Generate Skybox and Skybox Batches routes cover Model 3 and Model 4 on POST /api/v1/skybox, including variant_id, max_wait, soft_lines, horizon_shift, remix and control fields, Edit, and Image2Pano. Remix uses remix_imagine_id. Exports, including HDRI modes, are on the export routes.

See Skyboxes, Skybox Batches, and Skybox exports. The YAML file is /blockade-labs-openapi.yaml.

Unity (and the .NET client it ships with) stays on the pre-Model 4 surface. The Node and Laravel packages still need an update to this contract.

# Unity

C# · com.blockadelabs.sdk · 2.0.3 (December 22, 2025)

Generate skyboxes in the Unity editor, use them as skyboxes and HDRI-style lighting, and build a depth mesh in the scene. Requires Unity 2021.3 or later. Tested with the Built-in, URP, and HDRP pipelines.

Asset Store: Skybox AI Generator by Blockade Labs

Source: https://github.com/Blockade-Games/BlockadeLabs-SDK-Unity

OpenUPM: openupm add com.blockadelabs.sdk

Git package: https://github.com/Blockade-Games/BlockadeLabs-SDK-Unity.git

Version 2.0.3 installs into the Assets folder. Delete the previous copy from the Packages folder before updating.

Unity Verified Solutions Partner

The runtime C# API shipped in 2.0.0 (July 19, 2024), with optional Pusher updates and a proxy that keeps the API key on your server. That surface matches BlockadeLabs-SDK-DotNet 2.0.0 (July 30, 2024): styles, style families, generate, get by id, history, cancel, and export requests. Source: https://github.com/RageAgainstThePixel/BlockadeLabs-SDK-DotNet. The proxy package is BlockadeLabs-SDK-DotNet-Proxy.

The package is pre-Model 4. The changelog through 1.9.0 covers Model 3 (including 3.1 remix, depth, and history), and 2.0.3 stays on that surface. The .NET client matches it. For Model 4, batches, max_wait, Edit, Image2Pano, and HDRI export modes, call the API from your server.

# Node.js

TypeScript/JavaScript · @blockadelabs/sdk · 1.1.7 (August 16, 2023)

NPM: https://www.npmjs.com/package/@blockadelabs/sdk

Source: https://github.com/Blockade-Games/BlockadeLabs-SDK-Node

Boilerplate: https://github.com/Blockade-Games/BlockadeLabs-SDK-Node-Boilerplate

This package needs an update to the current contract. generateSkybox in 1.1.7 accepts prompt, skybox_style_id, negative_text, enhance_prompt, seed, remix_id, remix_obfuscated_id, control_image, control_model, return_depth, and webhook_url. The spec's remix field is remix_imagine_id. The package also includes the older Imagine generator client (generateImagine). Until a new release ships, call the REST API.

Run it on the server. A browser bundle would ship the API key.

# Laravel

PHP · blockadelabs/sdk · 1.0.3 (April 11, 2023)

Composer: https://packagist.org/packages/blockadelabs/sdk

Source: https://github.com/Blockade-Games/BlockadeLabs-SDK-Laravel

Boilerplate: https://github.com/Blockade-Games/BlockadeLabs-SDK-Laravel-Boilerplate

This package needs an update to the current contract, including a current Laravel release line. 1.0.3 requires PHP ^7.2.5|^8.0 and Laravel 7–10. Set BLOCKADE_LABS_API_KEY on the server. generateSkybox sends prompt, skybox_style_id, remix_imagine_id or remix_obfuscated_id, and webhook_url. The package still exposes getGenerators and generateImagine. Until a new release ships, call the REST API.

To put Generate in a product, keep the key on your server. See Implementation considerations.

# 3rd party

Community libraries.

Unreal Engine plugin by Adem Kilic: https://github.com/ademkilic7/SkyBoxGenerator