flux_lora_natalie-diffusion
10
1 language
—
by
ZennyKenny
Image Model
OTHER
New
10 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
This is a LoRA for the FLUX.
Code Examples
Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Trigger wordspython
import replicate
input = {
"prompt": "XTON",
"lora_weights": "https://huggingface.co/ZennyKenny/flux_lora_natalie-diffusion/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)pythonpytorch
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ZennyKenny/flux_lora_natalie-diffusion', weight_name='lora.safetensors')
image = pipeline('XTON').images[0]Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.