> ## 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 Vision



## OpenAPI

````yaml /openapi.json post /v1/projects/{project_id}/vision
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/{project_id}/vision:
    post:
      summary: Create Vision
      operationId: create_vision_v1_projects__project_id__vision_post
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FaceDetectionRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VisionCommandResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    FaceDetectionRequest:
      properties:
        requested_outputs:
          items:
            type: string
            enum:
              - faces
              - face_tracks
              - scenes
          type: array
          title: Requested Outputs
      type: object
      title: FaceDetectionRequest
    VisionCommandResponse:
      properties:
        project_id:
          type: string
          title: Project Id
        analysis:
          type: string
          const: vision
          title: Analysis
        status:
          $ref: '#/components/schemas/AnalysisCommandStatus'
        requested_outputs:
          items:
            type: string
            enum:
              - faces
              - face_tracks
              - scenes
          type: array
          title: Requested Outputs
        created_at:
          type: string
          title: Created At
      type: object
      required:
        - project_id
        - analysis
        - status
        - requested_outputs
        - created_at
      title: VisionCommandResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AnalysisCommandStatus:
      type: string
      enum:
        - queued
        - processing
        - completed
      title: AnalysisCommandStatus
      description: |-
        202 dispatch acknowledgment for an analysis command.

        ``failed`` is deliberately absent: a failed command never reaches this
        wire — the POST either re-dispatches (idempotent retry) or raises 503
        (see _existing_command_response's gate).
    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

````