Piapi: one studio
for every AI generation
Piapi lets you make video, images, music and 3D with 50+ AI models — play in the browser or call it from code.
One Piapi key opens every model listed below.
Midjourney notice — Piapi does not resell Midjourney access. To generate pictures over an API, start with the image models.
Suno notice — Piapi does not offer a Suno endpoint. For songs and sound over an API, open the audio tab.
Piapi CLI
94 multimodal models, right in your shell
Render images, clips, audio and 3D files, or chat with language models, from a single command line tool. The Piapi CLI suits engineers, coding agents and scripted pipelines.
$npm install -g piapi-cli
$ piapi run flux-dev prompt="a fox in a spacesuit" ✓ Image ready: out/fox_0001.png $ piapi run kling-4 prompt="tide at dusk" --async ✓ Job queued: task_7f3c21 $ piapi model list --type video seedance-2.5, kling-4, veo3-fast... (40 models)
Made for developers & AI agents
Piapi fits any language or framework, plus the agents and automation tools layered over them. Wire it up in a handful of lines, let coding agents connect through the CLI or MCP, or drop Piapi into Make and n8n without touching code.
import requests
endpoint = 'YOUR_ENDPOINT_URL'
headers = {
'X-API-Key': 'YOUR_API_KEY',
}
data = {
"prompt": "a sleepy red panda",
"aspect_ratio": "16:9",
"process_mode": "fast",
"webhook_endpoint": "",
"webhook_secret": ""
}
response = requests.post(endpoint, headers=headers, json=data)
print(response.status_code)
print(response.json())
Quick Integration
Send your first request within minutes. A few clicks or a few lines are all it takes to get Piapi running inside your stack.
Agent-Ready by Design
The piapi-cli package and our MCP server hand each model to coding agents and MCP-aware assistants — send JSON, receive results.
Automation Without Code
Link Piapi to Make, n8n or Zapier using prebuilt HTTP modules and webhooks, then automate whole flows visually.
Scales With You
Grow request volume at whatever pace suits your product; the same endpoints hold steady from prototype to production traffic.
Meet the Piapi team
Who we are
A compact crew of engineers and creatives working where code meets craft, convinced that AI will reshape how things get made.
Why choose us
We care about making AI simpler and putting it within reach of builders on every continent.
What we build
Piapi gives developers API access to generative models such as Flux, Ace-step and FaceSwap, so they can ship scalable, inventive products.
Get in touch
Questions or need a hand? Reach out whenever you like.
Community Help Desk
Join our community channel for quick answers from the crew and fellow builders.
Join the community →Telegram Chat
A Telegram line is on the way, so you can ping us from your phone in seconds.
Telegram (launching later)Let's build together
Have a partnership idea in mind? So do we. Start a conversation and tell us what you want to create.
Start a conversation →