Cloudinary AI Video Analysis API

Generate a visual transcription of a video and poll the analysis job.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /ai_video_analysis Submit a video for AI visual analysis · Create an AI Video Analysis job #
Ask an LLM
“How do I get a visual transcript of a stored video?”
“Can I guide the AI transcript with a prompt?”
Tell an agent
Submit video {video_asset_id} for AI visual analysis.
Analyze {video_asset_id} with the prompt {visual_transcription_prompt}.
GET /ai_video_analysis/{jobId} Check an AI video analysis job · Poll an AI Video Analysis job #
Ask an LLM
“Has my AI video analysis finished?”
“Where do I get the transcript once the job completes?”
Tell an agent
Check the status of AI video analysis job {jobId}.
Poll video analysis job {jobId} until it completes.
POST /v2/video/{cloud_name}/ai_video_analysis Submit a video for AI analysis in a cloud · Create an AI Video Analysis job #
Ask an LLM
“Can I submit a video for AI analysis using the v2 API?”
“What cloud name do I need to pass for a video analysis job?”
Tell an agent
Submit video {video_asset_id} for AI analysis in cloud {cloud_name}.
Analyze {video_asset_id} in {cloud_name} with prompt {visual_transcription_prompt}.
GET /v2/video/{cloud_name}/ai_video_analysis/{jobId} Check an AI video analysis job in a cloud · Poll an AI Video Analysis job #
Ask an LLM
“Can I poll a video analysis job through the v2 API?”
“Where is the transcript delivered once a cloud video analysis completes?”
Tell an agent
Check video analysis job {jobId} in cloud {cloud_name}.
Poll video analysis job {jobId} in {cloud_name} until it finishes.

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/cloudinary:cloudinary-ai-video-analysis-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

cloudinary-ai-video-analysis-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary AI Video Analysis API
  version: 0.1.1
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  x-cld-module-context: cloud
  x-refined-note:
  - x-cld-module-name differs across the merged source definitions and was not carried
  description: 'Operations tagged AI Video Analysis across 3 of this provider''s published API definitions: cloudinary-ai-video-analysis-schema.yml, cloudinary-ai-video-analysis-openapi.yml, cloudinary-video-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.cloudinary.com/v2/video/{cloudName}
  variables:
    cloudName:
      default: CLOUD_NAME
      description: The cloud name for your product environment.
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
tags:
- name: AI Video Analysis
  description: Generate a visual transcription of a video and poll the analysis job.
paths:
  /ai_video_analysis:
    post:
      tags:
      - AI Video Analysis
      summary: Create an AI Video Analysis job
      description: Submits a stored video asset for visual analysis and returns a job you can poll for the result.
      operationId: createAIVideoAnalysisJob
      x-cld-use-for-readme: true
      requestBody:
        required: true
        description: A JSON object with the video asset to analyze and optional analysis options.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AIVideoAnalysisPayload'
            example:
              video_asset_id: 2fb8263411604d13a5d33e7623edc750
              visual_transcription_prompt: focus on describing colors
      responses:
        '201':
          description: AI Video Analysis job created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIVideoAnalysisWrappedResponse'
              example:
                request_id: 6ec0bd7f11c043da975e2a8ad9ebae0b
                data:
                  job_id: 550e8400e29b41d4a716446655440000
                  status: pending
        '400':
          description: Bad request - validation or safety error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
      security:
      - basicAuth: []
    servers:
    - url: https://api.cloudinary.com/v2/video/{cloudName}
      variables:
        cloudName:
          default: CLOUD_NAME
          description: The cloud name for your product environment.
  /ai_video_analysis/{jobId}:
    parameters:
    - in: path
      name: jobId
      schema:
        type: string
      required: true
      description: The AI Video Analysis job ID returned from the create endpoint.
    get:
      tags:
      - AI Video Analysis
      summary: Poll an AI Video Analysis job
      description: Returns the current status of an analysis job. When the status is `completed`, the response includes the generated visual transcript file's asset details and delivery URL.
      operationId: getAIVideoAnalysisJobStatus
      responses:
        '200':
          description: Job status (pending, completed, or failed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIVideoAnalysisWrappedResponse'
              example:
                request_id: 6ec0bd7f11c043da975e2a8ad9ebae0b
                data:
                  job_id: 550e8400e29b41d4a716446655440000
                  status: completed
                  visual_transcription:
                    asset_id: 9f8e7d6c5b4a30291807a6b5c4d3e2f1
                    public_id: samples/sea-turtle.visual.transcript
                    resource_type: raw
                    delivery_type: upload
                    url: https://res.cloudinary.com/demo/raw/upload/v1/samples/sea-turtle.visual.transcript
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse'
      security:
      - basicAuth: []
    servers:
    - url: https://api.cloudinary.com/v2/video/{cloudName}
      variables:
        cloudName:
          default: CLOUD_NAME
          description: The cloud name for your product environment.
  /v2/video/{cloud_name}/ai_video_analysis:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    post:
      x-speakeasy-mcp:
        name: analyze-video
        title: Analyze Video
      tags:
      - AI Video Analysis
      summary: Create an AI Video Analysis job
      description: Submits a stored video asset for visual analysis and returns a job you can poll for the result.
      operationId: postV2VideoByCloudNameAiVideoAnalysis
      x-cld-use-for-readme: true
      requestBody:
        description: A JSON object with the video asset to analyze and optional analysis options.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AIVideoAnalysisPayload'
            example:
              video_asset_id: 2fb8263411604d13a5d33e7623edc750
              visual_transcription_prompt: focus on describing colors
      responses:
        '201':
          description: AI Video Analysis job created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIVideoAnalysisWrappedResponse_2'
              example:
                request_id: 6ec0bd7f11c043da975e2a8ad9ebae0b
                data:
                  job_id: 550e8400e29b41d4a716446655440000
                  status: pending
        '400':
          description: Bad request - validation or safety error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
      security:
      - basicAuth: []
      - oauth2:
        - video
      x-operation-id-source: normalized
      x-operation-id-original: createAIVideoAnalysisJob
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v2/video/{cloud_name}/ai_video_analysis/{jobId}:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    - in: path
      name: jobId
      schema:
        type: string
      required: true
      description: The AI Video Analysis job ID returned from the create endpoint.
    get:
      x-speakeasy-mcp:
        name: get-video-analysis-job
        title: Get Video Analysis Job
      tags:
      - AI Video Analysis
      summary: Poll an AI Video Analysis job
      description: Returns the current status of an analysis job. When the status is `completed`, the response includes the generated visual transcript file's asset details and delivery URL.
      operationId: getV2VideoByCloudNameAiVideoAnalysisByJobId
      responses:
        '200':
          description: Job status (pending, completed, or failed)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AIVideoAnalysisWrappedResponse_2'
              example:
                request_id: 6ec0bd7f11c043da975e2a8ad9ebae0b
                data:
                  job_id: 550e8400e29b41d4a716446655440000
                  status: completed
                  visual_transcription:
                    asset_id: 9f8e7d6c5b4a30291807a6b5c4d3e2f1
                    public_id: samples/sea-turtle.visual.transcript
                    resource_type: raw
                    delivery_type: upload
                    url: https://res.cloudinary.com/demo/raw/upload/v1/samples/sea-turtle.visual.transcript
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
        '403':
          description: Authorization error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWrappedResponse_2'
      security:
      - basicAuth: []
      - oauth2:
        - video
      x-operation-id-source: normalized
      x-operation-id-original: getAIVideoAnalysisJobStatus
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  schemas:
    AIVideoAnalysisWrappedResponse:
      type: object
      required:
      - request_id
      - data
      properties:
        request_id:
          type: string
          description: Unique identifier of the API request, useful for support and debugging.
          example: 6ec0bd7f11c043da975e2a8ad9ebae0b
        data:
          $ref: '#/components/schemas/AIVideoAnalysisResponse'
    ErrorWrappedResponse:
      type: object
      required:
      - request_id
      - error
      properties:
        request_id:
          type: string
          description: Unique identifier of the API request, useful for support and debugging.
          example: 6ec0bd7f11c043da975e2a8ad9ebae0b
        error:
          type: object
          description: Details of the error that occurred.
          properties:
            message:
              type: string
              description: Human-readable description of the error.
    AIVideoAnalysisVisualTranscription:
      type:
      - object
      - 'null'
      description: Details of the generated visual transcript file, stored as a raw asset in your product environment (present when the status is `completed`).
      properties:
        asset_id:
          type: string
          description: Cloudinary asset ID of the visual transcript file.
        public_id:
          type: string
          description: Cloudinary public ID of the visual transcript file.
        resource_type:
          type: string
          description: Cloudinary resource type of the visual transcript file.
        delivery_type:
          type: string
          description: Cloudinary delivery type of the visual transcript file.
        url:
          type: string
          description: HTTPS URL of the visual transcript file.
    AIVideoAnalysisPayload:
      type: object
      required:
      - video_asset_id
      properties:
        video_asset_id:
          type: string
          description: Cloudinary asset ID of the input video to analyze.
        visual_transcription_prompt:
          type: string
          description: A natural-language instruction that guides the description style or focus, for example `focus on describing colors`. If omitted, a default prompt is used.
    AIVideoAnalysisResponse:
      type: object
      required:
      - job_id
      - status
      properties:
        job_id:
          type: string
          description: Unique identifier of the analysis job, used to poll for the result.
          example: 550e8400e29b41d4a716446655440000
        status:
          type: string
          enum:
          - pending
          - completed
          - failed
          description: Current status of the analysis job.
          example: pending
        visual_transcription:
          $ref: '#/components/schemas/AIVideoAnalysisVisualTranscription'
        message:
          type: string
          description: Error message when the analysis has failed.
    MessageWrappedResponseData:
      type: object
      description: An object carrying a human-readable message.
      properties:
        message:
          type: string
          description: A human-readable message.
    AIVideoAnalysisWrappedResponse_2:
      type: object
      required:
      - request_id
      - data
      properties:
        request_id:
          type: string
          description: A unique id for the request, useful when contacting support.
          example: 6ec0bd7f11c043da975e2a8ad9ebae0b
        data:
          $ref: '#/components/schemas/AIVideoAnalysisResponse'
    ErrorWrappedResponse_2:
      type: object
      description: A response envelope returned when a request fails.
      required:
      - request_id
      - error
      properties:
        request_id:
          type: string
          description: A unique id for the request, useful when contacting support.
          example: 6ec0bd7f11c043da975e2a8ad9ebae0b
        error:
          $ref: '#/components/schemas/MessageWrappedResponseData'
  parameters:
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name for your product environment.
      example: my_cloud
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using your Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            video: Use Video APIs
x-refined-from:
- cloudinary-ai-video-analysis-schema.yml
- cloudinary-ai-video-analysis-openapi.yml
- cloudinary-video-openapi.yml