naïve
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
    ParameterDescription
    url
    string · required
    Public 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_silence
    boolean
    Tighten pauses inside each clip.
    min_seconds
    integer
    Shortest clip, 5-180 seconds.
    max_seconds
    integer
    Longest 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.

    $0.05
    per second
    1 action
  • Naive

    Text to speech, dialogue, voice changer and voice isolation.

    from $0.002
    per second
    5 actions
  • Naive

    Instrumental tracks and sound effects.

    $0.0025
    per second
    1 action