可用工具
该类别下的工具
多个工具共享同一模板,按评分、速度或价格选择。
| 工具 | 预计耗时 | 评分 | 金币 |
|---|---|---|---|
文生图
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 请求。