Model: Real_WoW_XL: v1.0
Prompt:
Made_of_pieces_broken_glass solo,wings,blurry,no humans,bird,animal focus,debris,beak,shards, bright colors, glowing, electric waves, <lora:Made_of_pieces_broken_glass-000001:0.8>
Negative prompt:
(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, close eyes, long neck
Steps: 60
Cfg scale: 3.0
Width: 712
Height: 1412
Sampler name: DPM++ 2M Karras
Denoising strength: Default
Image with seed 787617596 by preset 'Eagle2'
ID: 7142590047351291905

Seed: 787617596

Added: 2023-12-18 19:02:50 UTC

View

Copy this Preset

Image with seed 106298102 by preset 'Eagle2'
ID: 7142589183311712257

Seed: 106298102

Added: 2023-12-18 18:59:24 UTC

View

Copy this Preset

Image with seed 1149590063 by preset 'Eagle2'
ID: 7142588264365031425

Seed: 1149590063

Added: 2023-12-18 18:55:45 UTC

View

Copy this Preset

Image with seed 1782862143 by preset 'Eagle2'
ID: 7142587820460081153

Seed: 1782862143

Added: 2023-12-18 18:53:59 UTC

View

Copy this Preset

Image with seed 2770885079 by preset 'Eagle2'
ID: 7142587042100047873

Seed: 2770885079

Added: 2023-12-18 18:50:53 UTC

View

Copy this Preset


            

              body = {"preset_name": "Eagle2", "seed": None }
headers = {"Token": "<YOUR_API_KEY>"}

# ------------------------------------------------------------------------------------

preset_name = body.get("preset_name")

import time
import requests

if not preset_name:
    print("Please, enter a 'preset_name' variable to start the generation process ;)")
    exit()

url = "https://stdiff.io/api/preset2image"
session = requests.Session()
response = session.post(url, json=body, headers=headers).json()
# {
#     "success": true,
#     "task_id": "7133745436839378945",
#     "preset_name": "preset-1",
#     "seed": null
# }
task_id = response.get("task_id")
if task_id:
    print(f"Request to generate AI image based on the preset `{preset_name}` "
          f"was created successfully. Task ID: `{task_id}`")
    new_response = {}
else:
    new_response = response

status = None
while not status == "GENERATED" and task_id:
    print("Getting latest image generating status from the server...")
    new_response = session.get(url, params={"task_id": task_id}, headers=headers).json()
    status = new_response.get("status")
    print(f"...status: {status}")
    if status == "ERROR" or not status:
        break
    time.sleep(5)

if status == "GENERATED":
    print(f"Yohoo! Image was successfully generated. You can download it from here:"
          f" {new_response.get('image_url')}")
else:
    print(f"Error occurred when trying to generate image. Response: {new_response}")

# {
#     "success": true,
#     "task_id": "7133745436839378945",
#     "status": "GENERATED",
#     "image_url": "https://stdiff.io/media/generated_images/preset-3_1163882438_9c716427b787f3202e708a572ef38f7d.png"
# }

        

            
curl https://stdiff.io/api/preset2image -H 'TOKEN: <YOUR_API_KEY>' -H 'Content-Type: application/json' -d '{"preset_name": "Eagle2"}'

        

Postman and Swagger UI are available