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

# Create Upload Project



## OpenAPI

````yaml /openapi.json post /v1/projects/upload
openapi: 3.1.0
info:
  title: NanoClip Public API
  version: 0.1.0
  description: >-
    Upload video or audio and extract transcript, speaker, face, scene, and
    retake intelligence.
servers:
  - url: https://api.nanoclip.ai
security: []
paths:
  /v1/projects/upload:
    post:
      summary: Create Upload Project
      operationId: create_upload_project_v1_projects_upload_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UploadProjectRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadProjectResponse'
        '413':
          description: Upload exceeds the maximum file size
        '415':
          description: Unsupported upload content type
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    UploadProjectRequest:
      properties:
        filename:
          type: string
          maxLength: 255
          minLength: 1
          title: Filename
        content_type:
          type: string
          maxLength: 255
          minLength: 1
          title: Content Type
          description: >-
            MIME type of the upload. Accepted: video/mp4, video/quicktime,
            video/webm, audio/mpeg, audio/mp4, audio/x-m4a, audio/aac,
            audio/wav, audio/x-wav, audio/flac, audio/x-flac, audio/ogg,
            audio/webm. Unsupported types return 415. Audio sources are
            transcript-only (vision and retake-removal return 422).
        size_bytes:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Size Bytes
      type: object
      required:
        - filename
        - content_type
      title: UploadProjectRequest
    UploadProjectResponse:
      properties:
        project_id:
          type: string
          title: Project Id
        status:
          $ref: '#/components/schemas/ProjectStatus'
        created_at:
          type: string
          title: Created At
        source:
          $ref: '#/components/schemas/ProjectSourceResponse'
        upload_url:
          type: string
          title: Upload Url
        upload_headers:
          additionalProperties:
            type: string
          type: object
          title: Upload Headers
        upload_expires_in_seconds:
          type: integer
          title: Upload Expires In Seconds
      type: object
      required:
        - project_id
        - status
        - created_at
        - source
        - upload_url
        - upload_headers
        - upload_expires_in_seconds
      title: UploadProjectResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProjectStatus:
      type: string
      enum:
        - created
        - uploading
        - ready
        - failed
      title: ProjectStatus
      description: |-
        Public project lifecycle: creation → upload → analyzable (or failed).

        One of three distinct status vocabularies on the /v1 wire (REE-75) —
        project lifecycle, command dispatch, and analysis result are different
        state machines and are declared as different enums on purpose.
    ProjectSourceResponse:
      properties:
        type:
          type: string
          title: Type
        filename:
          anyOf:
            - type: string
            - type: 'null'
          title: Filename
        content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Type
        media_kind:
          anyOf:
            - type: string
            - type: 'null'
          title: Media Kind
        size_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Size Bytes
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
      type: object
      required:
        - type
      title: ProjectSourceResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````