A Video API for AI Apps, Automation, and SaaS Products

Use one REST API to generate product videos, social clips, personalized outputs, and agent-driven videos through schemas, previews, formal tasks, rendering, files, and webhooks.

Quick Start

Go from schema to preview, task, render, and webhook in a few minutes.

1. Get API Key
Create an API key for server-side use from your dashboard.
2. Submit a Schema
Create a temporary preview or a formal task so video generation enters a trackable workflow.
3. Receive Results
Trigger rendering and receive final output via status polling or webhooks.

Recommended flow: preview or create task -> render -> poll status / receive webhook

Code Examples

The examples below show the standard path for production-style integration. Typical use cases include marketing videos, product videos, AI agent outputs, and repeatable content workflows.

curl -X POST 'https://renderingvideo.com/api/v1/video' \
  -H 'Authorization: Bearer sk-your-api-key' \
  -H 'Content-Type: application/json' \
  -d '{
    "config": {
      "meta": {
        "version": "2.0.0",
        "width": 1920,
        "height": 1080,
        "fps": 30,
        "background": "#000000"
      },
      "tracks": [
        {
          "clips": [
            {
              "type": "text",
              "text": "Hello World",
              "start": 0,
              "duration": 5
            }
          ]
        }
      ]
    }
  }'

curl -X POST 'https://renderingvideo.com/api/v1/video/<taskId>/render' \
  -H 'Authorization: Bearer sk-your-api-key' \
  -H 'Content-Type: application/json' \
  -d '{
    "webhook_url": "https://your-server.com/renderingvideo-webhook",
    "num_workers": 5
  }'

Core APIs

Key interfaces for previews, tasks, rendering, files, and usage-based credits across product and automation workflows.

POST
/api/v1/video
Create a formal task

Create a trackable formal task from a schema without starting rendering immediately.

GET
/api/v1/video
List formal tasks

Read your account task list with pagination for dashboards and backend sync flows.

GET
/api/v1/video/:taskId
Read task details

Return dimensions, duration, status, output URLs, metadata, and key timestamps for a task.

DELETE
/api/v1/video/:taskId
Delete a formal task

Delete local task records and attempt cleanup on the upstream rendering service.

POST
/api/v1/video/:taskId/render
Trigger formal rendering

Send an existing task into rendering. Supports num_workers and webhook_url.

POST
/api/v1/upload
Upload assets

Upload image, video, and audio files for reuse across preview and render workflows.

GET
/api/v1/files
List assets

Browse the file library with pagination and type filters for image, video, and audio.

DELETE
/api/v1/files/:fileId
Delete an asset

Remove asset records and their stored objects to keep the library clean.

GET
/api/v1/credits
Check available credits

Read your remaining credit balance before triggering formal rendering.

POST
/api/v1/preview
Create a temporary preview

Generate preview links without consuming formal render credits. Preview links expire after 7 days by default.

GET
/api/v1/preview/:tempId
Read preview config

Inspect the schema currently stored behind a temporary preview link.

DELETE
/api/v1/preview/:tempId
Delete preview link

Remove temporary previews before they expire.

POST
/api/v1/preview/:tempId/convert
Convert preview to task

Clone a validated preview into a formal task without rendering yet.

POST
/api/v1/preview/:tempId/render
Convert preview and render

Turn a preview directly into a formal task and send it into rendering immediately.

Webhook Notifications
Built to send render results back into your own systems.

When you pass webhook_url on a render request, RenderingVideo sends a POST request to your endpoint when the task completes or fails. This fits database updates, product callbacks, or agent follow-up actions. Current events are completed and failed.

{
  "taskId": "abc123def456",
  "renderTaskId": "rt_002",
  "status": "completed",
  "videoUrl": "https://storage.../videos/abc123.mp4",
  "error": null,
  "timestamp": "2026-03-23T10:00:00.000Z"
}

Integration Tools

Use SDKs to plug RenderingVideo into existing services faster.

Node.js SDK
npm install @renderingvideo/sdk
import { RenderingVideo } from '@renderingvideo/sdk';

const client = new RenderingVideo({ apiKey: 'sk-xxx' });
const task = await client.video.create({
  meta: {
    version: '2.0.0',
    width: 1920,
    height: 1080,
    fps: 30,
    background: '#000000',
  },
  tracks: [...],
});
const render = await client.video.render(task.taskId, {
  webhook_url: 'https://your-server.com/renderingvideo-webhook',
});
console.log(render.status);
View on GitHub
Python SDK
pip install renderingvideo
from renderingvideo import Client

client = Client(api_key="sk-xxx")
task = client.video.create({
    "meta": {
        "version": "2.0.0",
        "width": 1920,
        "height": 1080,
        "fps": 30,
        "background": "#000000"
    },
    "tracks": [...]
})

render = client.video.render(
    task.task_id,
    webhook_url="https://your-server.com/renderingvideo-webhook"
)
print(render.status)
View on GitHub
PHP SDK
composer require renderingvideo/php-sdk
use RenderingVideo\Client;

$client = new Client('sk-xxx');
$task = $client->video->create([
    'meta' => [
        'version' => '2.0.0',
        'width' => 1920,
        'height' => 1080,
        'fps' => 30,
        'background' => '#000000'
    ],
    'tracks' => [...]
]);

$render = $client->video->render(
    $task->task_id,
    ['webhook_url' => 'https://your-server.com/webhook']
);
echo $render->status;
View on GitHub

Authentication

All server-side API requests require an API key.

Supported Authentication Methods

Authorization Header (Recommended)

Authorization: Bearer sk-your-api-key

Authorization: Token

Authorization: Token sk-your-api-key

X-API-Key Header

X-API-Key: sk-your-api-key

Query Parameter (debug only, not for production)

?api_key=sk-your-api-key

Security note: API keys should live on your server only. Never expose them in client code, browser bundles, or public repos.

Ready to Ship Video Generation in Your Product?

Plug previews, formal tasks, rendering, and result callbacks into your AI app, SaaS product, or automation workflow.