Docs • API Reference • v2.4

Zentiq Engine SDK & API Reference

Programmatically generate tournament-grade characters, high-poly combat mechs, and procedural level layouts. Connect your engine pipeline directly to the Zentiq inference cluster with sub-50ms dispatch latency.

🚀 Quickstart

Choose your development language or game engine environment below to inspect complete, production-ready initialization code.

💡
Engine Plugin Auto-Discovery: When using the official Unreal Engine 5 or Unity 6 package, API credentials set in your system environment variable ZENTIQ_API_KEY are automatically discovered without hardcoding keys.
// Unreal Engine 5 C++ Quickstart
#include "ZentiqAssetSubsystem.h"

void AMyGameMode::SpawnHeroModel()
{
    UZentiqAssetSubsystem* Zentiq = GEngine->GetEngineSubsystem();
    
    FZentiqPromptParams Params;
    Params.Prompt = TEXT("Tekken style martial arts fighting hero champion, glowing dragon tattoos");
    Params.LODCount = 4;
    Params.TargetFormat = EZentiqFormat::NaniteUSD;

    Zentiq->GenerateModelAsync(Params, FOnZentiqModelReady::CreateLambda([](UStaticMesh* Mesh) {
        UE_LOG(LogZentiq, Log, TEXT("Model synthesis complete: %s"), *Mesh->GetName());
    }));
}

🔑 Authentication

All API requests must include your secret API key in the standard Authorization HTTP header as a Bearer token:

HTTP Headers
Authorization: Bearer zen_live_9a7bc481f9640ac2b5e7839
Content-Type: application/json
X-Zentiq-Studio-Id: std_tekken_champions

🎮 Unreal Engine 5 Plugin

The Zentiq Unreal Engine 5 plugin integrates directly with Nanite, Lumen, and the Chaos Physics engine.

Install via the Unreal Marketplace or clone the source into your project's Plugins/Zentiq/ directory. Once enabled, models stream straight into the Content Browser with auto-configured collision hulls and master material instances.

🕹️ Unity 6 Package

Available via Unity Package Manager (UPM). Add package from git URL:

Unity Package Manager URL
https://github.com/zentiq-ai/zentiq-unity-sdk.git?path=/package#v2.4.0

POST /v1/models/generate

Submits a generative task to synthesize 3D geometry from a natural language prompt. Supports automatic bone rigging, decimation down to multiple LODs, and PBR texture map baking.

Request Body Parameters

Parameter Type Description
prompt
Required
string Detailed description of the 3D asset, character style, and aesthetic parameters.
target_triangles
Optional
integer Target polygon count (default: 68400). Range: 1000 to 1000000.
lod_count
Optional
integer Number of decimation LOD steps to generate (default: 4).
export_format
Optional
enum Target container: usd, fbx, gltf, or all.

⚡ Interactive API Playground

Test live inference requests against the Zentiq sandbox engine directly from this page:

Endpoint:
Simulated Live Response
// Press "Send Test Request" above to dispatch API call...

🛡️ Rate Limits & SLA

Standard tier studios can dispatch up to 60 concurrent generation streams. Enterprise studios receive dedicated edge GPU allocation with guaranteed 99.99% uptime and sub-50ms dispatch latency.