Poyo Sora 2 Official Api
简介
Poyo Sora 2 Official Api
原始描述
Sora 2 Official video generation on PoYo / poyo.ai via `https://api.poyo.ai/api/generate/submit`; use for `sora-2-official`, text-to-video, optional single-i...
通过你的 Agent 添加
安装目录:poyo-sora-2-official-api/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
PoYo Sora 2 Official API 技能是一个用于调用 OpenAI Sora 2 视频生成模型的代理工具。用户通过配置 POYO_API_KEY 环境变量,即可向 PoYo 平台提交异步视频生成任务。该技能支持两种核心模式:纯文本到视频(text-to-video)以及单图引导的视频生成(image-guided video)。用户需准备包含 prompt、duration(4/8/12/16/20 秒)、aspect_ratio(16:9 或 9:16)等参数的 JSON 载荷,可选配置参考图片 URL 和回调地址。提交后获得 task_id,通过轮询或 webhook 接收完成通知。
显著优点
官方模型接入:直接对接 OpenAI Sora 2 官方版本,非第三方逆向或蒸馏模型,输出质量与一致性有保障。灵活参数控制:支持多种时长与画幅组合,适配短视频平台、产品展示、影视预演等多场景。异步架构设计:任务提交与结果获取分离,适合批量生产与自动化工作流集成。安全密钥管理:强制使用环境变量存储 API 密钥,无硬编码风险,符合生产环境安全规范。低依赖 footprint:仅依赖系统 curl 命令,无额外第三方库,部署轻量。
潜在缺点与局限性
T3 来源可信度:由个人开发者维护,未获顶级开源基金会或企业背书,长期维护与更新承诺存在不确定性。输入验证薄弱:脚本未对 payload 文件路径进行严格校验,存在潜在路径遍历风险,需谨慎控制输入来源。无内置重试机制:网络异常时需外部处理失败重试,生产环境需自行封装健壮性逻辑。内容合规依赖平台:生成内容的审核与过滤完全依赖 PoYo 与 OpenAI 的策略,用户对敏感内容控制能力有限。成本与速率限制:作为官方 API 调用,需遵守 PoYo 定价与配额策略,大规模使用成本需提前评估。
适合的目标群体
内容创作者与营销团队:需快速生成社交媒体短视频、产品动态概念、广告素材的创意人员。影视与动画预演:需要低成本验证镜头语言、动态分镜的独立导演或制片团队。AI 应用开发者:希望将 Sora 2 集成至自有产品或自动化流程的技术团队。教育与研究机构:进行视频生成模型能力测试、提示工程研究的学术用户。
常规使用风险
密钥泄露风险:API 密钥需严格限制在服务端环境,任何前端暴露或日志输出都可能导致未授权调用与费用损失。数据传输风险:提示词与参考图片 URL 将传输至 PoYo 服务器,敏感商业信息或隐私内容需谨慎评估。依赖服务稳定性:PoYo 平台与 OpenAI 服务的可用性直接影响业务连续性,建议设计降级方案。Webhook 安全问题:若配置回调地址,需验证请求来源真实性,防止伪造回调攻击。成本失控风险:视频生成计算资源消耗较大,缺乏用量监控机制可能导致意外高额账单。
技能正文
name: poyo-sora-2-official-api
description: Sora 2 Official video generation on PoYo / poyo.ai via https://api.poyo.ai/api/generate/submit; use for sora-2-official, text-to-video, optional single-image guided video, 4/8/12/16/20 second duration, vertical or landscape video, polling, and webhooks.
metadata: {"openclaw":{"homepage":"https://poyo.ai/models/sora-2-official","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}
PoYo Sora 2 Official Video Generation
PoYo Links
- Model page: https://poyo.ai/models/sora-2-official
- API docs: https://docs.poyo.ai/api-manual/video-series/sora-2-official
- API key page: https://poyo.ai/dashboard/api-key
PoYo Links
Use this skill for sora-2-official video jobs on PoYo. It helps agents prepare text-to-video and optional single-image guided video payloads, submit async tasks, and explain polling or webhook follow-up.
Use When
- The user explicitly mentions Sora 2 Official,
sora-2-official, PoYo Sora official, or OpenAI Sora through PoYo.
- The task is text-to-video, image-guided video, cinematic short video drafting, product motion concepts, or social video generation.
- The workflow needs a PoYo async submit payload, task status polling, or callback URL guidance.
Model Selection
sora-2-official: use for text-to-video and optional single-image guided video on PoYo.
Key Inputs
prompt is required inside input.
duration can be 4, 8, 12, 16, or 20 when supported by current PoYo docs.
aspect_ratio can be 16:9 or 9:16.
image_urls is optional and supports at most one reference image according to current PoYo docs.
callback_url is optional and useful for production queues.
Security Rules
- Treat
POYO_API_KEY as a secret.
- Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
- Do not submit confidential source images or private URLs unless the user trusts PoYo and the callback receiver.
Execution
- Read
references/api.md for endpoint details, model id, common fields, example payloads, and polling notes.
- Use
scripts/submit_sora_2_official.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
sora-2-official, PoYo Sora official, or OpenAI Sora through PoYo.sora-2-official: use for text-to-video and optional single-image guided video on PoYo.
Key Inputs
prompt is required inside input.
duration can be 4, 8, 12, 16, or 20 when supported by current PoYo docs.
aspect_ratio can be 16:9 or 9:16.
image_urls is optional and supports at most one reference image according to current PoYo docs.
callback_url is optional and useful for production queues.
Security Rules
- Treat
POYO_API_KEY as a secret.
- Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
- Do not submit confidential source images or private URLs unless the user trusts PoYo and the callback receiver.
Execution
- Read
references/api.md for endpoint details, model id, common fields, example payloads, and polling notes.
- Use
scripts/submit_sora_2_official.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
prompt is required inside input.duration can be 4, 8, 12, 16, or 20 when supported by current PoYo docs.aspect_ratio can be 16:9 or 9:16.image_urls is optional and supports at most one reference image according to current PoYo docs.callback_url is optional and useful for production queues.- Treat
POYO_API_KEYas a secret. - Keep PoYo API keys in server-side environment variables or a backend secret manager.
- Never place an API key in browser code, frontend bundles, public repositories, logs, screenshots, or chat output.
- Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
- Do not submit confidential source images or private URLs unless the user trusts PoYo and the callback receiver.
Execution
- Read
references/api.md for endpoint details, model id, common fields, example payloads, and polling notes.
- Use
scripts/submit_sora_2_official.sh only when the user wants to submit a prepared JSON payload from a trusted shell.
- If the user only needs a curl example, adapt one from
references/api.md.
- After submission, report the returned
task_id clearly so follow-up polling is easy.
Output Expectations
references/api.md for endpoint details, model id, common fields, example payloads, and polling notes.scripts/submit_sora_2_official.sh only when the user wants to submit a prepared JSON payload from a trusted shell.references/api.md.task_id clearly so follow-up polling is easy.When helping with Sora 2 Official, include:
- chosen model id
- whether the request is text-to-video or image-guided video
- final payload or concise parameter summary
- selected duration and aspect ratio
- whether a reference image is involved
- returned
task_idif a request was actually submitted - next step: poll status or wait for webhook
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。