1 Star 0 Fork 1

modelee / deliberate-v2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
license tags pinned
creativeml-openrail-m
modelslab.com
stable-diffusion-api
text-to-image
ultra-realistic
true

model_name API Inference

generated from modelslab.com

Get API Key

Get API key from ModelsLab API, No Payment needed.

Replace Key in below code, change model_id to "deliberate-v2"

Coding in PHP/Node/Java etc? Have a look at docs for more code examples: View docs

Try model for free: Generate Images

Model link: View model

View all models: View Models

import requests  
import json  
  
url =  "https://modelslab.com/api/v6/images/text2img"  
  
payload = json.dumps({  
"key":  "your_api_key",  
"model_id":  "deliberate-v2",  
"prompt":  "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K",  
"negative_prompt":  "painting, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, deformed, ugly, blurry, bad anatomy, bad proportions, extra limbs, cloned face, skinny, glitchy, double torso, extra arms, extra hands, mangled fingers, missing lips, ugly face, distorted face, extra legs, anime",  
"width":  "512",  
"height":  "512",  
"samples":  "1",  
"num_inference_steps":  "30",  
"safety_checker":  "no",  
"enhance_prompt":  "yes",  
"seed":  None,  
"guidance_scale":  7.5,  
"multi_lingual":  "no",  
"panorama":  "no",  
"self_attention":  "no",  
"upscale":  "no",  
"embeddings":  "embeddings_model_id",  
"lora":  "lora_model_id",  
"webhook":  None,  
"track_id":  None  
})  
  
headers =  {  
'Content-Type':  'application/json'  
}  
  
response = requests.request("POST", url, headers=headers, data=payload)  
  
print(response.text)

Use this coupon code to get 25% off DMGG0RBN

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/modelee/deliberate-v2.git
git@gitee.com:modelee/deliberate-v2.git
modelee
deliberate-v2
deliberate-v2
main

搜索帮助