Poyo Replace Section
简介
Poyo Replace Section
原始描述
Replace a section of generated music on PoYo / poyo.ai via `https://api.poyo.ai/api/generate/submit`; use for `replace-section`, music section editing, infil...
通过你的 Agent 添加
安装目录:poyo-replace-section/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: poyo-replace-section
description: Replace a section of generated music on PoYo / poyo.ai via https://api.poyo.ai/api/generate/submit; use for replace-section, music section editing, infill_start_s, infill_end_s, task_id plus audio_id inputs, callbacks, and music detail retrieval.
metadata: {"openclaw":{"homepage":"https://poyo.ai/models/replace-section","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}
PoYo Replace Section
PoYo Links
- Model page: https://poyo.ai/models/replace-section
- API docs: https://docs.poyo.ai/api-manual/music-series/replace-section
- API key page: https://poyo.ai/dashboard/api-key
PoYo Links
Use this skill for replace-section jobs on PoYo. It helps agents prepare music section replacement payloads, define an exact time range, submit async requests, and explain result retrieval.
Use When
- The user explicitly wants to replace a section of an existing PoYo-generated music track.
- The user has a completed PoYo music
task_id and audio_id and asks for an edit payload, server-side curl command, callback setup, or result retrieval.
- The user has already chosen PoYo as the execution provider for a music editing workflow.
Model Selection
replace-section: use for replacing a time range in a generated music track with new musical content.
Key Inputs
task_id identifies the completed source music generation task.
audio_id identifies the specific audio track to edit.
prompt describes the replacement content.
tags describe style or mood for the replacement section.
title names the resulting track.
infill_start_s and infill_end_s define the section to replace in seconds.
full_lyrics is required by the documented schema when the workflow modifies lyrics.
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 log private prompts, lyrics, customer task ids, audio identifiers, generated file URLs, callback URLs, or raw authorization headers unless the product policy allows it.
- Do not use this skill for generic music editing unless the user explicitly wants a PoYo Replace Section API workflow.
- Do not make live API calls unless the user explicitly asks, confirms the payload should be sent to PoYo, and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, request fields, examples, and result retrieval notes.
- Use
scripts/submit_replace_section.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 retrieval is easy.
Output Expectations
task_id and audio_id and asks for an edit payload, server-side curl command, callback setup, or result retrieval.replace-section: use for replacing a time range in a generated music track with new musical content.
Key Inputs
task_id identifies the completed source music generation task.
audio_id identifies the specific audio track to edit.
prompt describes the replacement content.
tags describe style or mood for the replacement section.
title names the resulting track.
infill_start_s and infill_end_s define the section to replace in seconds.
full_lyrics is required by the documented schema when the workflow modifies lyrics.
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 log private prompts, lyrics, customer task ids, audio identifiers, generated file URLs, callback URLs, or raw authorization headers unless the product policy allows it.
- Do not use this skill for generic music editing unless the user explicitly wants a PoYo Replace Section API workflow.
- Do not make live API calls unless the user explicitly asks, confirms the payload should be sent to PoYo, and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, request fields, examples, and result retrieval notes.
- Use
scripts/submit_replace_section.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 retrieval is easy.
Output Expectations
task_id identifies the completed source music generation task.audio_id identifies the specific audio track to edit.prompt describes the replacement content.tags describe style or mood for the replacement section.title names the resulting track.infill_start_s and infill_end_s define the section to replace in seconds.full_lyrics is required by the documented schema when the workflow modifies lyrics.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 log private prompts, lyrics, customer task ids, audio identifiers, generated file URLs, callback URLs, or raw authorization headers unless the product policy allows it.
- Do not use this skill for generic music editing unless the user explicitly wants a PoYo Replace Section API workflow.
- Do not make live API calls unless the user explicitly asks, confirms the payload should be sent to PoYo, and provides a safe server-side environment.
Execution
- Read
references/api.md for endpoint details, request fields, examples, and result retrieval notes.
- Use
scripts/submit_replace_section.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 retrieval is easy.
Output Expectations
references/api.md for endpoint details, request fields, examples, and result retrieval notes.scripts/submit_replace_section.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 retrieval is easy.When helping with Replace Section, include:
- chosen model id
- source task and audio identifier summary
- replacement time range
- prompt, title, style, and lyrics summary
- final payload or concise parameter summary
- returned
task_idif a request was actually submitted - next step: query status or wait for webhook
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。