Pinterest

Text to video API

Turn text into finished videos with one API

Generate a short AI clip from a prompt, or turn a full script into a narrated, multi-scene video that is ready to review, remix, and export.

Airbus
Salesforce
Crate & Barrel
Google
Amazon
Michigan
TikTok
Airbus
Salesforce
Crate & Barrel
Google
Amazon
Michigan
TikTok

Videos generated from text with VideoGen

Compare complete script-driven productions with a short prompt-to-video clip.

Multi-scene science explainer

A narration script becomes a complete educational video with visuals and captions.

Whiteboard video from a script

The supplied text is narrated verbatim and illustrated in a consistent whiteboard style.

Short prompt-to-video clip

A concise text prompt generates an opening frame and animates it inside an editable project.

One API for clips and complete videos

Choose the level of production your product needs without assembling separate generation, editing, and rendering services.

Standalone or editable clips

Use the video clip tool for a standalone result, or prompt to video when you need an editable project.

Script to video workflows

Turn an exact narration script into a complete video with scenes, voiceover, captions, and visuals.

Built-in remix actions

Apply captions, motion, transitions, music, logos, and other edits without rebuilding your integration.

How text to video generation works

1

Send your prompt or script

Use a short prompt for a clip or provide the exact narration for a complete video.

2

Poll or subscribe

Track the workflow run with polling or webhooks while VideoGen generates the video.

3

Review, remix, and export

Open the editable project, apply more remix actions, or export the finished result through the API.

Generate a complete video from a script

This request creates an editable project and applies captions and motion after generation.

View complete API documentation
Example request
curl -X POST https://api.videogen.io/v1/workflows/script-to-video \
  -H "Authorization: Bearer sk_videogen_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "script": "Three practical ways to improve customer onboarding.",
    "visualStyle": {
      "type": "AI_IMAGE",
      "aiStyle": "clean editorial illustrations with a modern business palette"
    },
    "visualPacing": "MEDIUM",
    "quality": "HIGH",
    "remixActions": [
      { "type": "ENABLE_CAPTIONS" },
      {
        "type": "CONVERT_IMAGES_TO_VIDEOS",
        "motionPrompt": "slow cinematic push-in",
        "muteOutputVideos": true,
        "quality": "HIGH"
      }
    ]
  }'

Text to video API use cases

Product explainers

Turn feature copy or release notes into clear product videos.

Training libraries

Generate consistent onboarding and enablement videos from approved scripts.

Content automation

Create videos from CMS entries, reports, and structured business data.

Frequently asked questions

Can the API generate both short clips and full videos?
Yes. Use prompt to video for a short clip, or script to video for a narrated, multi-scene project with captions and editing controls.
Are generated videos editable?
Yes. Workflow requests return a project that can be remixed through the API or opened in the VideoGen editor.
How do I know when a video is ready?
Poll the workflow run endpoint or subscribe to webhooks for completion events.

Ready to build your video workflow?