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

become-image

become-image

【效率与协作】Image to Become | Style Transfer with Identity Preservation. Transform a person's photo into any style while preserving their identity. Triggers: become image, style transfer, identity transfer, person transform, image become

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

技能说明

GitHub

name: become-image description: "Image to Become | Style Transfer with Identity Preservation. Transform a person's photo into any style while preserving their identity. Triggers: become image, style transfer, identity transfer, person transform, image become" allowed-tools: Bash(curl *), WebFetch

Image to Become

Transform a person's photo into any target style while preserving their facial identity. Upload a person's photo and a target style image to generate a blend using InstantID technology.

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": "become-image",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/person-photo.jpg",
      "image_to_become": "https://example.com/superhero-poster.jpg",
      "prompt": "a superhero in an action pose",
      "instant_id_strength": 1,
      "image_to_become_strength": 0.75
    }
  }'

Parameters

ParameterTypeDefaultDescription
control_depth_strengthnumber0.8Strength of depth controlnet
denoising_strengthnumber1How much of the original image to keep. 1 is complete destruction
disable_safety_checkerbooleantrueDisable safety checker
imagestring-An image of a person to be converted
image_to_becomestring-Any image to convert the person to
image_to_become_noisenumber0.3Noise added to style image before processing
image_to_become_strengthnumber0.75How strong the style will be applied
instant_id_strengthnumber1How strong the InstantID will be
negative_promptstring-Things you do not want in the image
number_of_imagesinteger2Number of images to generate
promptstringa personPrompt to guide generation
prompt_strengthnumber2CFG scale, higher numbers lead to stronger prompt influence
seedinteger-Fix random seed for reproducibility

Examples

Transform into painting style:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "become-image",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/selfie.jpg",
      "image_to_become": "https://example.com/renaissance-painting.jpg",
      "prompt": "a Renaissance nobleman in oil painting style",
      "instant_id_strength": 0.9,
      "image_to_become_strength": 0.8,
      "number_of_images": 3,
      "seed": 42
    }
  }'

Cosplay transformation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "become-image",
    "version": "0.0.1",
    "input": {
      "image": "https://example.com/face-photo.jpg",
      "image_to_become": "https://example.com/anime-character.jpg",
      "prompt": "an anime character with dramatic lighting",
      "instant_id_strength": 1,
      "image_to_become_strength": 0.7,
      "control_depth_strength": 0.6,
      "denoising_strength": 0.9
    }
  }'

Related Models

Documentation

我的收藏