Run this model with HF Jobs
Run Muapi/sailor-mercury on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Muapi/sailor-mercury. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Muapi/sailor-mercury on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Muapi/sailor-mercury with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/sailor-mercury with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/sailor-mercury") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Muapi/sailor-mercury")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Sailor Mercury
Base model: Illustrious Trained words: sailor mercury,blue eyes,blue hair,short hair,parted bangs,medium breasts,tiara,blue back bow,blue sailor collar,blue skirt,(0light blue bow:2),long back bow,choker,earrings,gloves,jewelry,heart brooch,magical girl,miniskirt,pleated skirt,sailor collar,sailor senshi uniform,leotard,skirt,stud earrings,sleeveless,, mizuno ami,solo,blue eyes,blue hair,short hair,medium breasts,skirt,blue skirt,blue sailor collar,school uniform,sailor collar,pleated skirt,blue back bow,serafuku,short sleeves,puffy sleeves,red bow,puffy short sleeves,
π§ Usage (Python)
π Get your MUAPI key from muapi.ai/access-keys
import requests, os
url = "https://api.muapi.ai/api/v1/sdxl-lora-image"
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
payload = {
"prompt": "masterpiece, best quality",
"lora_model": "sailor-mercury",
"lora_strength": 1.0,
"width": 1024,
"height": 1024,
"num_images": 1
}
print(requests.post(url, headers=headers, json=payload).json())
- Downloads last month
- 13
Model tree for Muapi/sailor-mercury
Base model
KBlueLeaf/kohaku-xl-beta5