인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

p-image-edit-lora-image-edit

p-image-edit-lora-image-edit

Pruna | P-Image Edit LoRA | Image Editing. Edit images using custom LoRA weights with prompt-based instructions. Triggers: image edit, lora, pruna, edit image, image editing

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: p-image-edit-lora-image-edit description: "Pruna | P-Image Edit LoRA | Image Editing. Edit images using custom LoRA weights with prompt-based instructions. Triggers: image edit, lora, pruna, edit image, image editing" allowed-tools: Bash(curl *), WebFetch

Pruna | P-Image Edit LoRA | Image Editing

Edit images using custom LoRA weights trained with p-image-edit-trainer. Supports multi-image editing with prompt-based instructions and configurable LoRA 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": "p-image-edit-lora-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Make image 1 look like a watercolor painting",
      "images": ["https://example.com/photo.jpg"],
      "lora_weights": "https://huggingface.co/my-org/my-edit-lora",
      "lora_scale": 1,
      "aspect_ratio": "match_input_image"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostringmatch_input_imageOutput aspect ratio. enum: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
disable_safety_checkerbooleanfalseDisable safety checker for generated images.
hf_api_tokenstringfalseHuggingFace API token for accessing private LoRA repositories.
imagesarrayfalseArray of 1-5 image URLs for editing.
lora_scalenumber1LoRA strength (-1 to 3). Default 1 for edit LoRAs.
lora_weightsstringfalseHuggingFace URL to LoRA weights. Must be trained with p-image-edit-trainer.
promptstringfalseText prompt describing the edit. Refer to images as image 1, image 2, etc.
seedintegerfalseRandom seed for reproducible generation.
turbobooleantrueFaster optimizations. Set false for complex tasks.

Examples

Basic image edit with LoRA:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "p-image-edit-lora-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Apply a vintage film look to image 1",
      "images": ["https://example.com/landscape.jpg"],
      "lora_weights": "https://huggingface.co/my-org/vintage-lora",
      "lora_scale": 0.8
    }
  }'

Multi-image edit with custom aspect ratio:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "p-image-edit-lora-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Combine the style of image 1 with the subject of image 2",
      "images": ["https://example.com/style.jpg", "https://example.com/subject.jpg"],
      "lora_weights": "https://huggingface.co/my-org/style-transfer-lora",
      "lora_scale": 1.2,
      "aspect_ratio": "16:9",
      "turbo": false,
      "seed": 42
    }
  }'

High LoRA strength edit:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "p-image-edit-lora-image-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Transform image 1 into a cartoon character",
      "images": ["https://example.com/portrait.jpg"],
      "lora_weights": "https://huggingface.co/my-org/cartoon-lora",
      "lora_scale": 2.5,
      "disable_safety_checker": false
    }
  }'

Related Models

Documentation

저장한 Skills