- 引言
- 在线调试说明
- 发出请求
- 中转站基本介绍
- Chat模型
- 文生图模型
- 文生视频模型
- veo 视频生成
- luma 视频生成
- Kling 快手可灵
- Runway 视频生成
- GPTs 相关
- 文生音乐 Suno
- 系统API
- Python配置方式
- python openai官方库(使用AutoGPT,langchain等)
- python 连续对话
- python 使用 语音转文本
- python 使用文本转语音
- python 使用Embeddings 向量化
- python 调用DALL·E
- python简单调用 openai function-calling demo
- python 简单langchain 调用openai demo
- python llama_index 配置
- Python使用gpt-4o识别图片-本地图片
- python 库流式输出
- gpt realtime模型调用
- python request 请求 流式输出demo
- python 使用gpt-image-1 创建编辑图片
- Python基础对话
- Python使用gpt-4o识别图片
- Python使用Claude识别图片
- nodejs 配置方式
- php配置方式
- 各种插件/软件使用教程
- 帮助中心
创建视频
POST
https://yunwu.ai/v1/video/create
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept
string
必需
示例值:
application/json
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
X-Forwarded-Host
string
可选
示例值:
localhost:5173
Body 参数application/json
model
string
必需
veo2
veo2-fast
veo2-fast-frames
veo2-fast-components
veo2-pro
veo3
veo3-fast
veo3-pro
veo3-pro-frames
prompt
string
提示词
enhance_prompt
boolean
可选
示例
{
"prompt": "牛飞上天了",
"model": "veo3",
"enhance_prompt": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://yunwu.ai/v1/video/create' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "牛飞上天了",
"model": "veo3",
"enhance_prompt": true
}'
返回响应
🟢200成功
application/json
Body
id
string
必需
status
string
必需
status_update_time
integer
必需
enhanced_prompt
string
必需
示例
{
"id": "033fa60e-f37c-4ff6-a44d-5585ffea938d",
"status": "pending",
"status_update_time": 1750323167003,
"enhanced_prompt": "```\nA surreal and whimsical digital painting of a majestic brown cow with large, feathered wings soaring gracefully through a vibrant blue sky. The cow has a joyful expression, its tail streaming behind it as it flies among fluffy white clouds. Below, a patchwork of green farmland stretches into the distance, with tiny farm buildings and a group of astonished farmers looking up in amazement. The scene is bathed in warm golden sunlight, creating a dreamlike and magical atmosphere. Art style inspired by fantasy illustrations with soft brushstrokes and rich, saturated colors.\n```"
}
修改于 2025-06-19 17:43:04