by inferen-sh
利用 Pruna 优化的 AI 模型快速创建高质量图像。此技能通过 inference.sh CLI 平台提供快速、经济高效的图像生成和编辑功能。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 p-image 技能" 开始使用
=== p-image 技能 === 作者: inferen-sh 描述: 利用 Pruna 优化的 AI 模型快速创建高质量图像。此技能通过 inference.sh CLI 平台提供快速、经济高效的图像生成和编辑功能。 使用方法: 1. 调用技能: "使用 p-image 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 p-image 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
design
safe
Generate images with Pruna's optimized P-Image models via inference.sh CLI.

Requires inference.sh CLI (
infsh). Get installation instructions:npx skills add inference-sh/skills@agent-tools
infsh login
infsh app run pruna/p-image --input '{"prompt": "a futuristic cityscape at sunset"}'
Pruna optimizes AI models for speed without sacrificing quality.
| Model | App ID | Best For |
|---|---|---|
| P-Image | pruna/p-image | Fast text-to-image, multiple aspect ratios |
| P-Image-LoRA | pruna/p-image-lora | Custom styles with preset LoRAs |
| P-Image-Edit | pruna/p-image-edit | Image editing with multi-image support |
| P-Image-Edit-LoRA | pruna/p-image-edit-lora | Stylized image editing |
infsh app run pruna/p-image --input '{
"prompt": "professional product photo of sneakers, studio lighting",
"aspect_ratio": "1:1"
}'
P-Image-LoRA includes built-in style presets:
infsh app run pruna/p-image-lora --input '{
"prompt": "portrait of a woman in golden hour light",
"lora_preset": "photos-realism"
}'
Available presets: photos-realism, pixel-art, japanese-modern-look, cinematic-movie-style, graffiti-splash, neon-punk, anime-2-5d, ethereal-portrait, retro-90s-style, ink-sketchbook, paper-cut
infsh app run pruna/p-image-edit --input '{
"prompt": "change the background to a beach",
"images": ["https://your-image.jpg"]
}'
infsh app run pruna/p-image-edit --input '{
"prompt": "combine these images into a collage",
"images": ["https://img1.jpg", "https://img2.jpg", "https://img3.jpg"]
}'
infsh app run pruna/p-image --input '{
"prompt": "landscape mountain scene",
"aspect_ratio": "16:9"
}'
Supported ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, or custom with width/height
Pruna offers optimized versions of popular models:
# FLUX Dev (optimized)
infsh app run pruna/flux-dev --input '{"prompt": "..."}'
# FLUX Klein 4B (extremely fast, $0.0001/image)
infsh app run pruna/flux-klein-4b --input '{"prompt": "..."}'
# Qwen Image
infsh app run pruna/qwen-image --input '{"prompt": "..."}'
# Z-Image Turbo (ultra-fast)
infsh app run pruna/z-image-turbo --input '{"prompt": "..."}'
# WAN Image Small (batch generation)
infsh app run pruna/wan-image-small --input '{"prompt": "..."}'
infsh app list --namespace pruna
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@agent-tools
# All image generation models
npx skills add inference-sh/skills@ai-image-generation
# Pruna video generation
npx skills add inference-sh/skills@p-video
# FLUX models
npx skills add inference-sh/skills@flux-image
Browse all apps: infsh app list
View Count
0
Download Count
0
Favorite Count
0
Quality Score
73