ilkerzgi's picture
Upload README.md with huggingface_hub
57ccb53 verified
|
Raw
History Blame
3.85 kB
metadata
language:
  - en
base_model:
  - krea/Krea-2-Turbo
pipeline_tag: text-to-image
library_name: diffusers
license: other
license_name: krea-2-community-license
license_link: https://huggingface.co/krea/Krea-2-LoRA-impressionist/blob/main/LICENSE.pdf
instance_prompt: azure sunlit storybook style
tags:
  - lora
  - text-to-image
  - krea
  - krea-2
  - fal-ai
  - template:diffusion-lora
  - illustration
widget:
  - text: a city skyline at night. azure sunlit storybook style
    output:
      url: images/ex_1.png
  - text: a quiet forest path in autumn. azure sunlit storybook style
    output:
      url: images/ex_2.png
  - text: a red fox in tall grass. azure sunlit storybook style
    output:
      url: images/ex_3.png
  - text: a sailboat on a calm sea. azure sunlit storybook style
    output:
      url: images/ex_4.png
  - text: a lighthouse on a rocky cliff. azure sunlit storybook style
    output:
      url: images/ex_5.png
  - text: a still life of fruit and a vase. azure sunlit storybook style
    output:
      url: images/ex_6.png
fal

Azure Sunlit Storybook

fal · Krea 2 Style LoRA series. One of 1600+ style LoRAs trained on fal.

A Krea 2 style LoRA. Add the trigger azure sunlit storybook style to the end of your prompt.

Run on fal.ai Train on fal.ai Krea 2

Prompt
a city skyline at night. azure sunlit storybook style
Prompt
a quiet forest path in autumn. azure sunlit storybook style
Prompt
a red fox in tall grass. azure sunlit storybook style
Prompt
a sailboat on a calm sea. azure sunlit storybook style
Prompt
a lighthouse on a rocky cliff. azure sunlit storybook style
Prompt
a still life of fruit and a vase. azure sunlit storybook style

Quick start

Parameter Value
Trigger azure sunlit storybook style
Recommended LoRA scale 1.0 to 1.25
Base model krea/Krea-2-Turbo
Trained on fal-ai/krea-2-trainer

Inference on fal

Python

import fal_client

result = fal_client.subscribe(
    "fal-ai/krea-2/turbo/lora",
    arguments={
        "prompt": "a lighthouse on a rocky cliff. azure sunlit storybook style",
        "loras": [{"path": "https://huggingface.co/ilkerzgi/krea-2-azure-sunlit-storybook-lora/resolve/main/azure-sunlit-storybook.safetensors", "scale": 1.0}],
        "image_size": {"width": 1024, "height": 1280},
    },
)
print(result["images"][0]["url"])

JavaScript

import { fal } from "@fal-ai/client";

const { data } = await fal.subscribe("fal-ai/krea-2/turbo/lora", {
  input: {
    prompt: "a lighthouse on a rocky cliff. azure sunlit storybook style",
    loras: [{ path: "https://huggingface.co/ilkerzgi/krea-2-azure-sunlit-storybook-lora/resolve/main/azure-sunlit-storybook.safetensors", scale: 1.0 }],
    image_size: { width: 1024, height: 1280 },
  },
});
console.log(data.images[0].url);

Train your own on fal

Every LoRA in this series is trained on fal-ai/krea-2-trainer (100 steps, learning rate 3.5e-4). Train your own style from 4 to 10 reference images:

import fal_client

result = fal_client.subscribe(
    "fal-ai/krea-2-trainer",
    arguments={
        "images_data_url": "https://.../your-dataset.zip",
        "trigger_phrase": "azure sunlit storybook style",
        "steps": 100,
        "learning_rate": 0.00035,
    },
)
print(result)

License

Krea 2 Community License. See the license.