Skip to main content
POST
/
v1
/
scenes
Generate a scene
curl --request POST \
  --url https://api.gizmo.antimlabs.com/v1/scenes \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "model": "<string>",
  "asset_pipeline": "auto",
  "persist": true
}
'
{
  "ok": true,
  "scene_id": "jh72k3m4n5p6q7r8",
  "job_id": "job_a1b2c3d4",
  "status": "queued"
}

Headers

authorization
string | null
x-gizmo-service-token
string | null
x-gizmo-user-id
string | null
x-gizmo-convex-user-id
string | null

Body

application/json

Request body for scene generation.

prompt
string
required

Natural language description of the scene to generate

Minimum string length: 1
Example:

"A modern robotics lab with two workbenches and a mobile manipulator"

model
string | null

Override the default LLM model

asset_pipeline
enum<string>
default:auto

Asset geometry pipeline: 'auto' (recommended), 'gizmo' (parametric), or 'cad' (B-Rep)

Available options:
auto,
gizmo,
cad
persist
boolean
default:true

Whether to save the scene to your library

Response

Job created