stablediffusionapi/terror-models-comple
05
1---2license: creativeml-openrail-m3tags:4 - modelslab.com5 - stable-diffusion-api6 - text-to-image7 - ultra-realistic8pinned: true9pipeline_tag: text-to-image10library_name: diffusers11widget:12 - text: a girl wandering through the forest13 output:14 url: https://cdn.stablediffusionapi.com/generations/1789776081689187466.png15---16 17# Terror Models Complete API Inference18 19<Gallery />20 21## Get API Key22 23Get API key from [ModelsLab API](http://modelslab.com), No Payment needed. 24 25Replace Key in below code, change **model_id** to "terror-models-comple"26 27Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://docs.modelslab.com)28 29Try model for free: [Generate Images](https://modelslab.com/models/terror-models-comple)30 31Model link: [View model](https://modelslab.com/models/terror-models-comple)32 33View all models: [View Models](https://modelslab.com/models)34 35```python36import requests 37import json 38 39url = "https://modelslab.com/api/v6/images/text2img" 40 41payload = json.dumps({ 42"key": "your_api_key", 43"model_id": "terror-models-comple", 44"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", 45"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", 46"width": "512", 47"height": "512", 48"samples": "1", 49"num_inference_steps": "30", 50"safety_checker": "no", 51"enhance_prompt": "yes", 52"seed": None, 53"guidance_scale": 7.5, 54"multi_lingual": "no", 55"panorama": "no", 56"self_attention": "no", 57"upscale": "no", 58"embeddings": "", 59"lora": "", 60"webhook": None, 61"track_id": None 62}) 63 64headers = { 65'Content-Type': 'application/json' 66} 67 68response = requests.request("POST", url, headers=headers, data=payload) 69 70print(response.text)71```72 73> Use this coupon code to get 25% off **DMGG0RBN** 