stablediffusionapi/sdxl-unstable-diffusers-y
111k
1---2license: creativeml-openrail-m3tags:4 - stablediffusionapi.com5 - stable-diffusion-api6 - text-to-image7 - ultra-realistic8pinned: true9---10 11# SDXL Unstable Diffusers ☛ YamerMIX V8 API Inference12 1314## Get API Key15 16Get API key from [ModelsLab](https://modelslab.com/), No Payment needed. 17 18Replace Key in below code, change **model_id** to "sdxl-unstable-diffusers-y"19 20Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://stablediffusionapi.com/docs)21 22Try model for free: [Generate Images](https://stablediffusionapi.com/models/sdxl-unstable-diffusers-y)23 24Model link: [View model](https://stablediffusionapi.com/models/sdxl-unstable-diffusers-y)25 26Credits: [View credits](https://civitai.com/?query=SDXL%20Unstable%20Diffusers%20%E2%98%9B%20YamerMIX%20V8)27 28View all models: [View Models](https://stablediffusionapi.com/models)29 30 import requests 31 import json 32 33 url = "https://stablediffusionapi.com/api/v4/dreambooth" 34 35 payload = json.dumps({ 36 "key": "your_api_key", 37 "model_id": "sdxl-unstable-diffusers-y", 38 "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", 39 "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", 40 "width": "512", 41 "height": "512", 42 "samples": "1", 43 "num_inference_steps": "30", 44 "safety_checker": "no", 45 "enhance_prompt": "yes", 46 "seed": None, 47 "guidance_scale": 7.5, 48 "multi_lingual": "no", 49 "panorama": "no", 50 "self_attention": "no", 51 "upscale": "no", 52 "embeddings": "embeddings_model_id", 53 "lora": "lora_model_id", 54 "webhook": None, 55 "track_id": None 56 }) 57 58 headers = { 59 'Content-Type': 'application/json' 60 } 61 62 response = requests.request("POST", url, headers=headers, data=payload) 63 64 print(response.text)65 66> Use this coupon code to get 25% off **DMGG0RBN** 