Developer API

Image → 3D for your product

Upload a reference image, create a mesh generation, and receive GLB assets over HTTPS — with Standard Webhooks when the job finishes.

Quickstart

  1. 1. Create a test key

    In Settings → Developer, create a pg3d_test_… key. Test keys skip billing and use the mock provider.

  2. 2. Upload an image
    curl -X POST https://api.polygen-3d.com/v1/images \
      -H "Authorization: Bearer $POLYGEN_API_KEY" \
      -H "Content-Type: image/png" \
      --data-binary @reference.png
  3. 3. Start a generation
    curl -X POST https://api.polygen-3d.com/v1/generations \
      -H "Authorization: Bearer $POLYGEN_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"image_id":"…","quality":"standard","model":"Trellis 2"}'
  4. 4. Poll or wait for a webhook

    Register an endpoint in Settings to receive generation.succeeded / generation.failed with Standard Webhooks signatures, or poll GET /v1/generations/{id}.