From script to speaking video, in one request.
Build talking-avatar video workflows without maintaining a media pipeline. Call the VisionStory REST API directly, use the Python SDK or CLI, or give the complete generation flow to an AI agent.
- Input
- Text or audio
- Output
- MP4 video
- Interfaces
- API · SDK · CLI · MCP
from visionstory import VisionStoryClient, build_video_payload
client = VisionStoryClient.from_env()
video = client.generate_video(build_video_payload(
avatar_id="your_avatar_id",
text="Welcome to VisionStory.",
voice_id="your_voice_id",
))
client.download(video["video_url"], "result.mp4")Start with your workflow
Choose by what you want to do.
Building an application? Start with the Python SDK. Working in a terminal or CI job? Use the CLI. Want an AI agent to handle the workflow? Choose MCP or the Agent Skill.
Build in Python
Best for applicationsTyped helpers for authentication, uploads, polling, and downloads with no runtime dependencies.
pip install visionstoryOpen guide Automate from the shell
Best for terminal & CICreate videos, inspect tasks, and download results from scripts or CI without writing an app.
curl -fsSL https://developers.visionstory.ai/cli | bashOpen guide Give tools to agents
Best for AI agentsConnect VisionStory through MCP or install the Skill so coding agents can generate media for you.
uvx visionstory-mcpOpen guide Agent ready
Works where your agents work.
Copy one setup message for your coding agent, or connect the MCP server and expose VisionStory as a reusable tool.
VisionStory CLI
Install once. Use every API from your terminal.
The installer upgrades to the latest PyPI release in an isolated environment. Your existing Python projects stay untouched.
curl -fsSL https://developers.visionstory.ai/cli | bashHelp me set up VisionStory and generate a talking-avatar video.1. Install or update the CLI and Agent Skill: curl -fsSL https://developers.visionstory.ai/cli | bash npx skills add visionstory-ai/skills --skill visionstory-api2. Run visionstory doctor. If I need a key, send me to https://developers.visionstory.ai/api-keys, wait while I create one, then ask me to run visionstory login in my terminal. Never ask me to paste the key into chat or expose it.3. Verify access with visionstory credits. Stop and help me if it fails.4. Discover current models, avatars, and voices, then use the CLI and visionstory-api skill to create and download the video. Never delete anything unless I explicitly request and confirm it.
New here? Create an API key, then send this prompt to Claude Code. It will guide you through visionstory login, verify credits, and create the video without exposing your key.
One complete workflow
From avatar to video in four steps
Choose an avatar, add text or audio, and let VisionStory render your talking-avatar video.
- 01
Choose an avatar
Use a public avatar or create one from a portrait.
- 02
Add text or audio
Write a script and choose a voice, or use recorded audio.
- 03
Generate
Submit once; VisionStory renders asynchronously.
- 04
Download
When the task succeeds, download the MP4 from the returned URL.
API capabilities
Everything behind the request.
Start with talking avatars, then reach for voices, image generation, frontier video models, and reusable media assets as your workflow grows.
Media Understanding
Extract structured data from images, audio, or video using your JSON Schema.
Avatars
List public AI avatars or create a reusable custom avatar from one portrait.
Voices
List public voices or clone a custom AI voice from an audio sample.
Models
Discover supported talking-avatar models, resolutions, and aspect ratios.
Billing
Read the current subscription plan and remaining generation credits.
AI Video
Generate text-to-video, image-to-video, and reference-guided AI clips.
Text to Speech
Convert text into natural MP3 speech with any public or cloned voice.
Speech to Text
Transcribe speech, identify speaker turns, export SRT subtitles, or align known text to audio.
Image Generation
Generate or edit AI images from text prompts and optional reference media.
Assets
Upload and reuse images, audio, and video across generation requests.
Your first successful call
Make the first request.
Start with an API key, run the ready-made example, and use the returned video_id to follow your render.
- 1Authenticate
VISIONSTORY_API_KEY - 2Send the request
POST
/api/v1/video - ✓Receive a task ID
video_123456
{
"data": {
"video_id": "video_123456"
},
"message": "success",
"server_time": "2026-08-24T08:00:00Z"
}