360 Secure SkillHub
360 安全技能中心

Poyo Gemini 3 Api

该工具用于PoYo平台Gemini 3系列模型的聊天请求,支持OpenAI兼容格式、Gemini原生格式、流式调用及多模态提示结构,可配置生成参数。适用于文本生成、代码辅助、摘要等场景,提供服务端curl示例与生产payload参考。输入需指定必填的模型、消息/内容字段,输出包含模型选择等关键信息,需遵守API密钥安全规范。

coolhackboy
coolhackboy
热度 27.35
最近更新 2026-07-09 10:50:53
分类:开发依赖:第三方 API / 代码执行 / 读写文件应用场景:API 集成 / 代码生成 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add poyo-gemini-3-api
Metadata
name
poyo-gemini-3-api
description
Gemini 3 Series chat on PoYo / poyo.ai via `https://api.poyo.ai/v1/chat/completions` and Gemini Native Format; use for `gemini-3-flash-preview`, `gemini-3-pro-preview`, `gemini-3.1-pro-preview`, chat completions, native generateContent, streaming, multimodal prompt structure, generation config, and server-side integration.
metadata
{"openclaw":{"homepage":"https://poyo.ai/models/gemini-3-api","requires":{"bins":["curl"],"env":["POYO_API_KEY"]},"primaryEnv":"POYO_API_KEY"}}

PoYo Gemini 3 Series Chat

PoYo Links

Use this skill for Gemini 3 Series chat requests on PoYo. It helps agents prepare OpenAI-compatible chat payloads, Gemini Native Format payloads, streaming calls, multimodal prompt structures, and server-side integration notes.

Use When

  • The user mentions Gemini 3, Gemini 3 Series, gemini-3-flash-preview, gemini-3-pro-preview, gemini-3.1-pro-preview, Gemini Native Format, generateContent, or Gemini streaming.
  • The task is text generation, coding assistance, summarization, structured responses, multimodal prompt planning, or chat integration.
  • The workflow needs a server-side curl example or a production request payload for PoYo.

Model Selection

  • gemini-3-flash-preview: use for faster Gemini 3 chat and coding requests.
  • gemini-3-pro-preview: use for harder reasoning, analysis, or planning requests.
  • gemini-3.1-pro-preview: use when the user explicitly asks for Gemini 3.1 Pro Preview.

Key Inputs

  • For /v1/chat/completions, model and messages are required.
  • For Gemini Native Format, contents is required and contains role plus parts.
  • Use generationConfig for Gemini Native Format controls such as temperature, topP, maxOutputTokens, and stopSequences.
  • Use safetySettings only when the workflow explicitly needs Gemini safety threshold configuration.
  • Use stream: true or streamGenerateContent only when the client can consume streaming responses.

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 user messages, system prompts, inline media data, or raw authorization headers unless the user or product policy explicitly allows it.
  • Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.

Execution

  • Read references/api.md for endpoint details, request fields, examples, and response notes.
  • Use scripts/submit_gemini_3_api_chat.sh only when the user wants to submit an OpenAI-compatible chat payload from a trusted shell.
  • If the user needs Gemini Native Format, adapt the native example from references/api.md.
  • Chat completions and native generateContent calls are synchronous unless streaming is enabled.

Output Expectations

When helping with Gemini 3 Series, include:

  • chosen model id
  • chosen endpoint style: OpenAI-compatible chat or Gemini Native Format
  • final payload or concise parameter summary
  • synchronous or streaming handling
  • generation config and safety settings when relevant
  • response parsing notes if the user needs integration code