AnimGen AI Uploads API

The Uploads API from AnimGen AI — 6 operation(s) for uploads.

Operations 6

POST /api/uploads Create Upload #
POST /api/uploads/direct/prepare Prepare Direct Upload #
POST /api/uploads/direct/complete Complete Direct Upload #
GET /api/uploads/{upload_id}/download Download Upload #
GET /api/uploads/{upload_id}/thumbnail Download Upload Thumbnail #
DELETE /api/uploads/{upload_id} Delete Upload #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/animgen-com:animgen-com-uploads-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

animgen-com-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AIAnimGenBackend Uploads API
  version: 0.2.0
tags:
- name: Uploads
paths:
  /api/uploads:
    post:
      summary: Create Upload
      operationId: create_upload_api_uploads_post
      parameters:
      - name: workspaceId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Workspaceid
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_upload_api_uploads_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
  /api/uploads/direct/prepare:
    post:
      summary: Prepare Direct Upload
      operationId: prepare_direct_upload_api_uploads_direct_prepare_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectUploadPrepareRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectUploadPrepareResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
  /api/uploads/direct/complete:
    post:
      summary: Complete Direct Upload
      operationId: complete_direct_upload_api_uploads_direct_complete_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectUploadCompleteRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
  /api/uploads/{upload_id}/download:
    get:
      summary: Download Upload
      operationId: download_upload_api_uploads__upload_id__download_get
      parameters:
      - name: upload_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Upload Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
  /api/uploads/{upload_id}/thumbnail:
    get:
      summary: Download Upload Thumbnail
      operationId: download_upload_thumbnail_api_uploads__upload_id__thumbnail_get
      parameters:
      - name: upload_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Upload Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
  /api/uploads/{upload_id}:
    delete:
      summary: Delete Upload
      operationId: delete_upload_api_uploads__upload_id__delete
      parameters:
      - name: upload_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Upload Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Uploads
components:
  schemas:
    DirectUploadPrepareRequest:
      properties:
        workspaceId:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Workspaceid
        filename:
          type: string
          maxLength: 240
          minLength: 1
          title: Filename
        mimeType:
          type: string
          maxLength: 128
          minLength: 1
          title: Mimetype
        byteSize:
          type: integer
          exclusiveMinimum: 0.0
          title: Bytesize
        kind:
          anyOf:
          - type: string
            enum:
            - uploaded_video
            - uploaded_image
            - uploaded_file
          - type: 'null'
          title: Kind
        temporary:
          type: boolean
          title: Temporary
          default: false
      type: object
      required:
      - filename
      - mimeType
      - byteSize
      title: DirectUploadPrepareRequest
    ResourceOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        resourceType:
          type: string
          enum:
          - asset
          - upload
          title: Resourcetype
        kind:
          type: string
          title: Kind
        displayName:
          anyOf:
          - type: string
          - type: 'null'
          title: Displayname
        sourceType:
          type: string
          title: Sourcetype
        mimeType:
          type: string
          title: Mimetype
        downloadPath:
          type: string
          title: Downloadpath
        thumbnailPath:
          anyOf:
          - type: string
          - type: 'null'
          title: Thumbnailpath
        byteSize:
          type: integer
          title: Bytesize
          default: 0
        workspaceId:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Workspaceid
        jobId:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Jobid
        jobType:
          anyOf:
          - type: string
          - type: 'null'
          title: Jobtype
        jobStatus:
          anyOf:
          - type: string
          - type: 'null'
          title: Jobstatus
        createdAt:
          type: string
          title: Createdat
        meta:
          additionalProperties: true
          type: object
          title: Meta
      type: object
      required:
      - id
      - resourceType
      - kind
      - sourceType
      - mimeType
      - downloadPath
      - createdAt
      title: ResourceOut
    DirectUploadPrepareResponse:
      properties:
        uploadId:
          type: string
          format: uuid
          title: Uploadid
        storage:
          type: string
          title: Storage
        objectKey:
          type: string
          title: Objectkey
        uploadUrl:
          type: string
          title: Uploadurl
        method:
          type: string
          const: PUT
          title: Method
          default: PUT
        headers:
          additionalProperties:
            type: string
          type: object
          title: Headers
        expiresAt:
          type: string
          title: Expiresat
        maxBytes:
          type: integer
          title: Maxbytes
      type: object
      required:
      - uploadId
      - storage
      - objectKey
      - uploadUrl
      - expiresAt
      - maxBytes
      title: DirectUploadPrepareResponse
    Body_create_upload_api_uploads_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_create_upload_api_uploads_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VeoImageInfoOut:
      properties:
        width:
          type: integer
          title: Width
        height:
          type: integer
          title: Height
        mode:
          type: string
          title: Mode
        mimeType:
          type: string
          title: Mimetype
        bytes:
          type: integer
          title: Bytes
      type: object
      required:
      - width
      - height
      - mode
      - mimeType
      - bytes
      title: VeoImageInfoOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ForegroundBoundsOut:
      properties:
        x:
          type: integer
          title: X
        y:
          type: integer
          title: Y
        width:
          type: integer
          title: Width
        height:
          type: integer
          title: Height
      type: object
      required:
      - x
      - y
      - width
      - height
      title: ForegroundBoundsOut
    VeoPrepareOut:
      properties:
        aspectRatio:
          type: string
          enum:
          - '16:9'
          - '9:16'
          title: Aspectratio
        transforms:
          items:
            type: string
          type: array
          title: Transforms
        original:
          $ref: '#/components/schemas/VeoImageInfoOut'
        prepared:
          $ref: '#/components/schemas/VeoImageInfoOut'
      type: object
      required:
      - aspectRatio
      - original
      - prepared
      title: VeoPrepareOut
    UploadCreateResponse:
      properties:
        uploadId:
          type: string
          format: uuid
          title: Uploadid
        mimeType:
          type: string
          title: Mimetype
        previewDataUrl:
          type: string
          title: Previewdataurl
        veo:
          $ref: '#/components/schemas/VeoPrepareOut'
        hasAlphaChannel:
          type: boolean
          title: Hasalphachannel
          default: false
        hasMeaningfulAlpha:
          type: boolean
          title: Hasmeaningfulalpha
          default: false
        alphaTransparentRatio:
          type: number
          title: Alphatransparentratio
          default: 0.0
        foregroundBounds:
          anyOf:
          - $ref: '#/components/schemas/ForegroundBoundsOut'
          - type: 'null'
        foregroundTouchesEdge:
          type: boolean
          title: Foregroundtouchesedge
          default: false
        recommendedKeyColor:
          anyOf:
          - type: string
          - type: 'null'
          title: Recommendedkeycolor
      type: object
      required:
      - uploadId
      - mimeType
      - previewDataUrl
      - veo
      title: UploadCreateResponse
    DirectUploadCompleteRequest:
      properties:
        uploadId:
          type: string
          format: uuid
          title: Uploadid
      type: object
      required:
      - uploadId
      title: DirectUploadCompleteRequest
  securitySchemes:
    AnimGenAPIKey:
      type: http
      description: Server-side AnimGen API key using the ag_live_ prefix
      scheme: bearer