搜索 VisionStory 开发者文档

没有找到匹配的文档“”。

可以尝试功能或资源名称,例如

VisionStory开发者
VisionStory AI 视频 API

让你的应用生成数字人视频

通过 API、Python SDK 或 CLI,将文本或音频转为数字人视频。也可连接 AI Agent,完成生成与下载。

输入
文本或音频
输出
MP4 视频
接入方式
API · SDK · CLI · MCP
POST/api/v1/video
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")
请求已接受
渲染已完成
result.mp4可下载

Agent 就绪

连接你常用的 AI Agent

复制一段设置说明交给编码 Agent,或连接 MCP Server,将 VisionStory 作为可复用工具提供给 Agent。

VisionStory CLI

在终端中调用全部 API

安装脚本会在隔离环境中升级到最新 PyPI 版本,不会影响你现有的 Python 项目。

curl -fsSL https://developers.visionstory.ai/cli | bash
macOS · Linux · WSL其他安装方式
发送给 Claude Code
Help 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.

第一次使用? 创建 API Key,然后把这段提示词发送给 Claude Code。它会引导你完成 visionstory login、查询剩余点数,并在不暴露密钥的情况下生成视频。

一个完整流程

四步生成并下载视频

选好形象,提供文本或音频,剩下的交给 VisionStory。

  1. 01

    选择形象

    使用现成的数字人,或上传肖像创建专属形象。

  2. 02

    添加内容

    输入文本并选择声音,也可直接使用录好的音频。

  3. 03

    提交生成

    提交一次请求,由 VisionStory 在后台异步渲染。

  4. 04

    下载视频

    任务完成后,通过返回的链接下载 MP4 文件。

快速开始

开始调用 API

创建 API Key,按快速开始指南运行示例,即可提交第一个视频生成任务。

请求路径 可以运行
  1. 1
    配置认证VISIONSTORY_API_KEY
  2. 2
    发送请求

    POST/api/v1/video

  3. 获得任务 IDvideo_123456
200 successJSON 响应
{
  "data": {
    "video_id": "video_123456"
  },
  "message": "success",
  "server_time": "2026-08-24T08:00:00Z"
}