360 Secure SkillHub
360 安全技能中心

Poyo Seedream 4

核心功能:支持Seedream 4文生图、图像编辑、参考图引导生成,协助构造API请求、提交异步任务、状态查询、webhook设置,提供安全集成规范。典型场景:用户明确使用PoYo Seedream 4构建图像工作流,需API payload、curl命令、集成笔记等。输入含prompt、image_urls等参数,输出为任务ID、请求详情及后续操作指引,强调API密钥保密等安全规则。

coolhackboy
coolhackboy
热度 17.47
最近更新 2026-07-07 07:55:29
分类:创作依赖:代码执行 / 第三方 API应用场景:图像生成 / image-editing / API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add poyo-seedream-4
Metadata
name
poyo-seedream-4
description
Seedream 4 image generation and editing on PoYo / poyo.ai via `https://api.poyo.ai/api/generate/submit`; use for `seedream-4`, `seedream-4-edit`, text-to-image, image editing, reference images, 1K/2K/4K output, async status polling, callbacks, and server-side integration.
metadata
{"openclaw":{"homepage":"https://poyo.ai/models/seedream-4","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}

PoYo Seedream 4 Image Generation and Editing

PoYo Links

Use this skill for Seedream 4 jobs on PoYo. It helps agents prepare text-to-image and image-editing payloads, submit async tasks, and describe safe server-side integration.

Use When

  • The user explicitly wants to use PoYo with Seedream 4, seedream-4, seedream-4-edit, or the PoYo async image API.
  • The user asks for a PoYo Seedream 4 request payload, server-side curl command, integration notes, status polling, webhook setup, or response parsing.
  • The user has already chosen PoYo as the execution provider for a Seedream 4 image workflow.

Model Selection

  • seedream-4: use for text-to-image generation and optional reference-guided generation.
  • seedream-4-edit: use when the user explicitly wants to edit supplied images.

Key Inputs

  • prompt is required inside input.
  • image_urls is required for seedream-4-edit; use it only when source or reference images are part of the request.
  • size controls aspect ratio when supported by the current PoYo docs.
  • resolution supports documented output presets.
  • n controls output count within the documented limit.
  • 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, source image URLs, generated outputs, callback URLs, task ids, or raw authorization headers unless the product policy allows it.
  • Do not use this skill for generic image generation or editing unless the user explicitly wants a PoYo Seedream 4 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, model ids, common fields, examples, and polling notes.
  • Use scripts/submit_seedream_4.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

When helping with Seedream 4, include:

  • chosen model id
  • whether the request is generation, reference-guided generation, or editing
  • final payload or concise parameter summary
  • selected size and resolution when relevant
  • whether source or reference images are involved
  • returned task_id if a request was actually submitted
  • next step: poll status or wait for webhook