Skip to main content

Prism API

Prism is a prompt-to-video generation platform. The API lets you programmatically discover video templates, generate videos with custom inputs, and poll for results — so you can build integrations that produce videos at scale.

What you can do

Create Character

Create private reusable characters from local uploads or public image URLs.

List Characters

Discover public characters by name and description for reuse in your flows.

Browse Templates

List all available video templates with their categories and input requirements.

Get Template Details

Fetch a single template to inspect its variables and prompt structure.

Generate Video

Submit a generation request with your variable values and receive a video.

Check Status

Poll generation status and download the completed video.

How it works

  1. Create an API key in your Prism dashboard.
  2. List templates to discover available video formats and their input variables.
  3. Optionally create characters from local files or image URLs.
  4. List characters and map character IDs to image variable keys using character_variables for ingredients templates.
  5. Generate a video by POSTing variable values to a template’s generate endpoint.
  6. Poll for status (using latency_estimate_sec as a guide) or provide a webhook_url to receive a callback when the video is ready.
  7. Download the video from the presigned URL in the response.

Template structure

Each template defines:
  • Input variables — text, image, or video inputs that customize the generated video.
  • Prompt template — a text template with {{variable_key}} tokens that get replaced with your values.
  • Duration — the target video length in seconds.
  • Category — a grouping like “beauty”, “tech”, “food”, etc.

Base URL

All API requests use the following base URL:
https://prismvideos.com/api