API v1•REST · mesh Image→3D
Docs/generations/Create generation
polygen-developer-api-v1

Create generation

Start an Image→3D job. Provide image_id from a prior upload, or image_url for one-shot ingest. model is required and must be a label from GET /v1/models. Returns 202; poll or wait for webhooks.

POSThttps://api.polygen-3d.com/v1/generations
info

Async by design

Status moves queued → processing → succeeded | failed | canceled. Assets and signed download URLs appear only after success.

Request Headers

Header
Type
Description
Authorization req
string (Bearer)
API key
Content-Type req
string
application/json
Idempotency-Key
string
Optional; safe retries for the same create

Request Body Parameters

JSON unless uploading raw image bytes.

image_iduuid

Previously uploaded image id (xor with image_url)

image_urlstring
HTTPS

HTTPS image URL alternative to image_id

qualityenum
standard | high

standard (default) or high — affects credits and fidelity

modelstringrequired

Required. Model label from GET /v1/models (not an internal engine id)

seedinteger

Optional deterministic seed (0 … 2^31-1)

client_reference_idstring

Your correlation id (max 128 chars)

metadataobject

Optional string→string map stored on the job

Response Attributes

Field
Type
Description
id
uuid
Generation id for poll / cancel / webhook match
status
string
queued | processing | succeeded | failed | canceled
credits
integer
Credits reserved/charged (0 in test mode)
assets
array
Populated on success: glb, preview_glb, stl, obj_zip, …