> ## Documentation Index
> Fetch the complete documentation index at: https://www.krea.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Export a 3D model

> Export a completed 3D generation job's model to OBJ, FBX, STL, or PLY. Pass the job id and target format. The exported model is returned as a ZIP file.



## OpenAPI

````yaml https://api.krea.ai/openapi.json post /export/3d
openapi: 3.1.0
info:
  title: Krea API
  version: v1
servers:
  - url: https://api.krea.ai
    description: Krea API
security:
  - bearerAuth: []
tags:
  - name: General
    description: Core API operations including job management and billing information
  - name: Krea
    description: Krea-owned generation models including Krea 2
  - name: Assets
    description: >-
      Asset management endpoints for uploading and managing images, videos,
      audio files, and 3D models
  - name: Styles
    description: Style (LoRA) generation and management endpoints
  - name: Node Apps
    description: Executing custom node apps built in our nodes tool
  - name: Image
    description: Image generation endpoints
  - name: Image Enhance
    description: Image enhance endpoints
  - name: Video
    description: Video generation endpoints
  - name: Video Enhance
    description: Video enhance and upscale endpoints
  - name: 3D
    description: 3D model generation and export endpoints
paths:
  /export/3d:
    post:
      tags:
        - 3D
      summary: Export a 3D model
      description: >-
        Export a completed 3D generation job's model to OBJ, FBX, STL, or PLY.
        Pass the job id and target format. The exported model is returned as a
        ZIP file.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                job_id:
                  type: string
                  description: A unique identifier for a job
                  example: c14245f2-3689-4d71-abd8-530a35a1e5af
                file_format:
                  type: string
                  enum:
                    - obj
                    - fbx
                    - stl
                    - ply
                  description: >-
                    Target format for the export. The model is returned as a ZIP
                    file.
                node_app_key:
                  description: >-
                    When the job is a node app, the output key of the 3D model
                    to export (the key under `result.urls`).
                  type: string
              required:
                - job_id
                - file_format
      responses:
        '200':
          description: Exported 3D model URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                    description: URL of the exported 3D model, returned as a ZIP file.
                required:
                  - url
                additionalProperties: false
        '400':
          description: The job is not a 3D generation, or has no model to export.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: The job or its output asset was not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '409':
          description: The job has not completed yet.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '422':
          description: The request body is invalid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '502':
          description: Model conversion failed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      bearerFormat: Bearer
      type: http

````