Download the PHP package renderingvideo/sdk without Composer
On this page you can find all versions of the php package renderingvideo/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download renderingvideo/sdk
More information about renderingvideo/sdk
Files in renderingvideo/sdk
Package sdk
Short Description Official PHP SDK for RenderingVideo API - Video rendering and generation service
License MIT
Informations about the package sdk
RenderingVideo PHP SDK
Official PHP SDK for the RenderingVideo API - a powerful video rendering and generation service.
API updates in 1.1.1
Use your own sk-... API key from Settings → API Keys. This public SDK accesses resources owned by that account. Administrator Agent Access is internal and is not part of this SDK.
Requires PHP 8.1+.
Task creation accepts title, category, and metadata. Listing defaults to category api; category=all includes website tasks owned by the same account. Preview conversion and rendering preserve metadata. Render quality follows schema dimensions. See API reference.
Release 1.1.1 removes the administrator authentication and context/audit clients mistakenly included in 1.1.0. Ordinary user API-key calls and the enhanced video APIs remain supported.
Cross-language integration checks run from the website checkout with RENDERINGVIDEO_SDK_ROOT=/absolute/path/to/renderingvideo-clients pnpm exec tsx --test scripts/sdk-contract.test.ts. They use local HTTP fixtures without production credentials or paid renders.
Installation
Install via Composer:
Quick Start
Authentication
Get your API key from Settings > API Keys.
Usage
Video Tasks
Create a Video Task
List Video Tasks
Get Task Details
Trigger Rendering
Wait for Completion
Delete a Task
File Uploads
Upload Files
Upload from Content
List Files
Delete a File
Preview Links
Create a Preview
Get Preview Config
Convert Preview to Permanent Task
Convert and Render Immediately
Delete Preview
Credits
Check Balance
Calculate Cost
Check Affordability
Error Handling
Error Codes
| Code | Exception | Description |
|---|---|---|
MISSING_API_KEY |
AuthenticationException | No API key provided |
INVALID_API_KEY |
AuthenticationException | Invalid or revoked API key |
INSUFFICIENT_CREDITS |
InsufficientCreditsException | Not enough credits |
NOT_FOUND |
NotFoundException | Resource not found |
INVALID_CONFIG |
ValidationException | Invalid video configuration |
ALREADY_RENDERING |
ValidationException | Task is already rendering |
Webhook Notifications
When rendering completes or fails, the webhook URL receives a POST request:
Credit Calculation
Credits are calculated as:
| Quality | Short Edge | Multiplier |
|---|---|---|
| 720p | ≥720px | 1.0 |
| 1080p | ≥1080px | 1.5 |
| 2K | ≥1440px | 2.0 |
Development
Run Tests
Code Style
License
MIT License. See LICENSE for details.
Support
- Documentation: https://renderingvideo.com/docs
- API Reference: https://renderingvideo.com/docs/api-reference
- Support: [email protected]
All versions of sdk with dependencies
guzzlehttp/guzzle Version ^7.5
psr/http-client-implementation Version ^1.0