Back to Primitives
1 action · at cost + $0.10 / job
Clips
NaiveTool
Send a link to a long video and get its best moments back as short clips, framed vertical or kept wide, with burned-in captions and a virality score each. Billed at cost plus a flat fee per finished job.
Part of AI models
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- Clips
Clip a video
clips.create
The best moments of a long video as short clips.
Parameters Parameter Description urlstring · requiredPublic link to the long video (https): a file or a video page. aspect"9:16" | "16:9"9:16 is full-screen vertical, framed per shot; 16:9 keeps the shot as it is. caption_preset"none" | "clean" | "bold" | "karaoke"Burned-in caption look; none leaves the clips uncaptioned. remove_silencebooleanTighten pauses inside each clip. min_secondsintegerShortest clip, 5-180 seconds. max_secondsintegerLongest clip, 5-180 seconds, not below min_seconds. Example response
{ "clips": [ { "file_id": "fil_01JDXF", "title": "The one habit that changed everything", "start_seconds": 62.4, "end_seconds": 104.9, "duration_seconds": 42.5, "virality": { "total": 82, "shareability": 80, "hook_strength": 88, "story_quality": 79, "emotional_impact": 81 }, "hook": "Nobody tells you this about habits.", "tiktok_caption": "The one habit that changed everything #habits" } ] }at cost + $0.10 / jobAsync
Pricing
at cost + $0.10 / job
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Code
import { createNaive } from "@usenaive-sdk/naive"; const naive = createNaive(); // reads NAIVE_API_KEYconst run = await naive.tools.run("clips.create", {"url":"https://www.youtube.com/watch?v=rfTgzA6iKZc","aspect":"9:16","caption_preset":"bold"}, { wait: true });console.log(run.output);
Related tools
- Naive
Text or image to video with sound, 5–15 s.
1 action$0.05per second - Naive
Text to speech, dialogue, voice changer and voice isolation.
5 actionsfrom $0.002per second - Naive
Instrumental tracks and sound effects.
1 action$0.0025per second