Free Intro Class
    Botspot Logo

    agenthub · video.generate

    Generate Video

    Turn a text prompt into a video clip. Billed per second of video, not per token.

    category Videoin prompt · imageout video_url · videos · duration · usageexecution asyncmodel cost model tokens

    Why the node earns its place

    The video counterpart to Generate Image, provider-agnostic in the same way, with the dropdown filtered to text-to-video models.

    It is deliberately kept apart from Avatar Video, which is the talking-head path and requires a source image to animate. Keeping them separate means a model dropdown never offers a model whose required inputs the node cannot supply — the classic way a media node fails at the provider instead of on the canvas.

    How it works at run time

    1. 1
      Take the prompt, and optionally an image to seed from.
    2. 2
      Call the text-to-video capability with the duration, aspect ratio and resolution tier.
    3. 3
      Return the clip URL, the full array, the duration and a usage descriptor, then emit a video-usage event for per-second billing.

    What you wire

    Inputs

    • prompt *
      string
    • image
      string

    Outputs

    • video_url
      string
    • videos
      array
    • duration
      number
    • usage
      object

    Configuration

    KeyTypeDefault & optionsWhat it does
    provider *stringchoices from model-library:providersProvider of the video model (e.g. google, openai, runway)
    model *stringchoices from model-library:text_to_video_modelsText-to-video model
    duration_secondsnumberdefault 8Requested clip length in seconds (billing is per second). Veo accepts only 4, 6, or 8; other values are snapped to the nearest.
    aspect_ratiostringdefault "16:9" 16:9 · 9:16 · 1:1Frame aspect ratio
    resolutionstringdefault "720p" 720p · 1080pRequested resolution tier (affects the per-second rate)
    negative_promptstringWhat the model should avoid rendering

    What usually goes wrong

    Watch for this

    Duration and resolution both move the price, and duration is snapped to what the model accepts — some take only 4, 6 or 8 seconds, so a request for 5 becomes something else. Set negative_prompt for things to avoid rendering rather than trying to phrase the avoidance positively in the main prompt.

    Behaviour & provenance

    buildersVideo workflows
    routesno
    side effectsnone — computes only
    replay safetynot applicable
    talks toa model
    holdsworkspace runtime token