Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

akhaliq
/
MiniMax-H3-Image-Character-Swap

Image-to-Image
Diffusers
Safetensors
MiniMax H3
English
character-swap
image-editing
lora-merge
ml-intern
Model card Files Files and versions
xet
Community
3

Instructions to use akhaliq/MiniMax-H3-Image-Character-Swap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use akhaliq/MiniMax-H3-Image-Character-Swap with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("akhaliq/MiniMax-H3-Image-Character-Swap", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
MiniMax-H3-Image-Character-Swap / comfyui
40.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
akhaliq's picture
akhaliq HF Staff
Upload comfyui/workflows/minimax-h3-image-character-swap.json with huggingface_hub
617d7fe verified 2 days ago
  • workflows
    Upload comfyui/workflows/minimax-h3-image-character-swap.json with huggingface_hub 2 days ago
  • minimax_h3_image_character_swap_bf16.provenance.json
    440 Bytes
    Upload comfyui/minimax_h3_image_character_swap_bf16.provenance.json with huggingface_hub 2 days ago
  • minimax_h3_image_character_swap_bf16.safetensors
    40.2 GB
    xet
    Upload comfyui/minimax_h3_image_character_swap_bf16.safetensors with huggingface_hub 2 days ago