360 Secure SkillHub
360 安全技能中心

Poyo Gpt 4o Image

该 Skill 面向 PoYo AI 的 GPT-4o Image 系列模型:按规则构建 JSON 请求体,以 Bearer 认证向图像生成接口提交生成或编辑任务,保存返回的 task_id,并说明可通过轮询或回调获取任务状态;附带接口参考文档和提交脚本。

coolhackboy
coolhackboy
热度 61.38
最近更新 2026-07-09 10:51:01
分类:创作依赖:代码执行 / 第三方 API应用场景:图像生成 / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add poyo-gpt-4o-image
Metadata
name
poyo-gpt-4o-image
description
Use PoYo AI GPT-4o Image through the `https://api.poyo.ai/api/generate/submit` endpoint. Use when a user wants to generate or edit media with this model family, prepare PoYo-compatible payloads, submit jobs, or poll task status for `gpt-4o-image`, `gpt-4o-image-edit`.
metadata
{"openclaw":{"homepage":"https://poyo.ai/models/gpt-4o-image-api","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}

PoYo GPT 4O Image

PoYo Links

Use this skill to submit and track PoYo jobs for the GPT-4o Image family.

Quick workflow

  1. Choose the right model id for the requested output.
  2. Build the request body for POST https://api.poyo.ai/api/generate/submit.
  3. Send Bearer-authenticated JSON with Authorization: Bearer <POYO_API_KEY>.
  4. Save the returned task_id.
  5. 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.size to match the intended aspect ratio or canvas.

Model selection

gpt-4o-image

Use for general generation with this model variant.

gpt-4o-image-edit

Use for editing or modifying supplied images.

Execution

  • Read references/api.md for endpoint details, model ids, key fields, example payloads, and polling notes.
  • Use scripts/submit_gpt_4o_image.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

When helping with this model family, include:

  • chosen model id
  • final payload or a concise parameter summary
  • whether reference images are involved
  • returned task_id if a request was actually submitted
  • next step: poll status or wait for webhook

Notes:

Needs POYO_API_KEY from https://poyo.ai