gen_video
Generate educational tutorial videos in 10-20 minutes. Input text or image-based questions and answers, adjust video quality, and receive a task ID for tracking.
Instructions
生成教学讲解视频,生成时间大约需要10到20分钟,根据题目难度来定
Args: question: 问题内容(文本形式),question和questionImages中至少输入一个 answer: 参考答案(文本形式):确保生成的讲解内容准确(可选) question_images: 问题内容(图片形式),输入图片的URL或者base64(可选) answer_images: 参考答案(图片形式),输入图片的URL或者base64(可选) quality: 视频质量,可选值:l(低)、m(中)、h(高),默认为配置的默认质量
Returns: 包含任务ID的字典
Input Schema
Name | Required | Description | Default |
---|---|---|---|
answer | No | ||
answer_images | No | ||
quality | No | m | |
question | No | ||
question_images | No |
Input Schema (JSON Schema)
{
"properties": {
"answer": {
"default": "",
"title": "Answer",
"type": "string"
},
"answer_images": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Answer Images"
},
"quality": {
"default": "m",
"title": "Quality",
"type": "string"
},
"question": {
"default": "",
"title": "Question",
"type": "string"
},
"question_images": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Question Images"
}
},
"type": "object"
}