6 tools · 6 platform keys available · 0 own-key only
PiAPI API: 6 tools · pay per call
Explore PiAPI tools through Toolswitch.
Popular tasks: video-gen.task.status, image-gen.gemini-3-pro-image.generate, image-gen.gpt-image-2.generate.
What can you do?
Read a task's status (Pending, Processing, Completed, Failed, Staged) and its output URLs.
Generate images with GPT Image 2.5 through PiAPI's OpenAI-shaped async route, metered by quality and size.
Generate images with GPT Image 2 (medium quality only) through PiAPI's OpenAI-shaped async route.
Use with your Agent
Make these tools available to your Agent through MCP or integrate calls into your workflow with HTTP.
- MCP: Connect your Agent to discover and use tools through MCP.
- HTTP: Call tools from your application with the HTTP API.
Why use Toolswitch?
No provider account
Tools with platform key access do not require a separate provider account.
Pay per call
Pay for usage without a provider subscription.
Transparent pricing
See the listed tool price and billing unit before calling.
All 6 tools
Image generation · 3 tools
Generate images with GPT Image 2.5 through PiAPI's OpenAI-shaped async route, metered by quality and size.
piapi.image-gen.gpt-image-2-5Generate images with GPT Image 2 (medium quality only) through PiAPI's OpenAI-shaped async route.
piapi.image-gen.gpt-image-2Generate or edit an image with Gemini 3 Pro Image at 1K, 2K or 4K from a prompt and up to 14 reference images.
piapi.image-gen.gemini-3-pro-image
Video generation · 3 tools
Read a task's status (Pending, Processing, Completed, Failed, Staged) and its output URLs.
piapi.task.getCreate a Seedance 2.5 video task from a prompt with optional image, video and audio references (default content filter).
piapi.video-gen.seedance-2-5Less Restriction: the same Seedance 2.5 model on PiAPI's relaxed filter, where a real person's face may drive the video; the default row refuses real faces. Face images must first pass the connected account's Private Asset Library review; other references are used as-is. 10% dearer than the default row.
piapi.video-gen.seedance-2-5.less-restriction
Limits & billing
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.
Official pricing ↗