可用工具
此分類下的工具
多個工具共享同一模板,可依評分、速度或價格選擇。
| 工具 | 預估時間 | 評分 | 金幣 |
|---|---|---|---|
文生圖
ID: 3
|
10s | 5.0 (<100) | 12/img |
參數
使用此模板調用 API 時,以下參數為必填或可選。
| 參數 | 類型 | 必填 | 標籤 | 選項 |
|---|---|---|---|---|
| noise_seed | number | 否 | 噪聲種子 | default: -1, min: -1, max: 4294967295, step: 1 |
| prompt | textarea | 是 | 提示詞 | — |
| width | number | 否 | 寬度 | default: 1024, min: 256, max: 2048, step: 64 |
| height | number | 否 | 高度 | default: 1024, min: 256, max: 2048, step: 64 |
| num_outputs | number | 否 | 輸出數量 | default: 1, min: 1, max: 10, step: 1 |
| checkpoint | text | 否 | 檢查點 | — |
程式碼範例
使用下方的 cURL 範例快速開始,將 API Key 和參數替換為您自己的。
curl -X POST https://nsfwrouter.xyz/api/v1/tasks/create \
-H "Authorization: Bearer sk-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"tool_id": 3,
"params": {
"prompt": "prompt",
"noise_seed": -1,
"width": 1024,
"height": 1024,
"num_outputs": 1,
"checkpoint": "your_value"
},
"webhook_url": "https://your-server.com/webhook"
}'
計費
按量計費的 API 定價,無需訂閱。
金幣 / 張
12
支援的模型
文生圖可用的 checkpoint 模型列表。
Uber Realistic Porn Merge
uberRealisticPornMerge_ponyxl_hybridv1.safetensors
Pony Diffusion V6 XL
Pony_Diffusion_V6_XL.safetensors
Big Lust SDXL
BigLust_V16.safetensors
Juggernaut XL Ragnarok
Juggernaut_XL_Ragnarok.safetensors
DreamShaper XL
dreamshaperXL_v10TurboDPMSMSDenoisingScheduler.safetensors
LUSTIFY (line)
lustify_v10.safetensors
CyberRealistic XL
cyberrealistic_v8.safetensors
Big Love SDXL
BigLove_XL3.safetensors
將 model 值作為 checkpoint 參數傳入 API 請求。