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

# Create a project

> Start a new video project from a prompt. Pass export_formats (for example ["mp4"]) to render automatically once the generation finishes.



## OpenAPI

````yaml /openapi.json post /projects
openapi: 3.1.0
info:
  title: Motion
  version: '2026-11-19'
  description: >-
    Create and edit Motion video projects from prompts, export MP4s and editor
    packages (Premiere, After Effects, Resolve, Final Cut), and manage
    templates, brand kits, library uploads, connectors, automations, and social
    posts.
servers:
  - url: https://api.motion.so/api/motion
security:
  - MotionApiKey: []
tags:
  - name: Projects
  - name: Exports
  - name: Library
  - name: Templates
  - name: Brand kits
  - name: Connectors
    description: Connect services and control the actions a project may use.
  - name: Automations
  - name: Social posting
paths:
  /projects:
    post:
      tags:
        - Projects
      summary: Create a project
      description: >-
        Start a new video project from a prompt. Pass export_formats (for
        example ["mp4"]) to render automatically once the generation finishes.
      operationId: CreateAProject
      parameters:
        - in: header
          name: Idempotency-Key
          required: false
          description: >-
            Optional UUID for identical REST retries. Reuse the same key and
            body after a lost response.
          schema:
            type: string
            format: uuid
        - $ref: '#/components/parameters/MotionApiVersion'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMotionProjectRequest'
            example:
              prompt: >-
                Create a 15-second 16:9 product launch video and matching
                thumbnail.
              template_ids:
                - user-film-template
                - user-image-template
              brand_kit_ids:
                - e22e5549-dac7-4ce0-acba-b924804f2cbe
                - 97725341-f2a3-4f12-9425-01fcf9febcdc
      responses:
        '202':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MotionCreateProjectResponse'
              example:
                project_id: 4f20dcdd-f63b-4898-97d6-2e05c0d37c78
                chat_url: >-
                  https://motion.so/agent?chat=4f20dcdd-f63b-4898-97d6-2e05c0d37c78
                status: queued
                message_id: e8c3af4c-4f37-46b7-8b0d-53b09a67d6cb
                turn_id: e8c3af4c-4f37-46b7-8b0d-53b09a67d6cb
        '400':
          description: Invalid request payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Credential invalid or revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Insufficient credits or workspace spending limit reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Missing scope, role, resource access or entitlement
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Idempotency key conflict or stale state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - MotionApiKey: []
        - MotionOAuth:
            - motion:projects:write
components:
  parameters:
    MotionApiVersion:
      name: Motion-API-Version
      in: header
      required: false
      description: >-
        Optional API version override for this request. When omitted, Motion
        uses the API version pinned to your API key or OAuth connection.
      schema:
        type: string
        enum:
          - '2026-11-19'
        default: '2026-11-19'
  schemas:
    CreateMotionProjectRequest:
      type: object
      properties:
        prompt:
          type: string
          minLength: 1
          maxLength: 12000
          description: >-
            Describe the video or images to create or edit. Include source links
            and creative requirements.
        effort:
          description: >-
            Choose standard or extended. Fixed for the project; defaults to
            standard.
          type: string
          enum:
            - standard
            - extended
        fast_mode:
          type: boolean
          default: false
          description: >-
            Enable Fast mode for faster generation (requires Pro or above).
            Defaults to false; can be toggled on or off between turns.
        attachments:
          description: Uploaded Library assets to use. Put web links in the prompt.
          maxItems: 100
          type: array
          items:
            type: object
            properties:
              asset_id:
                type: string
                format: uuid
                description: Uploaded asset ID from the Library.
            required:
              - asset_id
            additionalProperties: false
        template_ids:
          description: Template IDs from List templates to use with this message.
          maxItems: 8
          type: array
          items:
            type: string
            description: >-
              Template ID from List templates. Letters, numbers, underscores and
              hyphens; up to 160 characters.
            minLength: 1
            maxLength: 160
        brand_kit_ids:
          description: >-
            Brand-kit IDs to use. Omit to keep the current selection; [] clears
            it.
          maxItems: 8
          type: array
          items:
            type: string
            format: uuid
        connectors:
          description: >-
            Connections to allow for this and later messages. [] disables all;
            omit to keep the current selection. One connection per service.
          maxItems: 18
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                description: Connection ID from List connections.
              actions:
                description: >-
                  Allowed action IDs from the connection. Omit to use its
                  current permissions.
                minItems: 1
                maxItems: 16
                type: array
                items:
                  type: string
                  enum:
                    - repositories
                    - code
                    - issues
                    - history
                    - pages
                    - comments
                    - create_pages
                    - edit_pages
                    - add_comments
                    - files
                    - downloads
                    - uploads
                    - folders
                    - search
                    - deletes
                    - posts
                    - prepare
                    - discard
            required:
              - id
            additionalProperties: false
        export_formats:
          description: >-
            Automatically export finished videos or images in these formats. You
            can also export later.
          maxItems: 10
          type: array
          items:
            type: string
            enum:
              - mp4
              - png
              - jpeg
              - media
              - premiere
              - after-effects
              - resolve
              - final-cut
              - psd
              - svg
      required:
        - prompt
      additionalProperties: false
    MotionCreateProjectResponse:
      type: object
      properties:
        project_id:
          type: string
          format: uuid
          description: Project to read or continue.
        message_id:
          type: string
          format: uuid
          description: The accepted message.
        turn_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          description: The turn handling this message.
        chat_url:
          type: string
          format: uri
          description: Open this project in Motion.
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
            - cancelled
            - awaiting_user_input
            - awaiting_credits
          description: Current project status.
      required:
        - project_id
        - message_id
        - turn_id
        - chat_url
        - status
      additionalProperties: false
    ErrorResponse:
      type: object
      description: Standard JSON error response.
      anyOf:
        - required:
            - error
        - required:
            - detail
      properties:
        error:
          type: string
          description: Error code or readable explanation.
        detail:
          type: string
          description: Readable explanation from the service.
        message:
          type: string
          description: Readable explanation accompanying an error code.
        error_description:
          type: string
          description: Authentication or permission explanation.
        required_scope:
          type: string
          description: Permission required by this operation.
        details:
          type: array
          description: Invalid request fields. Each issue includes a path and message.
          items:
            type: object
            properties:
              code:
                type: string
              path:
                type: array
                items:
                  oneOf:
                    - type: string
                    - type: integer
              message:
                type: string
        issues:
          type: array
          description: Service validation issues.
          items:
            type: object
  securitySchemes:
    MotionApiKey:
      type: http
      scheme: bearer
      description: >-
        A Motion API key. Access is limited to its stored organization,
        workspace, scopes and the creator’s current permissions.
    MotionOAuth:
      type: oauth2
      description: OAuth 2.1 bearer token issued by Motion (https://mcp.motion.so/mcp).
      flows:
        authorizationCode:
          authorizationUrl: https://mcp.motion.so/oauth/authorize
          tokenUrl: https://mcp.motion.so/oauth/token
          scopes:
            motion:automations:read: Read automation definitions, capabilities, runs, and analytics.
            motion:automations:write: Create, edit, delete, invoke, and retry automations.
            motion:connectors:read: Read available services, connected accounts, and allowed actions.
            motion:connectors:write: Connect and disconnect workspace services.
            motion:templates:read: Read and preview accessible templates.
            motion:templates:write: Create, edit, share, and archive prompt templates.
            motion:assets:read: Find and read permitted media library assets.
            motion:brand-kits:read: Read permitted brand kits.
            motion:brand-kits:write: Create, update, and delete brand kits.
            motion:social:read: Read authorized social accounts and posts.
            motion:social:write: Draft, submit, approve, and cancel social posts.
            motion:projects:read: Read projects, generations and exports.
            motion:projects:write: >-
              Create and edit projects, send messages and request exports. Uses
              workspace credits.
            motion:assets:write: Create and complete reusable media library uploads.

````

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