✨
简介
PixelDojo
原始描述
Access PixelDojo's API for AI image and video generation. Use when an agent needs to create images or videos, choose a model from the live PixelDojo catalog,...
技能正文
name: pixeldojo description: Generate AI images and videos using PixelDojo API. Supports 60+ models including Flux 2, WAN, Veo 3.1, Imagen 4, Kling, and more. Handles async job submission, status polling, and automatic downloading of results. metadata: { "clawhub": { "requires": { "env": ["PIXELDOJO_API_KEY"], "bins": ["curl", "jq"] }, "homepage": "https://pixeldojo.ai", "source": "https://github.com/blovett80/pixeldojo-skill" } }
PixelDojo Skill
Generate AI images and videos using the PixelDojo API platform.
Setup
- Get API Key: Sign up at https://pixeldojo.ai/api-platform
- Buy Credits: Purchase credits at https://pixeldojo.ai/api-platform/buy-credits
- $5 = ~800 images with P-Image model
- Set Environment Variable:
(Or copyexport PIXELDOJO_API_KEY=your_api_key_here.env.exampleto.envand fill in your key)
- API Documentation: https://pixeldojo.ai/api-platform
- Base URL:
https://pixeldojo.ai/api/v1
Available Models
Image Models
flux-1.1-pro- Latest pro model with enhanced quality (recommended)flux-1.1-pro-ultra- Highest quality Flux model with raw modeflux-dev- Development model with configurable steps and LoRA supportflux-krea-dev- Photorealistic, avoids oversaturated AI lookflux-kontext-pro- Advanced model with editing capabilitiesflux-kontext-max- Premium model with maximum performance
Video Models
wan-2.6-flash- Fast video generationwan-2.2- Higher quality videoveo-3.1- Google's Veo 3.1 with native audiokling-2.5-turbo-pro- Kling turbokling-pro- Kling professionalminimax- Minimax video
Core Operations
Generate Image
# Basic image generation
bash ~/.openclaw/skills/pixeldojo/generate.sh image "a serene mountain landscape at sunset" flux-2
# With options
bash ~/.openclaw/skills/pixeldojo/generate.sh image "cyberpunk city" flux-2 --aspect-ratio 16:9 --output ~/Desktop/cyberpunk.png
Generate Video
# Text-to-video
bash ~/.openclaw/skills/pixeldojo/generate.sh video "ocean waves crashing on rocks" wan-2.6-flash --duration 5
# Image-to-video
bash ~/.openclaw/skills/pixeldojo/generate.sh video "make it cinematic" wan-2.6-flash --image-url https://example.com/image.png --duration 5
Check Job Status
bash ~/.openclaw/skills/pixeldojo/status.sh job_abc123
List Available Models
bash ~/.openclaw/skills/pixeldojo/models.sh
API Reference
Submit Job
- Endpoint:
POST /api/v1/models/{model}/run - Headers:
Authorization: Bearer {API_KEY},Content-Type: application/json - Body (Image):
{ "prompt": "description of image", "aspect_ratio": "16:9" } - Body (Video):
{ "prompt": "description of video", "image_url": "https://...", // optional, for image-to-video "duration": 5, // seconds "aspect_ratio": "16:9" } - Response:
{ "jobId": "job_abc123", "status": "pending", "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123" }
Check Status
- Endpoint:
GET /api/v1/jobs/{job_id} - Headers:
Authorization: Bearer {API_KEY} - Response (completed):
{ "jobId": "job_abc123", "status": "completed", "output": { "image": "https://temp.pixeldojo.ai/...png", "video": "https://temp.pixeldojo.ai/...mp4" } }
Download Result
Results are automatically downloaded to ~/.openclaw/workspace/generated/ with timestamped filenames.
Workflow
- Submit: Call generate endpoint, get job ID
- Poll: Check status URL every 2-5 seconds
- Download: Once
status === "completed", download from output URL - Save: Store in workspace with descriptive filename
Error Handling
- Rate limit: 10 requests/minute (contact support for higher)
- Credits: Check dashboard for credit balance
- Timeouts: Video generation can take 30-120 seconds
Example Usage
# Generate a cyberpunk portrait
bash ~/.openclaw/skills/pixeldojo/generate.sh image "cyberpunk samurai with neon lights, detailed, 8k" flux-2 --output ~/Desktop/samurai.png
# Animate a photo
bash ~/.openclaw/skills/pixeldojo/generate.sh video "slow motion drift, cinematic" wan-2.6-flash --image-url https://mycdn.com/photo.jpg --duration 5
Output Location
All generated files are saved to:
~/.openclaw/workspace/generated/images/~/.openclaw/workspace/generated/videos/
With format: {timestamp}_{prompt_snippet}.{ext}
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
其他来源收录
同一技能在不同目录的原始页面:
标签
同类 Skill
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
Self-Improving + Proactive Agent
Self-Improving + Proactive Agent
下载 177.1k
✨
Gog
Gog
下载 165k