Back to Skills

p-image

Generate images with Pruna P-Image models via inference.sh CLI. Models: P-Image, P-Image-LoRA, P-Image-Edit, P-Image-Edit-LoRA. Capabilities: text-to-image, image editing, LoRA styles, multi-image compositing, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna, p-image, pruna image, fast image generation, optimized flux, pruna ai, p image, fast ai image, economic image generation, cheap image generation

314stars49forksUpdated 4/8/2026

Security Assessment

Safe(100/100)
Security Score100/100

About p-image

The 'p-image' skill enables users to generate images using Pruna's optimized P-Image models through the inference.sh CLI. This skill addresses the need for fast, high-quality image generation by providing multiple models tailored to various image creation tasks. With support for text-to-image generation, image editing, and LoRA-based stylization, it ensures users can create a wide range of visual content efficiently. Additionally, the Pruna models are optimized for speed without compromising the quality of the generated images, making it a powerful tool for rapid content creation across multiple domains.

The skill includes several distinct models, each designed to handle different image creation tasks. 'P-Image' is ideal for quick text-to-image generation with multiple aspect ratios, while 'P-Image-LoRA' allows for custom styles using predefined LoRA presets. 'P-Image-Edit' supports image editing, including the ability to modify backgrounds and combine multiple images into one composition. Furthermore, users can customize aspect ratios to suit their specific needs, enhancing flexibility. The skill supports a variety of workflows, from simple image generation to more advanced tasks like multi-image compositing and stylistic adjustments using LoRA presets.

This skill is targeted at designers, artists, content creators, and developers who require fast and affordable image generation for both personal and professional use. Whether for creating marketing visuals, product photography, or stylized artworks, 'p-image' provides an accessible and scalable solution for high-quality image creation. It is also well-suited for projects where rapid prototyping and iterative adjustments are needed.

FAQ

How do I start using the p-image skill?

To begin using the 'p-image' skill, you need to install the inference.sh CLI ('infsh'). Once installed, you can log in and run the command to generate images, such as 'infsh app run pruna/p-image --input {"prompt": "a futuristic cityscape at sunset"}'.

Which models are available in the p-image skill?

The 'p-image' skill includes four primary models: 'P-Image' for fast text-to-image generation, 'P-Image-LoRA' for custom styles with LoRA presets, 'P-Image-Edit' for image editing and multi-image support, and 'P-Image-Edit-LoRA' for stylized image editing.

Can I customize the aspect ratio of the generated images?

Yes, you can customize the aspect ratio for your generated images. Supported ratios include common formats like '1:1', '16:9', and '4:3', or you can specify custom ratios with a specific width/height.

Are there any requirements or limitations for using the p-image skill?

To use the 'p-image' skill, you need to have the inference.sh CLI installed. The skill also requires an internet connection to interact with the models hosted on the inference.sh platform. There are no other significant limitations, but the quality of generated images may depend on the model and the complexity of the prompt.

Install p-image

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill