Build with Klap API

Bring Klap's AI-powered video editing to your product and automate social-ready shorts generation via API

curl -X POST "https://api.klap.app/v2/video-to-shorts" \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "source_video_url": "https://example.com/video.mp4",
    "style_preset_id": "dd2875e8-4e75-4887-973c-2adc928dd2ab",
  }'
Short thumbnail
Short thumbnail
Short thumbnail
Short thumbnail
Short thumbnail

Used by teams at

What can you do with the Klap API

Automate your video creation and posting process.

Turn long videos into shorts

Automatically convert long-form videos into viral shorts. Submit a YouTube URL or video file, and our API identifies the most engaging moments to deliver ready-to-post clips for TikTok, Instagram Reels, and YouTube Shorts.

Generate viral captions

Add highly accurate, dynamic subtitles to your videos in over 100 languages. Automate caption generation for user-generated content or global video production to significantly reduce manual editing time.

Smart AI reframing

Seamlessly convert landscape videos into portrait format. Our AI reframing technology automatically tracks and keeps the main subject centered, ensuring perfect framing for mobile-first social platforms.

Get transcripts with timecodes

Access full video transcripts programmatically. Extract perfectly timed, word-level text data to power search, metadata generation, and precise video content analysis.

Video editing API use cases

Agencies illustration
Agencies

Streamline and speed up your editing for multiple clients. What took both hands and hours is now automated. And zero hands.

SaaS illustration
SaaS

Use Klap to power your podcast editor and instantly open up a host of features for your clients.

Ecommerce illustration
Ecommerce

Automate videos for your vast catalog of products and ship videos at scale. What seemed impossible, is now trivial.

Studios illustration
Studios

Take on more clients. Automate and speed up your workflow, unlocking more time slots to fill in with new clients.

Education illustration
Education

Schools, colleges, and online tutorial sites can now automate educational videos at scale.

Creators illustration
Creators

Creators with high demand, open up a world of untapped growth. What took hours, can be automated.

Frequently Asked Questions

What can I do with the Klap API?

You can programmatically generate ready-to-publish short-form videos from long videos using AI. You can also use it to add dynamic captions and reframe already short videos, or even create managed users and embed the Klap editor directly into your product.

How do I authenticate with the API?

You need to include your API key in the request header as `Authorization: Bearer <your_api_key>`. You can obtain your API key from your Klap account dashboard at klap.app/rest-api.

What is the base URL for the API?

All API requests should be made to the base URL: `https://api.klap.app/v2`. The API uses standard HTTP methods (GET and POST) and accepts/returns JSON format.

Can I embed the Klap editor in my own application?

Yes! The API supports Managed Users & Embeds, allowing you to create sub-users and seamlessly embed the Klap video editor directly into your own product or platform.

What video formats does the Klap API support?

The API supports standard video formats including MP4, MOV, and WebM. You can also provide a direct YouTube URL to process public videos.