Flux krea lora image to image

From awesome-genmedia/skills · View interactive version

Flux krea lora image to image is an AI agent skill from the GitHub repository awesome-genmedia/skills. Transform images using Flux Krea with LoRA support. Trigger: Use when the user wants to apply LoRA-based style to an image, or requests 'flux krea lora', 'image to image with lora', or 'restyle image with custom lora'.

How to use this skill

Skill file

Flux Krea | Lora | Image to Image

Transform images using Flux Krea with custom LoRA weights for precise style control. Supports inpainting and image-to-image workflows.

Quick Start

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-krea-lora-image-to-image",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/photo.jpg",
      "prompt": "A portrait in watercolor style with soft pastel colors",
      "guidance_scale": 3.5,
      "num_inference_steps": 28,
      "strength": 0.85
    }
  }'

Parameters

| Parameter | Type | Default | Description |

|-----------|------|---------|-------------|

| enable_safety_checker | boolean | true | If set to true, the safety checker will be enabled |

| guidance_scale | number | 3.5 | CFG scale controlling prompt adherence |

| image_size | string | square | Size of the generated image. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 |

| image_url | string | (empty) | URL of image to use for inpainting or img2img |

| loras | array | false | The LoRAs to use for image generation with custom weights |

| num_images | integer | 1 | The number of images to generate |

| num_inference_steps | integer | 28 | The number of inference steps to perform |

| output_format | string | jpeg | Output format. Options: jpeg, png |

| prompt | string | (empty) | The prompt to generate an image from |

| seed | integer | (empty) | Random seed for reproducible generation |

| strength | number | 0.85 | Strength for inpainting/image-to-image. Only used with image_url |

Output

Examples

LoRA Style Transfer

{
  "model": "flux-krea-lora-image-to-image",
  "version": "0.0.1",
  "input": {
    "image_url": "https://example.com/landscape.jpg",
    "prompt": "A scenic view in anime art style",
    "loras": [{"path": "https://example.com/anime-style-lora.safetensors", "scale": 0.9}],
    "strength": 0.8,
    "guidance_scale": 4.0,
    "num_inference_steps": 30,
    "output_format": "png"
  }
}

Subtle Enhancement

{
  "model": "flux-krea-lora-image-to-image",
  "version": "0.0.1",
  "input": {
    "image_url": "https://example.com/headshot.jpg",
    "prompt": "Professional studio portrait with perfect lighting",
    "strength": 0.5,
    "guidance_scale": 3.0,
    "image_size": "portrait_4_3",
    "seed": 88
  }
}

Related Models

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.