界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

sdxl-controlnet

sdxl-controlnet

【效率与协作】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

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: sdxl-controlnet description: "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" allowed-tools: Bash(curl *), WebFetch

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

ParameterTypeDefaultDescription
condition_scalenumber0.5ControlNet conditioning scale for generalization
imagestring-Input image for img2img or inpaint mode
negative_promptstringlow quality, bad quality, sketchesInput negative prompt
num_inference_stepsinteger50Number of denoising steps
promptstringaerial view, a futuristic research complex...Input prompt
seedinteger0Random 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

我的收藏