可用工具
此分類下的工具
多個工具共享同一模板,可依評分、速度或價格選擇。
| 工具 | 預估時間 | 評分 | 金幣 |
|---|---|---|---|
多圖編輯器
ID: 359
|
30s | 4.5 (232) | 12/img |
參數
使用此模板調用 API 時,以下參數為必填或可選。
| 參數 | 類型 | 必填 | 標籤 | 選項 |
|---|---|---|---|---|
| image | image | 是 | 輸入圖片 | — |
| image_2 | image | 是 | 輸入圖片 | — |
| seed | number | 否 | 隨機種子 | default: -1, min: -1, max: 4294967295, step: 1 |
| prompt | textarea | 是 | 提示詞 | — |
程式碼範例
使用下方的 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": 359,
"params": {
"image": "https://example.com/input.jpg",
"image_2": "https://example.com/input.jpg",
"prompt": "prompt",
"seed": -1
},
"webhook_url": "https://your-server.com/webhook"
}'
計費
按量計費的 API 定價,無需訂閱。
金幣 / 張
12