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

sdxl-ad-inpaint

sdxl-ad-inpaint

【效率与协作】SDXL Ad Inpaint | Product Ad Image Generation. Generate product advertisement images with inpainting using SDXL. Triggers: sdxl ad inpaint, product ad, ad generation, product photography, ad inpainting

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

技能说明

GitHub

name: sdxl-ad-inpaint description: "SDXL Ad Inpaint | Product Ad Image Generation. Generate product advertisement images with inpainting using SDXL. Triggers: sdxl ad inpaint, product ad, ad generation, product photography, ad inpainting" allowed-tools: Bash(curl *), WebFetch

SDXL Ad Inpaint

Generate product advertisement images with inpainting using SDXL. Place products in professional ad settings with configurable composition, refinement steps, and product fill options.

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-ad-inpaint",
    "version": "0.0.1",
    "input": {
      "prompt": "a premium skincare product on a marble surface with rose petals, luxury beauty advertisement, studio lighting",
      "image": "https://example.com/product-cutout.jpg",
      "guidance_scale": 7.5,
      "num_inference_steps": 40,
      "img_size": "1024, 1024"
    }
  }'

Parameters

ParameterTypeDefaultDescription
apply_imgbooleantrueApply image as input to guide the model
condition_scalenumber0.9Condition scale for ControlNet strength
guidance_scalenumber7.5Guidance scale for generation
imagestring-Input image to guide the output
img_sizestring1024, 1024Image size dimensions
negative_promptstringlow quality, out of frame, illustration, 3d, sepia, painting, cartoons, sketch, watermark, text, Logo, advertisementNegative prompt
num_inference_stepsinteger40Number of inference steps
num_refine_stepsinteger10Additional refinement passes
product_fillstringOriginalProduct fill mode. enum: Original, 80, 70, 60, 50, 40, 30, 20
promptstring-Text prompt for ad generation
schedulerstringK_EULERScheduler. enum: DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM
seedinteger-Random seed for reproducibility

Examples

Luxury product ad:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-ad-inpaint",
    "version": "0.0.1",
    "input": {
      "prompt": "a premium perfume bottle on a reflective gold surface, dramatic studio lighting, luxury advertisement, bokeh background",
      "image": "https://example.com/perfume-bottle.jpg",
      "guidance_scale": 8,
      "num_inference_steps": 50,
      "num_refine_steps": 15,
      "product_fill": "70",
      "scheduler": "KarrasDPM"
    }
  }'

Food product photography:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-ad-inpaint",
    "version": "0.0.1",
    "input": {
      "prompt": "a fresh juice bottle on a rustic wooden table with fresh fruits and herbs, natural daylight, food photography",
      "image": "https://example.com/juice-bottle.jpg",
      "guidance_scale": 7.5,
      "num_inference_steps": 40,
      "condition_scale": 0.85,
      "seed": 42
    }
  }'

Related Models

Documentation

我的收藏