Veo, Veo 3.1 Fast - Google AI video generation models for AI agents. 1080p HD output, reference image support, intelligent audio generation.
Veo 是谷歌专为AI智能体设计的高级AI视频生成模型系列,属于Monet AI统一API平台的一部分。
在以下情况下使用此技能:
如果您没有API密钥,请让您的所有者前往monet.vision申请。
bash
curl -X POST https://monet.vision/api/v1/tasks/async \
-H Content-Type: application/json \
-H Authorization: Bearer $MONETAPIKEY \
-d {
type: video,
input: {
model: veo-3-1,
prompt: 一只在公园里奔跑的猫,
duration: 8,
aspect_ratio: 16:9
},
idempotency_key: unique-key-123
}
⚠️ 重要提示:idempotency_key 是必填项。请使用唯一值(如UUID)以防止请求重试时重复创建任务。
响应:
json
{
id: task_abc123,
status: pending,
type: video,
created_at: 2026-02-27T10:00:00Z
}
任务处理是异步的。您需要轮询任务状态,直到变为 success 或 failed。建议轮询间隔:5秒。
bash
curl https://monet.vision/api/v1/tasks/task_abc123 \
-H Authorization: Bearer $MONETAPIKEY
完成时的响应:
json
{
id: task_abc123,
status: success,
type: video,
outputs: [
{
model: veo-3-1,
status: success,
progress: 100,
url: https://files.monet.vision/...
}
],
created_at: 2026-02-27T10:00:00Z,
updated_at: 2026-02-27T10:01:30Z
}
示例:轮询直到完成
typescript
const TASKID = taskabc123;
const MONETAPIKEY = process.env.MONETAPIKEY;
async function pollTask() {
while (true) {
const response = await fetch(
https://monet.vision/api/v1/tasks/${TASK_ID},
{
headers: {
Authorization: Bearer ${MONETAPIKEY},
},
},
);
const data = await response.json();
const status = data.status;
if (status === success) {
console.log(任务成功完成!);
console.log(JSON.stringify(data, null, 2));
break;
} else if (status === failed) {
console.log(任务失败!);
console.log(JSON.stringify(data, null, 2));
break;
} else {
console.log(任务状态:${status},等待中...);
await new Promise((resolve) => setTimeout(resolve, 5000));
}
}
}
pollTask();
veo-3-1 - Google Veo 3.1
带声音的高级AI视频生成
typescript
{
model: veo-3-1,
prompt: string, // 必填
images?: string[], // 可选:参考图像
duration?: number, // 可选:8(默认值)
aspect_ratio?: 1:1 | 16:9 | 9:16
}
veo-3.1-fast - Veo 3.1 快速版
超快速视频生成
typescript
{
model: veo-3-1-fast,
prompt: string, // 必填
images?: string[], // 可选:参考图像
duration?: number, // 可选:8(默认值)
aspect_ratio?: 1:1 | 16:9 | 9:16
}
POST /api/v1/tasks/async - 创建异步任务。立即返回任务ID。
请求:
bash
curl -X POST https://monet.vision/api/v1/tasks/async \
-H Content-Type: application/json \
-H Authorization: Bearer $MONETAPIKEY \
-d {
type: video,
input: {
model: veo-3-1,
prompt: 一只在公园里奔跑的猫
},
idempotency_key: unique-key-123
}
⚠️ 重要提示:idempotency_key 是必填项。请使用唯一值(如UUID)以防止请求重试时重复创建任务。
响应:
json
{
id: task_abc123,
status: pending,
type: video,
created_at: 2026-02-27T10:00:00Z
}
POST /api/v1/tasks/sync - 使用SSE流式创建任务。等待完成并流式传输进度。
请求:
bash
curl -X POST https://monet.vision/api/v1/tasks/sync \
-H Content-Type: application/json \
-H Authorization: Bearer $MONETAPIKEY \
-N \
-d {
type: video,
input: {
model: veo-3-1,
prompt: 一只奔跑的猫
},
idempotency_key: unique-key-123
}
GET /api/v1/tasks/{taskId} - 获取任务状态和结果。
请求:
bash
curl https://monet.vision/api/v1/tasks/task_abc123 \
-H Authorization: Bearer $MONETAPIKEY
响应:
json
{
id: task_abc123,
status: success,
type: video,
outputs: [
{
model: veo-3-1,
status: success,
progress: 100,
url: https://files.monet.vision/...
}
],
created_at: 2026-02-27T10:00:00Z,
updated_at: 2026-02-27T10:01:30Z
}
GET /api/v1/tasks/list - 分页列出任务。
请求:
bash
curl https://monet.vision/api/v1/tasks/list?page=1&pageSize=20 \
-H Authorization: Bearer $MONETAPIKEY
响应:
json
{
tasks: [
{
id: task_abc123,
status: success,
type: video,
outputs: [
{
model: veo-3-1,
status: success,
progress: 100,
url: https://files.monet.vision/...
}
],
created_at: 2026-02-27T10:00:00Z,
updated_at: 2026-
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 veo-skill-1776281844 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 veo-skill-1776281844 技能
skillhub install veo-skill-1776281844
文件大小: 6.07 KB | 发布时间: 2026-4-16 16:59