UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

instant-id

instant-id

Instant ID Generate Avatar | AI Avatar Generation. Generate personalized avatars from face photos with extensive controlnet and model options. Triggers: instant id, avatar generator, face avatar, id avatar, personalized avatar

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: instant-id description: "Instant ID Generate Avatar | AI Avatar Generation. Generate personalized avatars from face photos with extensive controlnet and model options. Triggers: instant id, avatar generator, face avatar, id avatar, personalized avatar" allowed-tools: Bash(curl *), WebFetch

Instant ID Generate Avatar

Generate personalized avatars from face photos with extensive ControlNet options (pose, canny, depth), multiple SDXL base models, and configurable identity preservation strength.

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": "instant-id",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/face-photo.jpg",
      "prompt": "a person as a fantasy warrior in golden armor, epic background",
      "num_inference_steps": 4,
      "guidance_scale": 7.5,
      "controlnet_conditioning_scale": 0.8,
      "ip_adapter_scale": 0.8
    }
  }'

Parameters

ParameterTypeDefaultDescription
canny_strengthnumber0.3Canny ControlNet strength (only if enable_canny_controlnet is true)
controlnet_conditioning_scalenumber0.8Scale for IdentityNet strength (for fidelity)
depth_strengthnumber0.5Depth ControlNet strength (only if enable_depth_controlnet is true)
disable_safety_checkerbooleanfalseDisable safety checker
enable_canny_controlnetbooleanfalseEnable canny edge detection control
enable_depth_controlnetbooleanfalseEnable depth control
enable_lcmbooleanfalseEnable LCM for faster inference
enable_pose_controlnetbooleantrueEnable Openpose ControlNet
enhance_nonface_regionbooleantrueEnhance non-face region
guidance_scalenumber7.5Scale for classifier-free guidance
heightinteger640Height of output image
imagestring-Input face image
ip_adapter_scalenumber0.8Scale for image adapter strength (for detail)
lcm_guidance_scalenumber1.5Guidance scale when using LCM
lcm_num_inference_stepsinteger5Steps when using LCM
negative_promptstring-Negative prompt
num_inference_stepsinteger4Number of denoising steps
pose_imagestring-Optional reference pose image
pose_strengthnumber0.4Openpose ControlNet strength
promptstringa personInput prompt
schedulerstringEulerDiscreteSchedulerScheduler. enum: DEISMultistepScheduler, HeunDiscreteScheduler, EulerDiscreteScheduler, DPMSolverMultistepScheduler, DPMSolverMultistepScheduler-Karras, DPMSolverMultistepScheduler-Karras-SDE
sdxl_weightsstringstable-diffusion-xl-base-1.0Base model. enum: stable-diffusion-xl-base-1.0, juggernaut-xl-v8, afrodite-xl-v2, albedobase-xl-20, albedobase-xl-v13, animagine-xl-30, anime-art-diffusion-xl, anime-illust-diffusion-xl, dreamshaper-xl, dynavision-xl-v0610, guofeng4-xl, nightvision-xl-0791, omnigen-xl, pony-diffusion-v6-xl, protovision-xl-high-fidel
seedinteger-Random seed
widthinteger640Width of output image

Examples

Anime avatar with custom base model:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "instant-id",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/selfie.jpg",
      "prompt": "a person as an anime character, colorful, detailed, vibrant background",
      "sdxl_weights": "animagine-xl-30",
      "controlnet_conditioning_scale": 0.7,
      "ip_adapter_scale": 0.9,
      "num_inference_steps": 6,
      "guidance_scale": 8,
      "width": 640,
      "height": 640
    }
  }'

Pose-guided avatar with depth:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "instant-id",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/face.jpg",
      "pose_image": "https://example.com/pose-reference.jpg",
      "prompt": "a person as a cyberpunk hacker in neon-lit room, detailed, high quality",
      "enable_pose_controlnet": true,
      "enable_depth_controlnet": true,
      "pose_strength": 0.5,
      "depth_strength": 0.4,
      "guidance_scale": 7.5,
      "num_inference_steps": 5,
      "seed": 42
    }
  }'

Related Models

Documentation

保存したスキル