API docs

Everything in the 3D Studio and the Image Studio, from your own code: generate models and pictures, run every 3D tool on them, manage your library, download your files, and run your 3D Pipelines. Each request spends your credits exactly as the website does, at the same prices.

Base URL: https://api.zetta3d.ai/api. Every path on this page is relative to it. Requests and responses are JSON unless a section says otherwise.

API keys

Create a key on the API keys page. API keys come with a paid plan. You see the whole key once, when you create it, so copy it then. An account can have up to 10 keys, and you can revoke any of them at any time; a revoked key stops working straight away. The same page shows each key’s usage and a log of every request it made, kept for 90 days.

Treat a key like a password: anyone who has it can spend your credits. Keep it on your server, in an environment variable or a secrets manager — never in a web page or an app you ship.

Authentication

Send the key in the Authorization header as a bearer token, or in X-API-Key. Check it works by asking which account it belongs to:

bash
curl -X GET "https://api.zetta3d.ai/api/auth/me" \
  -H "Authorization: Bearer $ZETTA_API_KEY"

A key opens the 3D Studio, the Image Studio, their tools, your pipelines’ runs and read-only account information. Everything else — account settings, billing, keys themselves, and creating or changing pipelines — stays on the website, and answers 403 API_KEY_NOT_ALLOWED to a key.

How requests work

Jobs run in the background

A 3D job — a generation or a tool on a model — is accepted at once and finishes later. The create call answers with the job and its status; check GET /3d/generations/:id every few seconds until it reaches a final status. Pictures are different: an image request waits for the picture and returns it in the response.

3D job statuses

  • pendingAccepted and charged; about to be queued. Normally lasts milliseconds.
  • queuedWaiting for a free slot. queuePosition says where it is.
  • processingBeing made.
  • savingMade; the files are being stored.
  • successDone. The files are in result and can be downloaded.
  • failedDid not finish. errorMessage says why, and the credits are refunded.
  • cancelledCancelled before it started. The credits are refunded.

Idempotency

Every request that spends credits takes an Idempotency-Key header — any string up to 128 characters that is unique to that piece of work, like order-1182-chair. Sending the same request again with the same key returns the first result instead of charging twice, so a retry after a timeout is always safe. Without the header, a repeated request is a new, separately charged job.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: order-1182-chair" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "generation": {
        "base": "textured"
      }
    },
    "imageUrl": "https://example.com/chair.png"
  }'

A 3D create tells you which happened: "charged": true for a new job, false for a replay of an earlier one.

Ids and your library

Everything you make lands in your library on zetta3d.ai, exactly as if you had made it on the website, and every 3D model and picture has a numeric id. Tools take a model by that id (sourcePostId), so you never have to pass files around between steps.

Rate limits

Limits are counted per key.

  • 300 requests a minute and 5,000 an hour, across all endpoints.
  • 3D jobs: 10 a minute. Uploads: 10 a minute. Pictures: 20 a minute (combining: 10). Background removal: 20 a minute. Pipeline runs: 10 a minute, batches 5 a minute.
  • Every other endpoint: 60 a minute.
  • Each plan runs a set number of 3D jobs at once; past it a new job answers 409 JOB_LIMIT_REACHED (see Prices and plan limits). Accepted jobs wait their turn in the queue — queuePosition says where.

Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Past a limit you get 429 RATE_LIMITED with a Retry-After header in seconds; wait that long and send the request again.

Credits

The API spends the same credits as the website, at the same prices: 3D jobs spend 3D credits, and AI tagging spends AI tokens. A 3D job is priced before it starts and charged when it is accepted; one that fails, or is cancelled before it starts, gives its credits back. Price a job first, without spending anything, with POST /3d/quote. If you don’t have enough credits the request answers 400 INSUFFICIENT_CREDITS with how many you need and have, and nothing is charged.

Jobs made through the API are marked API on your Usage page, and the API keys page shows what each key spent. Every model you download has clean, neutral names for its parts, materials and bones — the same files the Studio gives you.

Errors

An error is JSON with statusCode, a message written to be shown to a person, and often a code to branch on. Some carry more, like the credits you need:

json
{ "statusCode": 400, "code": "INSUFFICIENT_CREDITS", "message": "Not enough credits — this needs 68 and you have 20.", "required": 68, "available": 20 }
  • 400The request is not valid. The message names the field and the rule.
  • 400 INSUFFICIENT_CREDITSNot enough credits. required and available say how far off.
  • 401 INVALID_API_KEYThe key is wrong, revoked, or its account is gone.
  • 403 API_KEY_NOT_ALLOWEDThat endpoint only works on the website.
  • 403 PLAN_REQUIREDThis needs a paid plan, or a higher one.
  • 403 PIPELINE_EDIT_NOT_ALLOWEDPipelines can be run through the API, not changed.
  • 404Not found — or not yours. The two look the same on purpose.
  • 409The request conflicts with the current state — too many jobs running, or cancelling one that already started.
  • 429 RATE_LIMITEDToo many requests. Wait for Retry-After seconds.
  • 5xxSomething went wrong on our side. Retry with the same Idempotency-Key.

3D Studio

Every 3D job — making a model, or running a tool on one — is one request to POST /3d/generations. What it does is set by spec, the engine by model, and the inputs by a few more fields. The sections below give the exact request for each thing the Studio can do.

Gaussian splats and splat worlds are made on the website only; through the API they answer 403 SPLAT_NOT_IN_API.

Uploading files

Pictures and models reach a job as addresses. A file that’s already online can be passed by its https:// address. To send one from your machine, reserve an upload, send the bytes to it, and use the fileUrl it gives you.

Reserve an upload

POST/3d/uploads· 10 a minute

Body

  • contentType
    stringrequired
    Pictures: image/png, image/jpeg, image/webp. A GLB: model/gltf-binary. Any other model: application/octet-stream with extension.
  • extension
    string
    Only with application/octet-stream: fbx, obj, stl, gltf, ply, dae, 3ds, 3mf, amf, usdz, usd, usda, usdc, wrl, lwo, kmz, or zip (an OBJ with its materials and textures).
bash
curl -X POST "https://api.zetta3d.ai/api/3d/uploads" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contentType": "image/png"
  }'
json
{
  "uploadUrl": "https://api.zetta3d.ai/api/3d/uploads/relay?ticket=…",
  "method": "PUT",
  "headers": { "Content-Type": "image/png" },
  "key": "inputImg/42/0b6e….png",
  "fileUrl": "https://…",
  "expiresAt": "2026-11-26T10:00:00.000Z"
}

Send fileUrl as a job’s imageUrl or sourceFileUrl — it stays valid for 24 hours. Use key as a pipeline input. The upload address is valid for 2 hours. Reserving charges nothing.

Sending the file

Files up to 8 MB go in one request. Send the bytes to uploadUrl with exactly the Content-Type it returned:

bash
curl -X PUT "$UPLOAD_URL" -H "Content-Type: image/png" --data-binary @chair.png
# → { "key": "inputImg/42/0b6e….png", "bytes": 482113 }

Larger files go in pieces of 8 MB, because a single request is cut off after 100 seconds. Pass the same ticket every time:

  • POST /3d/uploads/relay/multipart?ticket=TOpen the upload. Answers { "uploadId": "U" }.
  • PUT /3d/uploads/relay/multipart/part?ticket=T&uploadId=U&part=NSend piece N (from 1), same Content-Type, up to 16 MB. Resending a piece replaces it.
  • POST /3d/uploads/relay/multipart/complete?ticket=T&uploadId=U&parts=N&bytes=BJoin the N pieces, B bytes in all. Answers { "key", "bytes" }.
  • DELETE /3d/uploads/relay/multipart?ticket=T&uploadId=UAbandon it.

Size limits

  • Pictures32 MB
  • Models512 MB

Upload addresses need no API key — the ticket is the permission. A wrong Content-Type answers 415, a file over the limit 413, an expired ticket 410.

Add your own model to your library

POST/3d/uploads/post· 10 a minute

Turns an uploaded model into a library model, so every tool can run on it. Free. Upload the file first, then call this.

Body

  • key
    stringrequired
    The key from POST /3d/uploads.
  • bytes
    integerrequired
    The file’s size.
  • title
    string
    Up to 120 characters.
bash
curl -X POST "https://api.zetta3d.ai/api/3d/uploads/post" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "inputImg/42/0b6e….glb",
    "bytes": 52428800,
    "title": "My chair"
  }'

Answers 201 with { "generation": { … } }, already success. Tools run on GLB, OBJ and FBX models.

Making a 3D job

Create a 3D job

POST/3d/generations· 10 a minute

Prices the job, charges your credits and queues it. Send an Idempotency-Key. Every field but spec is optional; the ones each feature uses are listed with it below.

Fields every job takes

  • spec
    objectrequired
    What to make and what you pay for. A generation: { "generation": { "base": "textured", "modifiers": ["pbr"] } }. A tool on a model: { "postProcess": ["smart_topology"] }. One or the other, never both, and one tool per job.
  • model
    string
    The engine: n25 (default), np1 or np15. Leave it out for tools — each tool runs on its own engine.
  • title
    string
    Up to 255 characters. Left out: the prompt, or for a tool “Source title - Tool”.
  • tags
    string[]
    Up to 20, each up to 64 characters.
  • availability
    string
    private (default) or public — a public model can be viewed by anyone with its link.
json
{
  "generation": { "id": 4821, "status": "pending", … },
  "quote": { "credits": 50, "lines": [{ "code": "textured", "label": "Textured", "credits": 50 }] },
  "charged": true
}

Then check GET /3d/generations/4821 until the status is success, failed or cancelled. A job that fails is refunded.

Engines

  • n25 — Zetta N2.5The default. Textured, geometry-only and low-poly models, Ultra detail, and models in parts.
  • np1 — Zetta Np1Smart 3D: clean, game-ready models built to the polygon count you choose (up to 20,000). HD or 8K textures.
  • np15 — Zetta Np1.5Smart 3D with quads and up to 50,000 polygons (25,000 quads). HD or 8K textures.
  • r1 — Zetta R1Smart topology only. Chosen for you on that tool.

What a generation can be

spec.generation.base — pick one

  • texturedA textured model. The usual choice. n25, np1, np15.
  • geometry_onlyAn untextured (white) model. n25, np1, np15.
  • lowpolyClean low-poly topology. n25 only. 9,000 polygons unless you set faceCount.

spec.generation.modifiers — add any that apply

  • pbrA full PBR material set instead of a single colour map. Not on geometry_only.
  • multi_viewBuild from several labelled pictures (multiViewImages). Required with them.
  • custom_face_countYou set the polygon count with faceCount. Required with it.
  • detailed_geometryUltra detail — up to 2,000,000 polygons. n25 only.
  • detailed_textureHD textures. n25, np1, np15. Textured models only.
  • extreme_texture8K textures. np1 and np15 only. Not with detailed_texture.
  • generate_partsThe model arrives split into separate, editable parts. n25, geometry_only only, triangles only.

Generation options

  • faceCount
    integer
    The polygon count, with custom_face_count. Ranges are in the table below.
  • polygonType
    string
    triangle (default) or quadrilateral for quads. Quads on n25 and np15; a quad model is delivered as FBX.
  • generationType
    string
    Only to get an untextured low-poly model: Geometry with base lowpoly.
  • textureAlignment
    string
    original_image keeps the texture faithful to the picture; geometry fits it to the mesh.
  • textureFast
    boolean
    A faster standard texture. Ignored with HD or 8K textures.
  • delight
    boolean
    Remove the lighting baked into the picture from the texture. Default off.
  • autoSize
    boolean
    Scale the model to real-world size in metres.
  • autofixImage
    boolean
    Clean the picture up before generating (slower).
  • compressGeometry
    boolean
    A smaller file.
  • exportUv
    boolean
    Unwrap UVs while generating. Default on; send false to skip. Always off for geometry only.
  • modelSeed
    integer
    A number. The same seed gives the same shape again.
  • textureSeed
    integer
    A number. Change it to vary only the texture.

Polygon counts (faceCount)

  • n25 lowpoly1,000–20,000 triangles · 500–10,000 quads
  • n25 textured / geometry only1,000–1,000,000 triangles · 1,000–150,000 quads
  • n25 with detailed_geometry1,000–2,000,000 triangles · 1,000–150,000 quads
  • np148–20,000 triangles
  • np1548–50,000 triangles · 48–25,000 quads

Image to 3D

One picture of the object in imageUrl — an upload’s fileUrl, any public image, or a picture from POST /2d/generate with for3D: true. A plain background works best.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "generation": {
        "base": "textured",
        "modifiers": [
          "pbr"
        ]
      }
    },
    "imageUrl": "https://example.com/chair.png",
    "model": "n25",
    "textureAlignment": "geometry"
  }'

Ultra detail with HD textures and a set polygon count:

json
{
  "spec": {
    "generation": {
      "base": "textured",
      "modifiers": [
        "pbr",
        "detailed_geometry",
        "detailed_texture",
        "custom_face_count"
      ]
    }
  },
  "imageUrl": "https://example.com/robot.png",
  "model": "n25",
  "faceCount": 1500000,
  "delight": true
}

Low-poly in quads (delivered as FBX):

json
{
  "spec": {
    "generation": {
      "base": "lowpoly",
      "modifiers": [
        "pbr",
        "custom_face_count"
      ]
    }
  },
  "imageUrl": "https://example.com/chair.png",
  "model": "n25",
  "faceCount": 8000,
  "polygonType": "quadrilateral"
}

Text to 3D

Send a prompt (up to 1,024 characters) and no picture. A 3D-ready picture is drawn from it first, at no charge, and saved to your Image Studio library; the model is built from that picture.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "generation": {
        "base": "textured",
        "modifiers": [
          "pbr"
        ]
      }
    },
    "prompt": "a weathered bronze dragon statue on a stone plinth",
    "model": "n25"
  }'

To choose the picture yourself, make it with POST /2d/generate (for3D: true) and send its address as imageUrl with the prompt and imageFromPrompt: true. A prompt and a picture together are refused otherwise.

Smart 3D

Zetta Np1 and Np1.5 build clean, game-ready models to the exact polygon budget you set — the whole model is made for that count, not reduced to it afterwards. Bases textured or geometry_only.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "generation": {
        "base": "textured",
        "modifiers": [
          "pbr",
          "extreme_texture",
          "custom_face_count"
        ]
      }
    },
    "imageUrl": "https://example.com/crate.png",
    "model": "np15",
    "faceCount": 12000,
    "polygonType": "quadrilateral"
  }'

Multi-view to 3D

Several pictures of the same object from different sides give a more accurate model. Add the multi_view modifier and send multiViewImages: front is required, plus at least two of left, back, right — use only these four. No prompt. Up to 4 pictures.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "generation": {
        "base": "textured",
        "modifiers": [
          "multi_view",
          "pbr"
        ]
      }
    },
    "multiViewImages": [
      {
        "viewType": "front",
        "imageUrl": "https://example.com/front.png"
      },
      {
        "viewType": "left",
        "imageUrl": "https://example.com/left.png"
      },
      {
        "viewType": "back",
        "imageUrl": "https://example.com/back.png"
      },
      {
        "viewType": "right",
        "imageUrl": "https://example.com/right.png"
      }
    ],
    "model": "n25"
  }'

Works on n25, np1 and np15.

Models in parts

With generate_parts, the model arrives already divided into separate parts you can move, hide or replace. N2.5, geometry_only, triangles.

json
{
  "spec": {
    "generation": {
      "base": "geometry_only",
      "modifiers": [
        "generate_parts"
      ]
    }
  },
  "imageUrl": "https://example.com/robot.png",
  "model": "n25"
}

To split a model you already have, use AI segmentation or Smart segmentation below.

Tools on a model

Every tool is a job with "spec": { "postProcess": ["<tool>"] } and the model to work on, which is one of:

  • sourcePostId — a finished model in your library (the usual way).
  • sourceFileUrl — an https:// address of a .glb, .obj or .fbx.

Each tool makes a new model in your library and leaves the original as it was. Leave model out. Source models can be up to 150 MB. One tool per job — chain them by passing each result’s id to the next.

Smart topology

Rebuilds the model’s mesh as clean, even topology — triangles or quads — at the polygon count you choose, keeping its look. Runs on Zetta R1.

Body

  • polygonType
    string
    triangle (default) or quadrilateral.
  • faceCount
    integer
    Exact polygon count: 500–20,000 triangles or 500–10,000 quads. Wins over faceLevel.
  • faceLevel
    string
    A preset instead of a number: low, medium, high (triangles 2,000 / 8,000 / 20,000; quads 2,000 / 5,000 / 10,000). Neither: the engine decides.
  • bake
    boolean
    Bake the original textures onto the new mesh. Default true.
  • unwrapUvs
    boolean
    Also unwrap UVs, at no extra cost.
bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001-topology" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "postProcess": [
        "smart_topology"
      ]
    },
    "sourcePostId": 4821,
    "polygonType": "quadrilateral",
    "faceCount": 8000,
    "bake": true,
    "unwrapUvs": true
  }'

AI segmentation

Splits a model into named parts, delivered as one GLB per part.

Body

  • segmentGranularity
    string
    simple (few parts), balanced (default) or detailed (most parts).
  • splitByConnectivity
    boolean
    Also split pieces that aren’t connected. Default true.
  • imageUrl
    string
    Optional picture showing the parts you want; it guides the split.
json
{
  "spec": {
    "postProcess": [
      "ai_segmentation"
    ]
  },
  "sourcePostId": 4821,
  "segmentGranularity": "detailed"
}

Smart segmentation

Splits a model into parts while rebuilding each one, for cleaner parts from a rough model. GLB models only.

Body

  • segmentGranularity
    string
    simple, balanced or detailed.
  • prompt
    string
    Optional hint naming the parts — “a knight with sword, shield and armour”.
json
{
  "spec": {
    "postProcess": [
      "smart_segmentation"
    ]
  },
  "sourcePostId": 4821,
  "segmentGranularity": "balanced",
  "prompt": "robot with arms, legs, head and torso"
}

Smart UV

A new, clean UV layout with the textures baked onto it. Delivers the model and an image of the layout. The model must be under 80,000 triangles — run Smart topology first if it’s larger.

Body

  • bake
    boolean
    Bake the textures onto the new layout. Default true; false gives bare UVs.
  • exportOrientation
    string
    Turn the model to face +x, -x, +y or -y. Left out: unchanged.
  • compressGeometry
    boolean
    A smaller file.
json
{
  "spec": {
    "postProcess": [
      "smart_uv"
    ]
  },
  "sourcePostId": 4821
}

AI texturing

New materials on the model’s existing shape. The tool code is the quality: retexture (standard), retexture_hd or retexture_8k. Guide it with a picture of the look you want in imageUrl, or with views of the object in multiViewImages (front required, then left, back, right). To texture from a description, make the picture first with POST /2d/generate and pass it.

Body

  • imageUrl
    string
    A reference picture.
  • multiViewImages
    object[]
    Views of the object, instead of one picture. They win if both are sent.
  • enablePBR
    boolean
    PBR maps with the new texture. Default true.
  • delight
    boolean
    Remove the reference picture’s lighting. Default false.
  • textureAlignment
    string
    original_image or geometry.
  • textureFast
    boolean
    Faster, standard quality only.
  • bake
    boolean
    Bake material effects into the base textures. Default true.
  • textureSeed
    integer
    Vary the result.
bash
curl -X POST "https://api.zetta3d.ai/api/3d/generations" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Idempotency-Key: chair-001-texture" \
  -H "Content-Type: application/json" \
  -d '{
    "spec": {
      "postProcess": [
        "retexture_hd"
      ]
    },
    "sourcePostId": 4821,
    "imageUrl": "https://example.com/rusty-metal.png",
    "enablePBR": true,
    "delight": true
  }'

Auto rigging

Fits a skeleton so the model can be animated. Check first with POST /ai/rigging-precheck if you’re not sure of the body type.

Body

  • rigType
    string
    biped (default), quadruped, hexapod, octopod, avian, serpentine, aquatic, or others.
  • rigSpec
    string
    How the bones are named, for bipeds: standard (default), mixamo, unity, unreal, vrm, actorcore.
  • rigOutFormat
    string
    glb (default) or fbx.
json
{
  "spec": {
    "postProcess": [
      "auto_rigging"
    ]
  },
  "sourcePostId": 4821,
  "rigType": "biped",
  "rigSpec": "unreal",
  "rigOutFormat": "fbx"
}

Convert & export

Writes the model in another format, optionally reworked for where it’s going. Send convert_format; options beyond the format move it to the advanced price automatically (the quote shows the basic one).

Body

  • outputFormat
    stringrequired
    GLTF, FBX, USDZ, OBJ, STL or 3MF.
  • polygonType
    string
    quadrilateral for quads. FBX only.
  • faceCount
    integer
    Reduce to this many polygons.
  • forceSymmetry
    boolean
    Make quad output symmetric.
  • flattenBottom
    boolean
    Flatten the underside so the model stands flat.
  • flattenBottomThreshold
    number
    How deep the flattening cuts, 0–1.
  • textureSize
    integer
    128–4096. Default 4096.
  • textureFormat
    string
    JPEG (default), PNG, WEBP, BMP, DPX, HDR, OPEN_EXR, TARGA, TIFF.
  • packUv
    boolean
    Repack all UV islands into one layout.
  • exportVertexColors
    boolean
    OBJ and GLTF only.
  • pivotToCenterBottom
    boolean
    Move the pivot to the bottom centre.
  • scaleFactor
    number
    0.001–1000. Default 1 (0.01 turns centimetres into metres).
  • withAnimation
    boolean
    Keep the skeleton and animation. Default true.
  • animateInPlace
    boolean
    Remove root motion.
  • exportOrientation
    string
    +x (default), -x, +y, -y.
  • fbxPreset
    string
    For FBX: blender (default), 3dsmax, mixamo.
json
{
  "spec": {
    "postProcess": [
      "convert_format"
    ]
  },
  "sourcePostId": 4821,
  "outputFormat": "USDZ"
}
json
{
  "spec": {
    "postProcess": [
      "convert_format"
    ]
  },
  "sourcePostId": 4821,
  "outputFormat": "FBX",
  "polygonType": "quadrilateral",
  "pivotToCenterBottom": true,
  "scaleFactor": 0.01,
  "textureSize": 2048,
  "textureFormat": "PNG",
  "fbxPreset": "3dsmax"
}

Prices and plan limits

Price a job first

POST/3d/quote

What a job will cost, without charging. Send the job’s spec contents and its model — without model you get general prices, which can differ.

bash
curl -X POST "https://api.zetta3d.ai/api/3d/quote" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "generation": {
      "base": "textured",
      "modifiers": [
        "pbr"
      ]
    },
    "model": "n25"
  }'
json
{ "credits": 50, "lines": [{ "code": "textured", "label": "Textured", "credits": 50 }, { "code": "pbr", "label": "PBR materials", "credits": 0 }] }

The price list

GET/3d/pricing

Every operation’s price: { "items": [{ "code", "kind", "label", "credits", "model" }] }. A row with a model is that engine’s price; null applies to the rest. GET /3d/operations gives the same, grouped by kind.

What your plan allows

GET/3d/entitlements

Which features your plan includes and how many jobs it runs at once. Every paid plan includes every feature; plans differ in credits and in how many jobs run together.

Jobs running at once, per kind of job

  • Tester1
  • Basic2
  • Creator5 (3 for texturing and converting)
  • Creator ProUp to 10

Past that, a new job answers 409 JOB_LIMIT_REACHED — wait for one to finish. The kinds are N2.5 generations, Smart 3D generations, rigging, texturing and converting, and topology, segmentation and UV.

Your 3D library

Get a job

GET/3d/generations/:id
json
{
  "generation": {
    "id": 4821, "status": "success", "selectedFeature": "img23d", "selectedModel": "n25",
    "title": "Chair", "tags": [], "availability": "private",
    "inputImages": [{ "url": "…", "viewType": null }], "thumbnailURL": "…",
    "faceCount": null, "polygonType": null,
    "result": {
      "files": [{ "type": "GLB", "key": "…", "url": "…", "bytes": 1234567, "label": null }],
      "thumbnail": { "key": "…", "url": "…" }
    },
    "errorMessage": null, "createdAt": "…", "updatedAt": "…"
  },
  "queuePosition": null
}

result is null until success. File links last at least 10 minutes; get the job again for fresh ones. queuePosition counts from 1 while the job waits.

List your models

GET/3d/generations

Query

  • page
    integer
    From 1.
  • pageSize
    integer
    1–100. Default 24.
  • status
    string
    Filter by status; repeat for several (?status=success&status=failed).
  • feature
    string
    img23d, txt23d, multiView23d, retopology, segmentation, smartSegmentation, uvUnwrap, retexture, autoRigging, convertFormat, upload.
  • search
    string
    Title, tag or id.
  • availability
    string
    public or private.
  • sortBy
    string
    createdAt (default) or updatedAt.
  • sortDir
    string
    DESC (default) or ASC.

Answers { "items": [ … ], "total", "page", "pageSize" }.

Download a file

GET/3d/generations/:id/download

A download link for a finished job: { "key", "url", "expiresInSeconds": 900 }. Without ?key= you get the main model file; pass one of the job’s result.files[].key to choose another. The link supports HTTP ranges.

bash
curl -X GET "https://api.zetta3d.ai/api/3d/generations/4821/download" \
  -H "Authorization: Bearer $ZETTA_API_KEY"

curl -o chair.glb "$URL"

Rename, tag or share

PATCH/3d/generations/:id

Body

  • title
    string
    Up to 255 characters.
  • tags
    string[]
    Replaces the tags. Up to 20.
  • availability
    string
    public or private.

Cancel a job

POST/3d/generations/:id/cancel

Only while it is pending or queued; every credit comes back. Once it has started, it answers 409 GEN3D_ALREADY_SUBMITTED.

Delete a model

DELETE/3d/generations/:id

Deletes the model and its files for good. Answers 204. Not refunded: a job still running finishes in the background.

Replace a model’s file

POST/3d/generations/:id/result-upload· 10 a minute

Overwrite a finished model’s GLB (or its one FBX) with an edited version — for instance after editing it in your own tool. Body: { "format": "glb" | "fbx" }, plus part (from 0) for a model in parts. Answers an uploadUrl; send the file there as with any upload. Free.

3D errors

  • 400A field or combination isn’t allowed. The message says which and why — nothing is charged.
  • 400 MODEL_CAPABILITY_UNSUPPORTEDThe engine can’t do that. message lists every problem found.
  • 400 INSUFFICIENT_CREDITSNot enough credits; required and available say how far off.
  • 403 PLAN_REQUIRED / PLAN_CAPABILITY_REQUIREDYour plan doesn’t include it. violations lists what.
  • 403 SPLAT_NOT_IN_APIGaussian splats are made on the website and aren’t available through the API.
  • 404The source model isn’t yours or doesn’t exist.
  • 409 JOB_LIMIT_REACHEDToo many jobs of this kind running; wait for one to finish.
  • 409 GEN3D_NOT_READYDownload asked for before the job finished.
  • 503 FEATURE_UNAVAILABLEThe feature is briefly unavailable. Nothing was charged.

Image Studio

Make pictures from a prompt, change them with an instruction, or combine several into one. Every picture is saved to your Image Studio library as it is made, and can be used straight away as the input for a 3D model or a pipeline. Pictures need a paid plan and don’t use credits.

Image requests wait for the picture and return it in the response, so they can take up to about two minutes. Set your HTTP client’s timeout to at least 150 seconds.

Models

  • flashFast. 1K and 2K; renders at 1K, so a 2K request runs on Pro. Used for every for3D picture.
  • proHighest quality. 1K, 2K and 4K. The default on paid plans.

List the image models

GET/2d/models

The models your account can use, with the resolutions each offers, and the one used when a request names none.

json
{
  "models": [
    { "id": "flash", "label": "Flash", "resolutions": ["1K", "2K"] },
    { "id": "pro", "label": "Pro", "resolutions": ["1K", "2K", "4K"] }
  ],
  "default": "pro"
}

What your plan allows

GET/2d/entitlements
json
{ "plan": "basic", "entitlements": { "allowsImageEditing": true, "allows4kImages": true, "allowsProImageModel": true } }

Options every image request takes

Body

  • prompt
    stringrequired
    What to make, or what to change. 1 to 5,000 characters.
  • aspectRatio
    string
    One of 1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9. Left out, the model picks.
  • resolution
    string
    1K, 2K or 4K. Flash offers 1K and 2K; Pro all three. A size the chosen model can’t render runs on Pro instead, and the response’s model says so.
  • model
    string
    flash (fast) or pro (highest quality). Left out: pro, or flash if your plan can’t use Pro. GET /2d/models lists what your account can use.
  • for3D
    boolean
    Make the picture as an input for 3D. Always runs on Flash. With subject: "object" it is a single centred object on a plain background, fully in frame, at 1:1 and 1K — ready for Generate 3D. With subject: "environment" it is a whole scene filling the frame with clear depth, at your aspectRatio and resolution (default 16:9, 1K).
  • subject
    string
    object (default) or environment. Only read with for3D: true.
  • fast
    boolean
    Prefer Flash, changing nothing else. A model you name wins over it.

Pictures you send are base64 objects, the same everywhere:

Image object

  • data
    stringrequired
    The file as base64, without a data: prefix. Up to 10,000,000 characters (about 7.5 MB).
  • contentType
    string
    image/png (default), image/jpeg or image/webp.

A whole request can be at most 16 MB, which limits how many large pictures fit in one call. Pictures already in your library can be named by id instead, which costs nothing against that limit.

The response

Generate, edit and compose all answer the same way:

json
{
  "postId": 1234,
  "images": [{ "base64": "iVBORw0K…", "contentType": "image/png", "bytes": 1482304 }],
  "text": null,
  "model": "pro"
}
  • postIdThe picture’s id in your library. Use it to edit it, combine it, or start a pipeline from it.
  • imagesThe picture, as base64 with its type and size in bytes.
  • textAny text the model returned with the picture. Usually null.
  • modelThe model that actually ran — it can differ from the one you asked for (see for3D and resolution).
Idempotency-Key on image requests keeps your library to one entry per key, but a repeated request still makes a new picture (and returns postId: null). Don’t retry an image request that succeeded.

Generate a picture

POST/2d/generate· 20 a minute

Make a picture from a prompt, optionally guided by up to three style references.

Takes every option above, plus:

Body

  • styleReferences
    image object[]
    Up to 3 pictures whose look — palette, lighting, rendering style — the result should follow. The result doesn’t have to contain anything from them.
bash
curl -X POST "https://api.zetta3d.ai/api/2d/generate" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A weathered bronze statue of a fox, studio lighting",
    "aspectRatio": "4:5",
    "resolution": "2K",
    "model": "pro"
  }'

A picture to turn into a 3D model:

bash
curl -X POST "https://api.zetta3d.ai/api/2d/generate" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A low-poly wooden treasure chest with iron bands",
    "for3D": true
  }'

A whole scene, made for 3D:

bash
curl -X POST "https://api.zetta3d.ai/api/2d/generate" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A misty pine forest clearing at dawn with a stone well",
    "for3D": true,
    "subject": "environment",
    "aspectRatio": "16:9",
    "resolution": "2K"
  }'

With style references:

bash
curl -X POST "https://api.zetta3d.ai/api/2d/generate" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A sci-fi cargo drone hovering over a desert",
    "styleReferences": [
      {
        "data": "<base64>",
        "contentType": "image/jpeg"
      }
    ]
  }'

Edit a picture

POST/2d/img-edit· 20 a minute

Change one picture with an instruction. Send the picture itself, or the id of one in your library. Takes every option above, plus:

Body

  • image
    image object
    The picture to edit. Send this or sourcePostId, not both.
  • sourcePostId
    integer
    A picture in your Image Studio library (its postId or id).
  • textureMap
    boolean
    Make a PBR texture map (roughness, metalness, normal…) from a base-colour texture. Send with fast: true so the map keeps the source’s own size and shape.
bash
curl -X POST "https://api.zetta3d.ai/api/2d/img-edit" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Make the jacket dark green leather, keep everything else",
    "image": {
      "data": "<base64>",
      "contentType": "image/png"
    }
  }'

A library picture, made ready for 3D:

bash
curl -X POST "https://api.zetta3d.ai/api/2d/img-edit" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Remove the person, keep only the bicycle",
    "sourcePostId": 1234,
    "for3D": true
  }'

A texture map:

bash
curl -X POST "https://api.zetta3d.ai/api/2d/img-edit" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The roughness map for this base-colour texture: greyscale, white = rough",
    "image": {
      "data": "<base64 of the texture>"
    },
    "textureMap": true,
    "fast": true
  }'

Combine pictures

POST/2d/img-compose· 10 a minute

Build one picture from 2 to 14 others — put a character into a scene, a product into a room. Library pictures come first, in the order given, then the ones you send; the prompt can refer to them as “the first image”, “the second”, and so on. Takes every option above, plus:

Body

  • images
    image object[]
    Up to 14 pictures sent with the request.
  • sourcePostIds
    integer[]
    Up to 14 pictures from your library.

Together they must make 2 to 14 pictures; for one, use edit.

bash
curl -X POST "https://api.zetta3d.ai/api/2d/img-compose" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Put the character from the first image into the room from the second, holding the lamp from the third",
    "sourcePostIds": [
      1234
    ],
    "images": [
      {
        "data": "<base64 room>",
        "contentType": "image/jpeg"
      },
      {
        "data": "<base64 lamp>"
      }
    ],
    "aspectRatio": "16:9",
    "resolution": "2K"
  }'

Your picture library

List your pictures

GET/2d

Newest first, including failed requests (with no picture and an errorMessage).

Query

  • page
    integer
    From 1. Default 1.
  • pageSize
    integer
    1 to 100. Default 18.
  • feature
    string
    genImg, editImg or composeImg.
  • search
    string
    Words in the prompt, up to 200 characters.
json
{
  "items": [{
    "id": 1234, "feature": "genImg", "prompt": "A weathered bronze statue of a fox…",
    "aspectRatio": "4:5", "resolution": "2K",
    "images": [{ "url": "https://api.zetta3d.ai/api/files?key=…&ticket=…", "contentType": "image/png", "bytes": 1482304 }],
    "errorMessage": null, "createdAt": "2026-11-25T10:12:33.123Z"
  }],
  "total": 87, "page": 1, "pageSize": 18
}

Picture links last about 15 minutes; list again for fresh ones.

Delete a picture

DELETE/2d/:id

Removes it from your library. Answers 204 with no body.

Image errors

  • 403 PLAN_REQUIREDPictures need a paid plan.
  • 403 IMAGE_EDITING_REQUIRES_PLANEditing, combining and texture maps need a plan that includes them.
  • 403 IMAGE_4K_REQUIRES_PLAN4K needs a plan that includes it.
  • 403 IMAGE_PRO_MODEL_REQUIRES_PLANPro needs a plan that includes it.
  • 400 IMAGE_GEN_NO_IMAGEThe model answered with text and no picture — usually a refusal. The message is its answer.
  • 400 IMAGE_GEN_REJECTEDThe request was refused. Rephrase the prompt.
  • 502 IMAGE_GEN_TIMEOUTTook too long. Try a simpler prompt or a smaller size.
  • 502 / 503IMAGE_GEN_FAILED, IMAGE_GEN_UNREACHABLE, IMAGE_GEN_QUOTA — try again in a few minutes.
  • A library id that isn’t yours, or a deleted picture, answers 404 That image was not found.

Tools

Remove a background

POST/tools/rembg· 20 a minute

Cut the subject out of a picture. Useful before turning a photo into a 3D model. Free, and nothing is stored.

Body

  • image
    stringrequired
    A PNG, JPEG or WebP as base64, without a data: prefix. Up to 8 MB.
bash
curl -X POST "https://api.zetta3d.ai/api/tools/rembg" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "<base64>"
  }'
json
{ "image": "<base64 PNG with transparency>", "contentType": "image/png", "bytes": 523188 }

Suggest tags for a model

POST/ai/tags

Looks at pictures of a model and suggests a category and tags. Nothing is saved — to keep them, send them with PATCH /3d/generations/:id. Spends the AI tokens the call actually used (about 4,000) from your AI balance; a failed call costs nothing.

Body

  • frames
    object[]required
    1 to 4 pictures of the model, each { "data": "<base64>", "mediaType": "image/png" } with mediaType one of image/png, image/jpeg, image/webp, up to about 3 MB each. Renders from the front, back and sides at about 768 px work best.
  • triangles
    integer
    The model’s triangle count. Lets it tag a model low poly with confidence.
  • subject
    string
    object (default), or environment for pictures of a whole scene.
json
{ "category": "weapon", "tags": ["sword", "metal", "fantasy", "silver"], "tokens": 3120, "estimatedTokens": 4000 }

category is one of character, creature, vehicle, weapon, furniture, architecture, prop, nature, food, electronics, apparel, accessory, container, tool, environment, abstract — or null. Up to 30 tags.

Check a model can be rigged

POST/ai/rigging-precheck

Before auto-rigging, ask what kind of body a model has and how sure the answer is. It advises only; you decide whether to rig. Free.

Body

  • frames
    object[]required
    1 to 4 pictures of the model, each { "data": "<base64>", "mediaType": "image/png" } with mediaType one of image/png, image/jpeg, image/webp, up to about 3 MB each. Renders from the front, back and sides at about 768 px work best.
json
{ "bodyType": "biped", "confidence": "high", "reason": "A single humanoid figure in an A-pose with both arms clear of the body." }

bodyType: biped, quadruped, hexapod, octopod, avian, serpentine, aquatic, others, or unknown. confidence: high, medium or low.

3D Pipelines

A pipeline is a recipe of steps — remove the background, generate, retopologize, texture, rig — that you build once in the 3D Studio. Through the API you run it: on one input, or on up to 20 at a time, and follow every step. Pipelines can’t be created or changed through the API.

Run modes

  • autoEvery step runs as soon as its input is ready. Starting checks your credits cover the estimate.
  • manualEach step waits for you to run it (the steps right after the input start at once). No credit check up front.

Run statuses

  • draftMade but not started. Start it with POST /pipeline-runs/:runId/start.
  • runningSteps are moving.
  • awaitingNothing is moving and a step needs you — to run it, or to choose parts.
  • pausedYou paused it. Jobs already running still finish.
  • doneEvery step finished.
  • failedA step failed. Retry it to carry on.
  • cancelledYou cancelled it. Final.

Step statuses

  • waitingManual mode: ready to run when you say.
  • readyAbout to start.
  • runningBeing worked on.
  • submittedIts 3D job is queued; gen3dPostId is the job.
  • reviewIsolate parts: choose which parts to keep.
  • successDone. output says what it made.
  • failederrorMessage says why. Retry it.
  • cancelledStopped by a cancel.

Each 3D step is charged when it starts, at the same price as in the Studio, and refunded if it fails. Everything a run makes lands in your libraries.

Your pipelines

List your pipelines

GET/pipelines
json
[{ "id": 12, "title": "Product photo → textured GLB", "steps": 5, "createdAt": "…", "updatedAt": "…",
   "lastRun": { "id": 301, "status": "done", "createdAt": "…" }, "runCounts": { "done": 14, "awaiting": 1 } }]

Get a pipeline

GET/pipelines/:id

Its steps as a graph of nodes and edges, and any problems that would stop it running. Each node has an id (used to set a step for one run) and a kind.

Estimate a pipeline’s cost

POST/pipelines/estimate

Body

  • graph
    objectrequired
    The graph from GET /pipelines/:id.
json
{ "credits": 180, "lines": [{ "nodeId": "gen1", "credits": 60, "count": 1 }], "perPart": false, "problems": [] }

perPart: true means the pipeline splits a model into parts, and the total is the most a run can cost.

Running

Run on new inputs

POST/pipelines/:id/batch· 5 a minute

One run per input, each with its own input. The usual way to run a pipeline through the API.

Body

  • mode
    stringrequired
    auto or manual.
  • seeds
    object[]required
    1 to 20 inputs, each in the shape the pipeline’s first step takes (below).
  • draft
    boolean
    Make the runs without starting them, so each can be adjusted first. AI texturing steps then need their description set per run before they start.

Inputs

  • Picture (uploaded){ "uploadKey": "<key>", "name": "chair.png" } — the key from POST /3d/uploads. name is optional and names what the run makes.
  • Picture (library){ "gen2dPostId": 1234 } — a picture in your Image Studio library.
  • Model{ "gen3dPostId": 5678 } — a finished model in your 3D library.
  • Views{ "views": [{ "viewType": "front", "uploadKey": "<key>" }, { "viewType": "back", "gen2dPostId": 1240 }] } — front required; back, left, right optional.
bash
curl -X POST "https://api.zetta3d.ai/api/pipelines/12/batch" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "auto",
    "seeds": [
      {
        "uploadKey": "inputImg/42/2b6c….jpg",
        "name": "chair.jpg"
      },
      {
        "gen2dPostId": 1234
      }
    ]
  }'
json
{ "runs": [{ "id": 401, "mode": "auto", "status": "running", "estimatedCredits": 120, "createdAt": "…", "finishedAt": null }] }
An input that isn’t yours is accepted here and fails when its step runs, so check the run. In auto mode your credits must cover the estimate times the number of runs, or the request answers 400 INSUFFICIENT_CREDITS.

Run on the saved input

POST/pipelines/:id/runs· 10 a minute

One run on the input saved in the pipeline itself.

Body

  • mode
    stringrequired
    auto or manual.

Answers 400 PIPELINE_NOT_RUNNABLE with a problems list if a step isn’t set up, and the full run otherwise.

List a pipeline’s runs

GET/pipelines/:id/runs

The newest 50, each with progress (done, total, waiting, failed).

Follow a run

GET/pipeline-runs/:runId

The run and every step: status, credits, errorMessage, and output — a picture, views, a model (gen3dPostId), or parts. A step with a 3D job carries the job as generation, in the same shape as GET /3d/generations/:id. Check every few seconds while the status is running, paused or awaiting.

Controlling a run

Each answers with the full run.

  • POST /pipeline-runs/:runId/startStart a draft. 400 RUN_NEEDS_INPUT lists what is missing.
  • POST /pipeline-runs/:runId/pauseNo new step starts. Jobs already running finish.
  • POST /pipeline-runs/:runId/resumeCarry on after a pause.
  • POST /pipeline-runs/:runId/cancelStop. Queued 3D jobs are cancelled and refunded; running ones finish into your library.
  • POST /pipeline-runs/:runId/modeBody { "mode": "auto" | "manual" }. Switching to auto runs every waiting step.
  • POST /pipeline-runs/:runId/run-waitingManual mode: run every waiting step.
  • POST /pipeline-runs/:runId/steps/:stepId/runManual mode: run one waiting step.
  • POST /pipeline-runs/:runId/steps/:stepId/retryRetry a failed step. Optional body { "request": {…} } to change it for this run.
  • POST /pipeline-runs/:runId/steps/:stepId/partsIsolate parts: body { "keys": ["sword"], "extraParts": ["belt"] } — up to 16.
  • DELETE /pipeline-runs/:runIdDelete a finished, failed, cancelled or draft run. Its models stay in your library.

Change a step for one run

PATCH/pipeline-runs/:runId/nodes/:nodeId

Set a step’s settings for this run only, before it runs — the usual case is giving each draft run its own AI texturing description. The pipeline itself doesn’t change.

Body

  • request
    object
    The step’s whole request. It replaces the current one, so copy it from the run’s graph.nodes, change what you need, and send it all back.
bash
curl -X PATCH "https://api.zetta3d.ai/api/pipeline-runs/401/nodes/tex1" \
  -H "Authorization: Bearer $ZETTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request": {
      "spec": {
        "postProcess": [
          "retexture"
        ]
      },
      "enablePBR": true,
      "prompt": "Worn oak with brass fittings"
    }
  }'

Account

Your account and balances

GET/auth/me
json
{
  "user": {
    "id": 42, "email": "…", "paymentPlan": "basic", "subscriptionStatus": "active",
    "credits": {
      "threeD": { "monthly": 1240, "purchased": 0, "bonusMonthly": 0, "bonus": 70 },
      "ai": { "monthly": 1800000, "purchased": 0, "bonusMonthly": 0, "bonus": 0 }
    },
    "createdAt": "…"
  }
}

Your spendable 3D credits are the four threeD numbers added together; your AI tokens, the four ai numbers.

Your plan

GET/billing/subscription
json
{ "plan": "basic", "status": "active", "cancelAtPeriodEnd": false, "currentPeriodEnd": "2026-12-15T…", "aiAddOn": null }

Your usage history

GET/billing/usage

Every charge and refund, newest first.

Query

  • meter
    string
    three_d_credit or ai_token. Left out: both.
  • limit
    integer
    1 to 100. Default 25.
  • before
    integer
    The nextCursor of the previous page.
json
{
  "entries": [{ "id": 88123, "meter": "three_d_credit", "entryType": "debit", "operationType": "textured",
                "amount": 60, "subjectType": "gen3d_post", "subjectId": 5680, "reason": null,
                "createdAt": "…", "origin": "api" }],
  "nextCursor": 88123
}

entryType is debit or refund; subjectId is the 3D model it was for; nextCursor is null on the last page.

This period’s spending by feature

GET/billing/usage/breakdown

Query

  • meter
    string
    three_d_credit or ai_token (default).
json
{ "meter": "three_d_credit", "since": "2026-11-15T…", "total": 840,
  "byOperation": [{ "operationType": "textured", "amount": 600, "count": 10 }], "byTier": [], "truncated": false }