Getting Started
Welcome to RevidAPI! This guide will help you get started with our API endpoints.
Authentication
All POST requests require an API key in the header:
x-api-key: YOUR_API_KEY
API Endpoints
TTS API
- Text to Speech —
POST https://api.revidapi.com/paid/text-to-speech - Pricing: 10 credits per 1,000 characters
-
Converts text into natural-sounding speech
-
SRT to Speech —
POST https://api.revidapi.com/paid/srt-to-speech/merge - Pricing: 10 credits per 1,000 characters
-
Converts SRT subtitle files into synchronized speech
-
Get TTS Task Status —
GET https://tts.revidapi.com/api/get/{task_id} - Check the status of TTS processing tasks
Caption Editor API
- Blur Region —
POST https://api.revidapi.com/paid/blur-region - Pricing: 25 credits per request
-
Blurs specific regions in videos
-
Detect Caption —
POST https://api.revidapi.com/paid/detect-caption - Pricing: 25 credits per request
-
Detects and extracts text regions from video frames using OCR
-
Add Subtitle —
POST https://api.revidapi.com/paid/add-subtitle - Pricing: 35 credits per request
- Adds subtitles/captions to videos with extensive styling options
Download
- Social Download —
POST https://api.revidapi.com/{social}/download - Pricing: 5 credits per request
- Downloads media content from various social media platforms
Audio
- Audio Concatenation —
POST https://api.revidapi.com/paid/audio/concatenate - Pricing: 25 credits per request
- Combines multiple audio files into a single audio file
Image
- Image to Video —
POST https://api.revidapi.com/paid/image/convert/video -
Transforms a static image into a video with custom duration and zoom effects
-
Image Screenshot —
POST https://api.revidapi.com/paid/image/screenshot/webpage - Captures screenshots of web pages using Playwright with advanced options
Video
- Video Editing —
POST https://api.revidapi.com/paid/video/edit - Pricing: 35 credits per request
-
Add text, audio, image, logo, compose mp3, crop video, retweet video
-
Video Caption —
POST https://api.revidapi.com/paid/video/caption - Pricing: 35 credits per request
-
Adds customizable captions to videos with various styling options
-
Video Concatenation —
POST https://api.revidapi.com/paid/video/concatenate - Pricing: 35 credits per request
-
Combines multiple videos into a single continuous video file
-
Video Thumbnail —
POST https://api.revidapi.com/paid/video/thumbnail -
Extracts a thumbnail image from a specific timestamp in a video
-
Video Cut —
POST https://api.revidapi.com/paid/video/cut - Pricing: 35 credits per request
-
Cuts specified segments from a video file with optional encoding settings
-
Video Split —
POST https://api.revidapi.com/paid/video/split - Pricing: 35 credits per request
-
Splits a video into multiple segments based on specified start and end times
-
Video Trim —
POST https://api.revidapi.com/paid/video/trim - Pricing: 35 credits per request
- Trims a video by keeping only the content between specified start and end times
Media
- Media Download —
POST https://api.revidapi.com/paid/media/download - Pricing: 25 credits per request
-
Downloads media content from various online sources using yt-dlp
-
Generate ASS Subtitle —
POST https://api.revidapi.com/paid/media/generate/ass -
Generating an ASS (Advanced SubStation Alpha) subtitle file from a media file
-
Media Convert to MP3 —
POST https://api.revidapi.com/paid/media/convert/mp3 - Pricing: 25 credits per request
-
Converts various media formats specifically to MP3 audio
-
Media Convert —
POST https://api.revidapi.com/paid/media/convert - Pricing: 25 credits per request
-
Converts media files from one format to another with customizable codec options
-
Media Transcription —
POST https://api.revidapi.com/paid/media/transcribe -
Transcribes or translates audio/video content from a provided media URL
-
Media Transcribe —
POST https://api.revidapi.com/paid/media/transcribe/srt -
Transcribes or translates audio/video content and generates SRT files
-
Media Silence —
POST https://api.revidapi.com/paid/media/silence - Pricing: 25 credits per request
-
Detects silence intervals in a given media file
-
Media Metadata —
POST https://api.revidapi.com/paid/media/metadata -
Extracts comprehensive metadata from media files including format, codecs, resolution, and bitrates
-
Media Feedback —
POST https://api.revidapi.com/paid/media/feedback - Provides a web interface for collecting and displaying feedback on media content
Get Status
- Get Job Status —
GET https://api.revidapi.com/paid/get/job/status/{job_id} -
Retrieves the status of a specific job by its ID
-
Get All Jobs Status —
GET https://api.revidapi.com/paid/get/all/jobs/id/status - Retrieves the status of all jobs within a specified time range
Asynchronous Processing
For tasks like blur, subtitle, detect, TTS, SRT to speech, video processing (cut, split, trim, etc.), and media processing (convert, etc.), we recommend the following workflow:
- Create Task: Send POST request to create the task and receive a
task_id - Wait: Add a wait node (30-45 seconds) to allow server processing time
- Check Status: Use the appropriate GET status endpoint to check task completion
- Retrieve Result: Once status is "completed", retrieve the result from the response
Pricing Summary
| Task Type | Credits |
|---|---|
| TTS | 10 credits per 1,000 characters |
| Blur Region | 25 credits per request |
| Detect Caption | 25 credits per request |
| Add Subtitle | 35 credits per request |
| Download | 5 credits per request |
| Audio Processing | 25 credits per request |
| Media Processing | 25 credits per request |
| Video Processing | 35 credits per request |