- 无界AI企业服务
- 无界AI企业智能客服
- 更新日志
- 公告
- API接入指南
- 作画指南
- AI专业版作画
- AI普通版作画
- AI视频生视频
- AI咒语解析
- 付费开通API
- AI化身&个性相机
- 提升作画效率
- 自定义镜像
- 用户账户
- LLM对话聊天
- 实验室
文生视频
POST
https://gate.wujieai.net/wj-open/v1/ai/pro/text_video/create
AI专业版作画文生视频
请求参数
Body 参数application/json
model_code
integer <int32>
可选
推荐默认使用133-产品美学
示例值:
133
prompt
string <string>
必需
Validate[max: 1000; ]
示例值:
05jsjx
duration
integer <int32>
可选
示例值:
2
width
integer <int32>
可选
支持自定义尺寸,尺寸要求为64的倍数,最小尺寸为64,基础尺寸不为64的倍数的,会向64对齐,例96对齐64,97对齐到128
示例值:
512
height
integer <int32>
视频高
同视频宽
示例值:
512
notify_url
string <string>
可选
回调重试规则:
1.
2.
回调报文:
{
"key": "xxxxx",
"success": true,
"code": 0,
"svdVideoUrl": "https://cdn.wujiebantu.com/FpS5akpvJ1kaQYaFXarjJCJjObtA.mp4"
}
示例值:
www.lynnette-reichert.info
示例
{
"model_code": 133,
"prompt": "gw8s79",
"duration": 2,
"width": 512,
"height": 512,
"notify_url": "www.lynnette-reichert.info"
}
示例代码
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://gate.wujieai.net/wj-open/v1/ai/pro/text_video/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"model_code": 133,
"prompt": "gw8s79",
"duration": 2,
"width": 512,
"height": 512,
"notify_url": "www.lynnette-reichert.info"
}'
返回响应
🟢200成功
*/*
Body
code
string <string>
响应code
示例值:
200
message
string <string>
失败信息
示例值:
success
data
object (AiTextVideoKeyVO_response)
可选
key
string <string>
视频key
示例值:
C5B5FE8DBF3679D9049342C130341BD9
示例
{
"code": "200",
"message": "success",
"data": {
"key": "C5B5FE8DBF3679D9049342C130341BD9"
}
}
修改于 2025-04-15 03:20:46