Simulation Environment

Simulation cookbook

Build physically accurate assets and scenes from your images for simulation and robot policy development.

Standard · Assets & scenesLite · Assets only

Asset API · assets & scenes

The Asset API generates both assets and scenes. Set config.model_version to standard for assets and scenes, or lite for assets only.

  1. 1Create an API key and store it securely.
  2. 2(Optional) Get a quote of the generation with POST /api/v1/assets.
  3. 3Start a job by sending the request with "mode": "generate".
  4. 4Track and download results below, or via GET /api/v1/assets.
curl -X POST --fail-with-body https://app.moonlakeai.com/api/v1/assets \
  -H "Authorization: Bearer $MOONLAKE_API_KEY" \
  -F 'input={
    "prompt": "a wooden dining chair",
    "references": [{"source": "attached", "name": "reference_0"}]
  };type=application/json' \
  -F 'reference_0=@chair.png' \
  -F 'config={"model_version":"standard"};type=application/json' \
  -F 'mode=generate'
Loading…

Assets & scenes

Sign in to see the assets and scenes on your account.