Novita.ai
  1. 基本 API
Novita.ai
  • Novita.ai
  • 账户接口
    • 配置s3配置
      POST
    • 查询s3配置
      GET
    • 删除 s3 配置
      DELETE
    • 用户信息
      GET
  • 基本 API
    • 文字转图像
      POST
    • 图像到图像
      POST
    • 进步
      GET
    • 广告商
      POST
  • 基础 API V3
    • 使用 lcm 将文本转为图像
      POST
    • 使用 lcm 进行图像到图像
      POST
    • 获取异步任务结果
      GET
    • 文字转图像
      POST
    • 图像到图像
      POST
  • 模型 API
    • 同步 civitai 模型
      POST
    • 查询 civitai 模型
      GET
    • 查询模型
      GET
  • 案例 API
    • Upscale
      POST
    • 清除
      POST
    • 外画
      POST
    • 删除背景
      POST
    • 删除文字
      POST
    • 重新想象
      POST
    • 涂鸦
      POST
    • 混合姿势
      POST
    • 替换背景
      POST
    • 替换天空
      POST
    • 恢复面容
      POST
    • 创建图块
      POST
    • 去除水印
      POST
    • 合并面
      POST
    • 替换对象
      POST
    • 图片提示
      POST
    • 制作照片
      POST
    • 要遮罩的图像
      POST
  • 培训 API
    • 获取图片网址
    • 接受学科培训
    • 创建学科培训
    • 创建风格训练
    • 接受风格培训
    • 列出训练任务
  • 视频 API
    • 图像转视频 API
    • 图像到视频运动 API
    • 文本转视频 API
  1. 基本 API

广告商

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v2/adetailer
After Detailer (adetailer) 是一个稳定的 Diffusion Automatic11111 Web UI 扩展,可自动执行修复等操作。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/adetailer' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
  "model_name": "majicmixRealistic_v6_65516.safetensors",
  "input_image": "{{base64 encoded image}}",
  "steps": 20,
  "strength": 0.3,
  "prompt": "big eyes, white face, no beard",
  "negative_prompt": "",
  "sd_vae": "vae-ft-mse-840000-ema-pruned.safetensors",
  "seed": -1,
  "guidance_scale": 7.5,
  "clip_skip": 1
}'
响应示例响应示例
{
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "3f1bf275-4614-4a2c-bf42-38e065cb8654",
    "warn": ""
  }
}

请求参数

Header 参数

Body 参数application/json

示例

返回响应

🟢200成功
application/json
Body

修改于 2024-02-05 08:22:48
上一页
进步
下一页
使用 lcm 将文本转为图像
Built with