Pruna AI 模型 API
用一把 PopNow API 金鑰呼叫 2 個 Pruna AI 模型:P-Image LoRA。起價 US$0.006 /張。
- 模型
- 2
- 端點
- 5
- 起價,/張
- US$0.006
Pruna AI 模型
Pruna AI API 價格
查看價格| 模型 | 適合 | 官方價 | PopNow 價格 | 你節省 |
|---|---|---|---|---|
P-Image LoRApruna-ai/p-image-lora/text-to-image | 生成圖片 · 編輯圖片 | — | US$0.006/張 | |
P-Video 2 Propruna-ai/p-video-2-pro/text-to-video | 生成影片 · 圖生影片 · 參考生影片 | — | US$0.06/ 5 秒影片 |
官方價是各廠商對同一輸出公布的價格,2026年10月14日 核對。所示價格為起價;如需了解每個級距,請開啟對應模型。
呼叫一個 Pruna AI 模型
同樣的請求適用於每個模型:只需更換模型名稱和輸入。
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "pruna-ai/p-image-lora/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"aspect_ratio": "1:1",
"output_format": "jpeg"
}
}'import os, uuid, requests
res = requests.post(
"https://api.popnow.ai/api/v1/jobs/createTask",
headers={
"Authorization": f"Bearer {os.environ['POPNOW_API_KEY']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"model": "pruna-ai/p-image-lora/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"aspect_ratio": "1:1",
"output_format": "jpeg"
}
},
timeout=30,
)
body = res.json()
if body["code"] != 200:
raise RuntimeError(f'{body["code"]} {body["msg"]}')
print(body["data"]["taskId"]) # poll this id, or wait for your callBackUrlconst res = await fetch("https://api.popnow.ai/api/v1/jobs/createTask", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POPNOW_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
"model": "pruna-ai/p-image-lora/text-to-image",
"input": {
"prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
"aspect_ratio": "1:1",
"output_format": "jpeg"
}
}),
});
const { code, msg, data } = await res.json();
if (code !== 200) throw new Error(`${code} ${msg}`);
console.log(data.taskId); // poll this id, or wait for your callBackUrl常見問題
要怎麼透過 PopNow 呼叫 Pruna AI 模型?
建立 API 金鑰,然後用模型名稱(例如 pruna-ai/p-image-lora/text-to-image)和輸入傳送任務。你會拿到任務 ID,任務完成後讀取結果,或在 Webhook 上接收。
在 PopNow 上 Pruna AI 模型要多少錢?
起價 US$0.006 /張。每個模型頁都列出了全部級距,每次執行前都能取得準確報價。
有哪些 Pruna AI 模型可以用?
P-Image LoRA。新模型會在發布後陸續加入,請查看更新紀錄。
其他模型廠商
全部模型廠商- Alibaba40 個模型−33%Wan 3.0 · Qwen Image 2.1 Pro · Qwen Image 2.1 Turbo · Qwen Image 2.1起價 US$0.01 /張
- Black Forest Labs21 個模型−33%FLUX.2 Max · FLUX 3 Klein Base LoRA · FLUX 3 Klein Base · FLUX 3起價 US$0.006 /張
- ByteDance17 個模型−30%Seedance 2.5 · Seedream 5.0 Pro · Seed Audio 1.0 · Seedream 5.0 Flash起價 US$0.026 /張
- PopNow14 個模型Background Remover · Image Upscaler · Object Eraser · Video Upscaler起價 US$0.0012 /秒
- MiniMax10 個模型−55%MiniMax H3 · MiniMax Speech 2.8 HD · MiniMax Music 3.0 · MiniMax H3 Singularity LoRA起價 US$0.042 /張
- Kuaishou8 個模型−20%Kling 3.0 · Kling O3 · Kling 4.0 · Kling 3.0 Turbo起價 US$0.175 / 5 秒影片
