> ## Documentation Index
> Fetch the complete documentation index at: https://docs.splat-3d.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Start processing a scene

> Reserve one paid launch for an uploaded scene. Retry with the same body and optional Idempotency-Key to replay the saved result without another charge, processing-quota increment, or dispatch. An uncertain upstream response remains accepted until status reconciliation resolves it.



## OpenAPI

````yaml https://api.splat-3d.com/openapi.json post /v1/scenes/{id}/process
openapi: 3.1.0
info:
  title: Splat3D API
  version: 1.8.0
  description: Turn photos and videos into interactive 3D Gaussian Splat scenes.
servers:
  - url: https://api.splat-3d.com
    description: Production
security: []
paths:
  /v1/scenes/{id}/process:
    post:
      tags:
        - Scenes
      summary: Start processing a scene
      description: >-
        Reserve one paid launch for an uploaded scene. Retry with the same body
        and optional Idempotency-Key to replay the saved result without another
        charge, processing-quota increment, or dispatch. An uncertain upstream
        response remains accepted until status reconciliation resolves it.
      operationId: processScene
      parameters:
        - schema:
            type: string
            description: Scene ID
            example: a1b2c3d4e5f6
          required: true
          name: id
          in: path
        - schema:
            type: string
            pattern: ^[\x21-\x7e]{1,128}$
            description: >-
              Optional user-scoped key. Reuse this exact key and body on
              retries. A different key/body for the same scene, or reuse on
              another scene, returns 409.
          required: false
          name: idempotency-key
          in: header
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProcessSceneBody'
      responses:
        '200':
          description: Processing started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProcessSceneResponse'
        '400':
          description: >-
            `source_missing`: the scene's source file isn't in storage, e.g. the
            upload never finished. Nothing was charged. Upload it again (the
            upload URL from create lasts 24 hours; after that, create a new
            scene), then call `/process` again. Any other bad request is
            `invalid_input`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: >-
            `insufficient_credits`: your balance doesn't cover this launch.
            Nothing was charged. After `/process` the scene stays `uploading`:
            add credits and call `/process` again. After `/retrain` no new
            version is kept.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >-
            `insufficient_scope`: the API key lacks the `write:scenes` scope,
            which keys created as Write or All carry. The request was refused
            before it read or changed any scene, quota or credit balance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Scene not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Scene is already being processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '413':
          description: >-
            `payload_too_large`: the uploaded file exceeds the 5.0 GB upload
            limit, the same on every plan. Nothing was charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '415':
          description: >-
            The request has a body that isn't sent as `Content-Type:
            application/json`. `curl -d` sends form encoding unless you add that
            header. Nothing was created, claimed or charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: >-
            `source_unusable`: the uploaded file won't make a usable scene: it
            is empty, a video under 30 seconds (read from its MP4 or MOV header;
            a length that can't be read launches), a 360° video at any length (a
            2:1 frame, or spherical metadata on another shape; 360° video isn't
            supported yet), a photo upload that isn't a zip, or a zip with fewer
            than 20 JPEG or PNG photos (HEIC, WebP and other formats are
            skipped). A zip holding a COLMAP model needs 5; a SplatKing video
            export (one `wide.mov`, under 5 photos) isn't counted. `details`
            names the rule, e.g. `{ field: "photo_count", value: 12, allowed: {
            min: 20 } }`, `{ field: "video_seconds", value: 12.4, allowed: {
            min: 30 } }` or `{ field: "video_aspect", value: 2, allowed: { not:
            2 } }` (`video_projection` for spherical metadata). Nothing was
            charged. Upload a usable file to the same upload URL (it lasts 24
            hours from create) and call `/process` again, or create a new scene.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            `queue_full`: as many of your scenes are processing as your plan
            allows at once. Nothing was charged, and `meta` holds `limit` and
            `current`. After `/process` the scene stays `uploading`: call
            `/process` again once one finishes. After `/retrain` no new version
            is kept, unless the response carries no `Retry-After`: then check
            `GET /v1/scenes` before sending it again. `quota_exceeded`: the
            monthly quota is used up; `meta` holds `period`, `limit` and
            `field`. After `/retrain` no new version is kept. `rate_limited`:
            more than 300 requests, or 30 create, `/process` and `/retrain`
            requests, this minute, counted per user. The request was refused
            before it read or changed any scene, quota or credit balance. Wait
            `Retry-After` seconds, then send it again. `meta.limit` and
            `X-RateLimit-Limit` name the limit that refused.
          headers:
            Retry-After:
              description: >-
                Seconds to wait before sending the request again: 120 with
                `queue_full`, 60 with `rate_limited`. Not sent with
                `quota_exceeded`.
              schema:
                type: integer
                example: 120
            X-RateLimit-Limit:
              description: >-
                Requests a minute the limit that refused allows. Every `/v1`
                response carries it, naming its route's limit.
              schema:
                type: integer
                example: 300
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            `internal_error`: an unexpected failure on our side. Contact support
            with `meta.request_id`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: >-
            `upstream_error`: the GPU backend refused the launch, or the capture
            data could not be stored. The charge was refunded. Repeating the
            same `/process` request returns this saved failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Temporarily unavailable, e.g. a database blip. Not an answer about
            your key or scene: retry the same request after `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying the same request.
              schema:
                type: integer
                example: 5
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ProcessSceneBody:
      type: object
      properties:
        enable_lod:
          type: boolean
          example: false
        arkit_poses:
          type: array
          items:
            $ref: '#/components/schemas/ArkitPose'
          minItems: 5
          maxItems: 1000
          description: >-
            Camera poses from an ARKit session. They don't skip SfM: GLOMAP
            still solves the camera poses from the images. The poses set the
            scene's up direction from ARKit gravity (at least 30 frames or
            photos must pair with a pose) and, for a video, which frames are
            extracted: up to 150, at the pose timestamps.
        lidar_points:
          type: array
          items:
            type: array
            items:
              type: number
            minItems: 3
            maxItems: 6
          maxItems: 50000
          description: >-
            LiDAR point cloud from ARKit ARMeshAnchor. Each entry is [x, y, z]
            or [x, y, z, r, g, b]. Max 50K points.
      additionalProperties: false
    ProcessSceneResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            status:
              type: string
              description: >-
                Always `processing`: the launch was accepted. Poll `GET
                /v1/scenes/{id}` for the stored status.
              example: processing
            scene_id:
              type: string
              description: The scene launched.
              example: a1b2c3d4e5f6
            id:
              type: string
              description: Same as `scene_id`.
              example: a1b2c3d4e5f6
            sceneId:
              type: string
              description: Same as `scene_id`. Kept for older clients.
              example: a1b2c3d4e5f6
              deprecated: true
            message:
              type: string
          required:
            - status
            - scene_id
            - id
            - sceneId
            - message
        meta:
          type: object
          properties:
            request_id:
              type: string
              format: uuid
          required:
            - request_id
      required:
        - data
        - meta
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code. One of: `invalid_input`,
                `invalid_grant`, `source_missing`, `unauthorized`,
                `insufficient_credits`, `forbidden`, `insufficient_scope`,
                `not_found`, `conflict`, `retry_blocked`, `payload_too_large`,
                `source_unusable`, `quota_exceeded`, `queue_full`,
                `rate_limited`, `internal_error`, `upstream_error`,
                `service_unavailable`. More may be added, so treat an unknown
                code by its HTTP status.
              example: not_found
            message:
              type: string
              example: Scene not found.
            details:
              type: array
              items:
                type: object
                additionalProperties: {}
              description: >-
                Structured detail, absent on most errors. A request that fails
                validation (400 `invalid_input`) lists one `{field, message}`
                per problem. A parameter outside the tier's range (422) lists
                `{field, value, allowed, tier, hint}`; `source_unusable` names
                the rule that failed.
              example:
                - field: iterations
                  value: 15000
                  allowed:
                    min: 3000
                    max: 10000
                  tier: standard
                  hint: iterations=15000 requires the quality tier or higher.
          required:
            - code
            - message
        meta:
          type: object
          properties:
            request_id:
              type: string
              format: uuid
              example: 550e8400-e29b-41d4-a716-446655440000
            period:
              type: string
              description: '`quota_exceeded`: the month whose quota is used up.'
              example: 2026-10
            limit:
              type: integer
              description: >-
                `quota_exceeded`: the monthly limit. `queue_full`: how many
                scenes may process at once. `rate_limited`: the requests a
                minute the limit that refused allows.
              example: 100
            field:
              type: string
              description: >-
                `quota_exceeded`: the quota used up, `scenes_created` or
                `scenes_processed`.
              example: scenes_created
            current:
              type: integer
              description: '`queue_full`: how many of your scenes are processing now.'
              example: 2
          required:
            - request_id
      required:
        - error
        - meta
    ArkitPose:
      type: object
      properties:
        timestamp:
          type: number
          description: Capture timestamp in seconds
          example: 1.234
        file_path:
          type: string
          description: >-
            Path of the image in the uploaded zip; the file name alone works
            when it is unique
          example: IMG_0001.jpg
        transform:
          type: array
          items:
            type: number
          description: >-
            4x4 camera-to-world matrix, column-major (ARKit simd_float4x4
            layout), in a gravity-aligned world with +Y up (ARKit worldAlignment
            .gravity or .gravityAndHeading). Scene orientation is taken from it.
          example:
            - 1
            - 0
            - 0
            - 0
            - 0
            - 1
            - 0
            - 0
            - 0
            - 0
            - 1
            - 0
            - 0
            - 0
            - 0
            - 1
        intrinsics:
          type: array
          items:
            type: number
          description: 3x3 camera intrinsics matrix, row-major [fx,0,cx, 0,fy,cy, 0,0,1]
          example:
            - 1674
            - 0
            - 960
            - 0
            - 1674
            - 720
            - 0
            - 0
            - 1
        width:
          type: integer
          exclusiveMinimum: 0
          example: 1920
        height:
          type: integer
          exclusiveMinimum: 0
          example: 1440
      required:
        - timestamp
        - file_path
        - transform
        - intrinsics
        - width
        - height
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key in format: s3d_...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.