Sdxl controlnet

From awesome-genmedia/skills · View interactive version

Sdxl controlnet is an AI agent skill from the GitHub repository awesome-genmedia/skills. SDXL Controlnet | Controlled Image Generation. Generate images guided by input images using ControlNet with SDXL. Triggers: sdxl controlnet, controlnet, controlled generation, image to image, sdxl control

How to use this skill

Skill file

SDXL Controlnet

Generate images guided by input images using ControlNet with the SDXL model. Control the generation process with a reference image and text prompt for precise structural guidance.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-controlnet",
    "version": "0.0.1",
    "input": {
      "prompt": "aerial view, a futuristic research complex in a bright foggy jungle, hard lighting",
      "image": "https://example.com/reference-layout.jpg",
      "condition_scale": 0.5,
      "num_inference_steps": 50
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| condition_scale | number | 0.5 | ControlNet conditioning scale for generalization |

| image | string | - | Input image for img2img or inpaint mode |

| negative_prompt | string | low quality, bad quality, sketches | Input negative prompt |

| num_inference_steps | integer | 50 | Number of denoising steps |

| prompt | string | aerial view, a futuristic research complex... | Input prompt |

| seed | integer | 0 | Random seed. Set to 0 to randomize |

Examples

Architectural visualization:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-controlnet",
    "version": "0.0.1",
    "input": {
      "prompt": "a modern glass skyscraper reflecting sunset clouds, photorealistic, architectural photography",
      "image": "https://example.com/building-sketch.jpg",
      "condition_scale": 0.7,
      "num_inference_steps": 50,
      "negative_prompt": "low quality, blurry, distorted"
    }
  }'

Artistic style transfer:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-controlnet",
    "version": "0.0.1",
    "input": {
      "prompt": "a vibrant oil painting of a garden path with blooming roses, impressionist style",
      "image": "https://example.com/garden-path.jpg",
      "condition_scale": 0.4,
      "num_inference_steps": 40,
      "seed": 12345
    }
  }'

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.