API & PIPELINE SPECIFICATION v4.2

Developer API & Industrial 3D Pipeline Integration.

Embed automated scene synthesis into game engines, virtual production stages, and web applications with our REST API, official SDKs, and open 3D format specs.

REST API // ENDPOINTS

Generate Scene Pack (POST /api/v1/packs)

Auth: Bearer <OCCASION_API_KEY>
request.sh (cURL)
HTTP/2 · TLS 1.3

# 1. 提交场景构想并指定灯光色温与管线格式

curl -X POST https://api.occasionpack.ai/v1/packs \

-H "Authorization: Bearer op_live_9f82kd0..." \

-H "Content-Type: application/json" \

-d '{

"prompt": "Alpine luxury cabin, fireplace embers, 4K PBR",

"lighting_rig": { "kelvin": 3200, "fog": 0.45 },

"export_formats": ["usdz", "gltf", "exr_pbr"],

"lod_levels": [0, 1, 2],

"webhook_url": "https://your-studio.com/hooks/render-ready"

}'

HTTP 202 AcceptedBaking Queue #03
task_id: "task_89f02kd19a"
status: "baking_materials"
estimated_completion: 180 seconds
assets_manifest: 64 spatial entities

Key Request Parameters:

  • prompt: Text brief describing the scene occasion
  • lighting_rig: Color temperature (Kelvin) & Fog density
  • export_formats: Target delivery pipeline formats
💡 Enterprise tiers include dedicated GPU instances with zero-queue instantaneous dispatch.

PIPELINE SPECIFICATIONS

Industrial 3D Export Specifications

USDz / USDApple Vision Pro / Maya

Native Universal Scene Description ready for RealityKit, Vision Pro, and Maya.

Embedded PBR
LOD0-LOD2
Camera Rig Metadata
glTF 2.0 / GLBWeb 3D / Three.js / Babylon

Draco-compressed web standard format with embedded Disney PBR shaders.

Draco Compression
Standard KHR Extensions
Fast Web Load
Unreal 5.4 / FBXUnreal Engine / Unity 6

Optimized for Unreal 5.4 Nanite geometry and Lumen dynamic illumination.

Nanite Topology
16-bit Float EXR
Sub-D Quad Mesh