POST
javascript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 const axios = require('axios'); const api_key = "YOUR API-KEY"; const url = "https://api.segmind.com/v1/sdxl1.0-yamers-realistic"; const data = { "prompt": "1girl, a beautiful shieldmaiden from Rohan before Edoras, (masterpiece, extremely detailed, professional photography), (beautiful detailed face, high cheek bones, pointy chin, slim face, beautiful green eyes), horse-shaped golden earrings, braided hair, (freckles:0.5, moles:0.5), standing on a green prairie with evergreen flowers, slender, fit, long eyelashes, black eyeshadow, eyeliner, focus on eyes, intricate detailed background, intricate fantasy cloths, stunningly pretty, hyper realistic details, cinematic lighting, cinematic quality, sharpen, fighting stance, scale mail, half helmet, round wooden shield, broadsword in hand, redhead, braids, leather armbands, snowed White Mountains can be seen far in the background, conysv3-1400, remarkable colors, ultra realistic, textured skin, remarkable detailed pupils, perfect symmetric eyes, realistic dull skin noise, visible skin detail, skin fuzz, dry skin, shallow depth of field, highly detailed, OverallDetail, gorgeous, eye catchlights, skin pores, imperfections, natural, dark mascara,eyeliner2", "negative_prompt": "old, ugly, easynegative, Unspeakable-Horrors-Composition-4v By bad artist -neg bad-hands-5 bad_prompt_version2 verybadimagenegative_v1.3 (elf, elf ears, elf maiden), FastNegativeV2, Watermark, Text, censored, deformed, bad anatomy, disfigured, poorly drawn face, mutated, extra limb, ugly, poorly drawn hands, missing limb, floating limbs, disconnected limbs, disconnected head, malformed hands, long neck, mutated hands and fingers, bad hands, missing fingers, cropped, worst quality, low quality, mutation, poorly drawn, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, missing fingers, fused fingers, abnormal eye proportion, Abnormal hands, abnormal legs, abnormal feet, abnormal fingers", "samples": 1, "scheduler": "DPM++ 2M Karras", "num_inference_steps": 30, "guidance_scale": 7, "seed": 565481734, "img_width": 896, "img_height": 1152, "base64": false }; (async function() { try { const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } }); console.log(response.data); } catch (error) { console.error('Error:', error.response.data); } })();
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


promptstr *

Prompt to render


negative_promptstr ( default: None )

Prompts to exclude, eg. 'bad anatomy, bad hands, missing fingers'


samplesint ( default: 1 ) Affects Pricing

Number of samples to generate.

min : 1,

max : 4


schedulerenum:str ( default: DPM++ 2M Karras )

Type of scheduler.

Allowed values:


num_inference_stepsint ( default: 25 ) Affects Pricing

Number of Inference steps.

min : 20,

max : 100


guidance_scalefloat ( default: 7 )

Scale for classifier-free guidance

min : 1,

max : 15


seedint ( default: -1 )

Seed for image generation.

min : -1,

max : 999999999999999


img_widthint ( default: 1024 ) Affects Pricing

Image width can be between 512 and 2048 in multiples of 8


img_heightint ( default: 1024 ) Affects Pricing

Image height can be between 512 and 2048 in multiples of 8


base64boolean ( default: 1 )

Base64 encoding of the output image.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Yamer's Realistic SDXL

Yamer's Realistic SDXL generates stunning images that blur the lines between imagination and reality. It prioritizes a natural, believable kind of realism. It captures the essence of a real-life scene or character, imperfections and all, for a truly immersive experience. This approach goes beyond the hyper-detailed, perfectly smooth aesthetic of photorealism, offering a more artistic take on realism.

Yamer's Realistic SDXL excels at generating a wide range of visuals:

  • Full Body Figures: Bring detailed character designs to life, allowing you to craft realistic portrayals from head to toe.

  • Captivating Close-Ups: Capture the raw emotion and intricate details in portraits, perfect for capturing a character's essence.

  • Breathtaking Landscapes: Envision stunning vistas and fantastical environments, ideal for creating immersive backgrounds or showcasing fantastical worlds.

  • Interior Design Dreamscapes: Craft photorealistic depictions of your dream home or a futuristic cityscape, bringing your design ideas to stunning life.

To achieve an even more convincing level of realism, incorporate these trigger words into your prompts:

  • Realistic

  • Ultra realistic

  • Photorealistic

  • Photo

  • Raw Photo

  • Photography

By using these keywords, Yamer's Realistic SDXL will take your vision to the next level, producing images that are undeniably realistic.