Prizmad Videos API

The Videos API from Prizmad — 4 operation(s) for videos.

GitHub OpenAPI

Operations 4

POST /api/v1/videos Create a video #
GET /api/v1/videos/{id} Get video status #
GET /api/v1/videos/{id}/download Download video file #
POST /api/v1/videos/batch Create multiple videos #

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/prizmad-com:prizmad-com-videos-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

prizmad-com-videos-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prizmad Videos API
  version: 1.0.0
  description: Create AI-powered video ads programmatically. Pass a template and product data to generate professional video advertisements.
servers:
- url: https://prizmad.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Videos
paths:
  /api/v1/videos:
    post:
      operationId: createVideo
      summary: Create a video
      description: Start generating a video ad. Provide a template ID and product data (either a URL to scrape or direct product info). Returns immediately with a video ID for polling.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateVideoRequest'
            examples:
              with_images:
                summary: Product with uploaded images
                value:
                  templateId: showcase-slideshow
                  product:
                    title: White Insulated Tumbler
                    description: Double-wall vacuum insulated tumbler. Keeps drinks hot 12h, cold 24h. 500ml capacity.
                    price: $24.99
                    images:
                    - https://...blob.../1.png
                    - https://...blob.../2.png
                  duration: 20
              with_url:
                summary: Scrape product from URL
                value:
                  templateId: showcase-narrated
                  productUrl: https://www.amazon.com/dp/B0EXAMPLE
                  language: en
                  tone: professional
      responses:
        '201':
          description: Video generation started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateVideoResponse'
        '400':
          description: Validation error
        '401':
          description: Missing or invalid API key
        '402':
          description: Insufficient token balance
        '429':
          description: Rate limit exceeded (10 req/min)
      tags:
      - Videos
  /api/v1/videos/{id}:
    get:
      operationId: getVideoStatus
      summary: Get video status
      description: Check the status and progress of a video generation. Poll this endpoint until status is 'completed' or 'failed'.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Video ID returned from POST /api/v1/videos
      responses:
        '200':
          description: Video status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoStatus'
        '401':
          description: Missing or invalid API key
        '404':
          description: Video not found or not owned by this key
      tags:
      - Videos
  /api/v1/videos/{id}/download:
    get:
      operationId: downloadVideo
      summary: Download video file
      description: Download the rendered video file directly. Returns the MP4 file with Content-Disposition header for download. Only available after status is 'completed'.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Video file
          content:
            video/mp4:
              schema:
                type: string
                format: binary
        '401':
          description: Missing or invalid API key
        '404':
          description: Video not found
        '409':
          description: Video not ready yet
      tags:
      - Videos
  /api/v1/videos/batch:
    post:
      operationId: createVideoBatch
      summary: Create multiple videos
      description: Launch up to 20 video generations in one request. All videos run in parallel. Pre-checks total token cost before starting. Shared callbackUrl receives webhook for each completed/failed video.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchVideoRequest'
            example:
              videos:
              - templateId: showcase-slideshow
                product:
                  title: Product A
                  description: '...'
                  images:
                  - https://...
              - templateId: showcase-narrated
                product:
                  title: Product B
                  description: '...'
                  images:
                  - https://...
              callbackUrl: https://yourserver.com/webhook
      responses:
        '201':
          description: Batch launched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchVideoResponse'
        '400':
          description: Validation error
        '401':
          description: Missing or invalid API key
        '402':
          description: Insufficient balance for entire batch
      tags:
      - Videos
components:
  schemas:
    BatchVideoResponse:
      type: object
      description: Response from POST /api/v1/videos/batch.
      properties:
        batchSize:
          type: integer
          description: Total items submitted.
        launched:
          type: integer
          description: Items successfully started.
        failed:
          type: integer
          description: Items that failed to launch.
        totalCost:
          type: integer
          description: Total tokens deducted.
        remainingBalance:
          type: integer
        videos:
          type: array
          items:
            type: object
            properties:
              videoId:
                type: string
                format: uuid
              templateId:
                type: string
              cost:
                type: integer
              status:
                type: string
                example: generating
              error:
                type: string
                nullable: true
    BatchVideoRequest:
      type: object
      required:
      - videos
      description: Request body for POST /api/v1/videos/batch.
      properties:
        videos:
          type: array
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/CreateVideoRequest'
          description: List of video creation requests (1–20).
        callbackUrl:
          type: string
          format: uri
          description: Webhook URL — receives a POST for each video completion or failure.
    CreateVideoResponse:
      type: object
      properties:
        videoId:
          type: string
          format: uuid
        status:
          type: string
          example: generating
        cost:
          type: integer
          description: Tokens deducted
        remainingBalance:
          type: integer
        estimatedSeconds:
          type: integer
          description: Estimated generation time
        statusUrl:
          type: string
          description: Relative URL to poll for status
    CreateVideoRequest:
      type: object
      required:
      - templateId
      properties:
        templateId:
          type: string
          description: Template ID from GET /api/v1/templates
        productUrl:
          type: string
          format: uri
          description: URL of the product page to scrape. Either productUrl or product is required.
        product:
          type: object
          description: Direct product data. Either productUrl or product is required.
          required:
          - title
          - description
          properties:
            title:
              type: string
            description:
              type: string
            price:
              type: string
            images:
              type: array
              items:
                type: string
                format: uri
            specs:
              type: object
              additionalProperties:
                type: string
        language:
          type: string
          default: en
          description: Language code (en, es, fr, de, etc.)
        tone:
          type: string
          enum:
          - energetic
          - professional
          - friendly
          - luxury
          - funny
          default: professional
        script:
          type: string
          description: Custom voiceover script. If omitted, AI generates one.
        voiceId:
          type: string
          description: ElevenLabs voice ID. If omitted, uses avatar's recommended voice or auto-selects by language.
        avatarPresetId:
          type: string
          description: Built-in avatar ID (e.g. 'F01', 'M04'). Get list from GET /api/v1/avatars. Auto-sets recommended voice.
        avatarId:
          type: string
          format: uuid
          description: Database avatar preset ID (legacy).
        avatarImageUrl:
          type: string
          format: uri
          description: Direct URL to a custom avatar image.
        duration:
          type: integer
          minimum: 10
          maximum: 60
          default: 30
          description: Video duration in seconds. Ignored for fixed-duration templates.
        imagePromptHint:
          type: string
          description: Style hint for AI-generated product images.
        videoPromptHint:
          type: string
          description: Style hint for AI-generated product video.
        musicTone:
          type: string
          enum:
          - energetic
          - professional
          - friendly
          - luxury
          - funny
        musicPromptHint:
          type: string
          description: Style hint for background music.
        callbackUrl:
          type: string
          format: uri
          description: Webhook URL for completion/failure notifications.
    VideoStatus:
      type: object
      properties:
        videoId:
          type: string
          format: uuid
        status:
          type: string
          enum:
          - parsing
          - parsed
          - scripting
          - script_ready
          - generating
          - compositing
          - completed
          - failed
        progress:
          type: integer
          minimum: 0
          maximum: 100
        videoUrl:
          type: string
          format: uri
          nullable: true
        thumbnailUrl:
          type: string
          format: uri
          nullable: true
        steps:
          type: array
          items:
            type: object
            properties:
              step:
                type: string
              status:
                type: string
                enum:
                - pending
                - running
                - completed
                - failed
        createdAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
          nullable: true
        errorMessage:
          type: string
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Prizmad API key or OAuth 2.0 access token from POST /oauth/token
    oauth2:
      type: oauth2
      description: OAuth 2.0 client_credentials flow. Use your API key as client_secret.
      flows:
        clientCredentials:
          tokenUrl: https://prizmad.com/oauth/token
          scopes:
            videos:read: Read video status and download
            videos:write: Create videos and upload images