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.
openapi: 3.2.0
info:
title: Prizmad Upload 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: Upload
paths:
/api/v1/upload:
post:
operationId: uploadFiles
summary: Upload product images
description: Upload product images to use in video generation. Returns an array of hosted URLs that can be passed to `product.images` in POST /api/v1/videos. Max 10 files, 20 MB each.
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
files:
type: array
items:
type: string
format: binary
description: Image files (JPG, PNG, WebP, AVIF)
required:
- files
responses:
'200':
description: Upload successful
content:
application/json:
schema:
$ref: '#/components/schemas/UploadResponse'
example:
urls:
- https://rqc9qnbavbhegeml.public.blob.vercel-storage.com/api/abc/1.png
- https://rqc9qnbavbhegeml.public.blob.vercel-storage.com/api/abc/2.png
'400':
description: No files, wrong format, or file too large
'401':
description: Missing or invalid API key
'429':
description: Rate limit exceeded
tags:
- Upload
components:
schemas:
UploadResponse:
type: object
description: Response from POST /api/v1/upload.
properties:
urls:
type: array
items:
type: string
format: uri
description: Hosted image URLs to pass to product.images in /api/v1/videos.
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