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

p-image-lora-text-to-image

p-image-lora-text-to-image

Pruna | P-Image LoRA | Text to Image. Generate images from text prompts using custom LoRA weights. Triggers: text to image, lora, pruna, generate image, t2i

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: p-image-lora-text-to-image description: "Pruna | P-Image LoRA | Text to Image. Generate images from text prompts using custom LoRA weights. Triggers: text to image, lora, pruna, generate image, t2i" allowed-tools: Bash(curl *), WebFetch

Pruna | P-Image LoRA | Text to Image

Generate images from text descriptions using custom LoRA weights from HuggingFace. Supports configurable aspect ratios, prompt upsampling, and custom dimensions.

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-lora-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A serene mountain landscape at sunset with golden light",
      "lora_weights": "https://huggingface.co/my-org/my-style-lora",
      "lora_scale": 0.5,
      "aspect_ratio": "16:9"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9Aspect ratio for the generated image. custom: use width/height for exact dimensions. enum: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, custom
disable_safety_checkerbooleanfalseDisable safety checker for generated images.
heightintegerfalseCustom height in pixels (256-1440, multiple of 16). Only when aspect_ratio=custom.
hf_api_tokenstringfalseHuggingFace API token for accessing private LoRA repositories.
lora_scalenumber0.5LoRA strength (-1 to 3). 0.5 works well for most LoRAs.
lora_weightsstringfalseHuggingFace URL to LoRA weights.
promptstringfalseText description of the image to generate.
prompt_upsamplingbooleanfalseUpsample prompt with LLM for enhanced results.
seedintegerfalseRandom seed for reproducible generation.
widthintegerfalseCustom width in pixels (256-1440, multiple of 16). Only when aspect_ratio=custom.

Examples

Generate a landscape image:

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-lora-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A cyberpunk cityscape with neon lights reflecting on wet streets",
      "lora_weights": "https://huggingface.co/my-org/cyberpunk-lora",
      "aspect_ratio": "16:9",
      "prompt_upsampling": true
    }
  }'

Custom dimensions with seed:

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-lora-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "Portrait of a fantasy elf warrior in armor",
      "lora_weights": "https://huggingface.co/my-org/fantasy-lora",
      "lora_scale": 0.7,
      "aspect_ratio": "custom",
      "width": 768,
      "height": 1024,
      "seed": 12345
    }
  }'

Square image with high LoRA influence:

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-lora-text-to-image",
    "version": "0.0.1",
    "input": {
      "prompt": "A still life painting of flowers in a vase",
      "lora_weights": "https://huggingface.co/my-org/oil-painting-lora",
      "lora_scale": 1.5,
      "aspect_ratio": "1:1"
    }
  }'

Related Models

Documentation

저장한 Skills