AI 视频生成,6-10 秒极速出片
简介
通过 PoYo AI 调用 Grok Imagine 模型,实现 6-10 秒文本/图片生成视频,支持运动风格控制与 webhook 回调
原始描述
Use PoYo AI Grok Imagine Video for short text-to-video and image-to-video generation with motion-style controls through the `https://api.poyo.ai/api/generate...
通过你的 Agent 添加
安装目录:poyo-grok-imagine/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
PoYo Grok Imagine Video 技能专用于调用 PoYo AI 平台的 Grok Imagine 视频生成模型,支持将文本或图片转换为 6 秒或 10 秒的短视频片段。用户通过 https://api.poyo.ai/api/generate/submit 端点提交任务,需配置 POYO_API_KEY 环境变量进行 Bearer Token 认证。
关键执行流程:选择正确的 model ID → 构建包含 input.prompt、input.duration(6s/10s)、input.aspect_ratio 等字段的 JSON 请求体 → 发送 POST 请求 → 保存返回的 task_id → 轮询任务状态或等待 callback_url webhook 通知。
显著优点
- 多模态输入:同时支持文本提示(
prompt)和图片参考(image_urls),满足文生视频和图生视频双重需求
- 精细化控制:通过
mode 参数实现运动风格调控,可指定特定的视觉动态效果
- 异步任务架构:采用任务 ID + 轮询/回调的异步模式,适合长时视频生成场景
- 标准化接口:基于 PoYo 统一 API 规范,与其他 PoYo 模型共享认证和监控机制
潜在缺点与局限性
- 时长受限:仅支持 6 秒和 10 秒两种固定时长,无法满足长视频或复杂叙事需求
- 外部依赖性强:完全依赖 PoYo 平台可用性,若 PoYo 服务中断或 API 变更,技能将失效
- 无实时预览:必须等待完整生成后才能获取结果,无法边生成边查看
- 资源门槛:需要有效的 PoYo API Key 且可能产生计费,存在使用成本
适合人群
- 内容创作者:需要快速生成短视频素材用于社交媒体
- 产品设计师:制作动态原型或概念演示视频
- AI 应用开发者:集成视频生成功能到自有产品
- 营销团队:批量生产广告片段或视觉内容
常规风险
- API 密钥泄露:
POYO_API_KEY 需妥善保管,避免硬编码或意外暴露
- 内容合规风险:生成内容需符合 PoYo 平台使用政策及当地法律法规
- 任务失败处理:网络超时或参数错误可能导致任务提交失败,需实现重试机制
- 成本失控:视频生成消耗 tokens 或积分,高频调用前需确认计费策略
prompt)和图片参考(image_urls),满足文生视频和图生视频双重需求mode 参数实现运动风格调控,可指定特定的视觉动态效果- 时长受限:仅支持 6 秒和 10 秒两种固定时长,无法满足长视频或复杂叙事需求
- 外部依赖性强:完全依赖 PoYo 平台可用性,若 PoYo 服务中断或 API 变更,技能将失效
- 无实时预览:必须等待完整生成后才能获取结果,无法边生成边查看
- 资源门槛:需要有效的 PoYo API Key 且可能产生计费,存在使用成本
适合人群
- 内容创作者:需要快速生成短视频素材用于社交媒体
- 产品设计师:制作动态原型或概念演示视频
- AI 应用开发者:集成视频生成功能到自有产品
- 营销团队:批量生产广告片段或视觉内容
常规风险
- API 密钥泄露:
POYO_API_KEY 需妥善保管,避免硬编码或意外暴露
- 内容合规风险:生成内容需符合 PoYo 平台使用政策及当地法律法规
- 任务失败处理:网络超时或参数错误可能导致任务提交失败,需实现重试机制
- 成本失控:视频生成消耗 tokens 或积分,高频调用前需确认计费策略
- API 密钥泄露:
POYO_API_KEY需妥善保管,避免硬编码或意外暴露 - 内容合规风险:生成内容需符合 PoYo 平台使用政策及当地法律法规
- 任务失败处理:网络超时或参数错误可能导致任务提交失败,需实现重试机制
- 成本失控:视频生成消耗 tokens 或积分,高频调用前需确认计费策略
技能正文
---
name: poyo-grok-imagine
description: Use PoYo AI Grok Imagine Video for short text-to-video and image-to-video generation with motion-style controls through the https://api.poyo.ai/api/generate/submit endpoint. Use when a user wants 6s or 10s clips, optional mode styling, or PoYo payloads for grok-imagine.
metadata: {"openclaw": {"homepage":"https://poyo.ai/models/grok-imagine", "requires": {"bins": ["curl"], "env": ["POYO_API_KEY"]}, "primaryEnv": "POYO_API_KEY"}}
PoYo Grok Imagine Video Generation
PoYo Links
- Model page: https://poyo.ai/models/grok-imagine
- API docs: https://docs.poyo.ai/api-manual/video-series/grok-imagine
- API key page: https://poyo.ai/dashboard/api-key
PoYo Links
Use this skill to submit and track PoYo jobs for the Grok Imagine Video family.
Quick workflow
- Choose the right model id for the requested output.
- Build the request body for
POST https://api.poyo.ai/api/generate/submit.
- Send Bearer-authenticated JSON with
Authorization: Bearer <POYO_API_KEY>.
- Save the returned
task_id.
- Poll unified task status or wait for
callback_url notifications.
Request rules
- Require top-level
model.
- Keep prompts concrete and outcome-focused.
- Require
input.prompt unless the user already supplied a full payload.
- Use
input.image_urls only when the task needs reference or source images.
- Use
input.duration when the clip length matters.
- Use
input.aspect_ratio when the output surface matters.
Model selection
grok-imagine
POST https://api.poyo.ai/api/generate/submit.Authorization: Bearer <POYO_API_KEY>.task_id.callback_url notifications.- Require top-level
model. - Keep prompts concrete and outcome-focused.
- Require
input.promptunless the user already supplied a full payload. - Use
input.image_urlsonly when the task needs reference or source images. - Use
input.durationwhen the clip length matters. - Use
input.aspect_ratiowhen the output surface matters.
Model selection
grok-imagine
grok-imagineUse for general generation with this model variant.
Execution
- Read
references/api.md for endpoint details, model ids, key fields, example payloads, and polling notes.
- Use
scripts/submit_grok_imagine.sh to submit a raw JSON payload from the shell.
- If the user only needs a curl example, adapt the example from
references/api.md instead of rewriting from scratch.
- After submission, report the
task_id clearly so follow-up polling is easy.
Output expectations
references/api.md for endpoint details, model ids, key fields, example payloads, and polling notes.scripts/submit_grok_imagine.sh to submit a raw JSON payload from the shell.references/api.md instead of rewriting from scratch.task_id clearly so follow-up polling is easy.When helping with this model family, include:
- chosen model id
- final payload or a concise parameter summary
- whether reference images are involved
- returned
task_idif a request was actually submitted - next step: poll status or wait for webhook
Notes:
Needs POYO_API_KEY from https://poyo.ai
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。