How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("TheRealPilot638/animagine-xl-4.0-inference", torch_dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

animagine-xl-4.0 โ€” custom Inference Endpoint handler

Thin custom-handler repo (no weights) that serves cagliostrolab/animagine-xl-4.0 with explicit width/height support โ€” the stock SDXL toolkit container 400s on non-square sizes. Used by the comfyui-orchestrator to render TEM portrait art (scene/sprite 832ร—1216, tiger 896ร—1152, covers 896ร—1344).

Request: {"inputs": "<prompt>", "parameters": {negative_prompt, width, height, num_inference_steps, guidance_scale, seed}}

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for TheRealPilot638/animagine-xl-4.0-inference