360 Secure SkillHub
360 安全技能中心

Poyo Replace Section

为 PoYo replace-section 任务准备音乐片段替换参数(源任务 ID、音频 ID、替换时间区间、提示词、标签与歌词等),生成 curl 请求,并可在受信任 shell 中提交异步任务,随后查询状态或等待回调;不做音频本地处理。

分类:创作
coolhackboy
coolhackboy
热度 32.85
最近更新 2026-07-09 10:11:44

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add coolhackboy/poyo-replace-section
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
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

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

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_id if a request was actually submitted
  • next step: query status or wait for webhook