6 个工具 · 6 个可使用平台 key · 0 个仅自有 key

PiAPI API:6 个工具,按次付费

通过 Toolswitch 使用 PiAPI 工具。

常见任务:video-gen.task.status, image-gen.gemini-3-pro-image.generate, image-gen.gpt-image-2.generate。

免费开始即将上线查看全部工具官方文档 ↗

能做什么

  • Check a PiAPI task已验证 free

    Read a task's status (Pending, Processing, Completed, Failed, Staged) and its output URLs.

  • OpenAI: GPT Image 2.5 (Flare / Sunburst)已验证 $0.161/success

    Generate images with GPT Image 2.5 through PiAPI's OpenAI-shaped async route, metered by quality and size.

  • OpenAI: GPT Image 2已验证 $0.169/success

    Generate images with GPT Image 2 (medium quality only) through PiAPI's OpenAI-shaped async route.

在 Agent 里使用

通过 MCP 将这些工具提供给 Agent,或使用 HTTP 将调用接入你的工作流。

  • MCP: 通过 MCP 连接 Agent,以发现和使用工具。
  • HTTP: 通过 HTTP API 在应用中调用工具。

为什么通过 Toolswitch 调用?

  • 无需供应商账号

    使用平台 key 的工具无需单独注册供应商账号。

  • 按次付费

    按实际使用量付费,无需供应商订阅。

  • 价格透明

    调用前即可查看工具价格与计费单位。

全部 6 个工具

Image generation · 3 个工具
Video generation · 3 个工具

限制与计费

Generation is asynchronous: POST /api/v1/task answers with data.task_id; poll GET /api/v1/task/{task_id} every 10 seconds. Errors arrive as HTTP 200 with a non-200 `code`. Output URLs are temporary; download promptly. Reference image URLs must return raw image bytes with an image/* content-type, not an HTML file page.

官方定价 ↗

替代方案

查看替代方案即将上线