Shuttle Jaguar is a text-to-image AI model designed to generate highly aesthetic, cinematic, and realistic images from textual prompts in just four steps, all while being licensed under Apache 2.
Using the model via API
You can use Shuttle Jaguar via API through ShuttleAI
Then you can use
DiffusionPipeline
to run the model
import torch
from diffusers import DiffusionPipeline
# Load the diffusion pipeline from a pretrained model, using bfloat16 for tensor types.
pipe = DiffusionPipeline.from_pretrained(
"shuttleai/shuttle-jaguar", torch_dtype=torch.bfloat16
).to("cuda")
# Uncomment the following line to save VRAM by offloading the model to CPU if needed.# pipe.enable_model_cpu_offload()# Uncomment the lines below to enable torch.compile for potential performance boosts on compatible GPUs.# Note that this can increase loading times considerably.# pipe.transformer.to(memory_format=torch.channels_last)# pipe.transformer = torch.compile(# pipe.transformer, mode="max-autotune", fullgraph=True# )# Set your prompt for image generation.
prompt = "A cat holding a sign that says hello world"# Generate the image using the diffusion pipeline.
image = pipe(
prompt,
height=1024,
width=1024,
guidance_scale=3.5,
num_inference_steps=4,
max_sequence_length=256,
# Uncomment the line below to use a manual seed for reproducible results.# generator=torch.Generator("cpu").manual_seed(0)
).images[0]
# Save the generated image.
image.save("shuttle.png")
To learn more check out the
diffusers
documentation
shuttle-jaguar huggingface.co is an AI model on huggingface.co that provides shuttle-jaguar's model effect (), which can be used instantly with this shuttleai shuttle-jaguar model. huggingface.co supports a free trial of the shuttle-jaguar model, and also provides paid use of the shuttle-jaguar. Support call shuttle-jaguar model through api, including Node.js, Python, http.
shuttle-jaguar huggingface.co is an online trial and call api platform, which integrates shuttle-jaguar's modeling effects, including api services, and provides a free online trial of shuttle-jaguar, you can try shuttle-jaguar online for free by clicking the link below.
shuttleai shuttle-jaguar online free url in huggingface.co:
shuttle-jaguar is an open source model from GitHub that offers a free installation service, and any user can find shuttle-jaguar on GitHub to install. At the same time, huggingface.co provides the effect of shuttle-jaguar install, users can directly use shuttle-jaguar installed effect in huggingface.co for debugging and trial. It also supports api for free installation.