Loading...
Loading...
Generate images and videos using x402-protected AI models at StableStudio. USE FOR: - Generating images from text prompts - Generating videos from text or images - Editing images with AI - Creating visual content TRIGGERS: - "generate image", "create image", "make a picture" - "generate video", "create video", "make a video" - "edit image", "modify image" - "stablestudio", "nano-banana", "sora", "veo" ALWAYS use `npx agentcash fetch` or `npx agentcash fetch-auth` for stablestudio.dev endpoints.
npx skill4agent add merit-systems/agentcash-skills media-generationhttps://stablestudio.dev| Task | Endpoint | Cost | Time |
|---|---|---|---|
| Image (default) | | $0.13-0.24 | ~10s |
| Image (budget) | | $0.039 | ~5s |
| Video (default) | | $1.60-3.20 | 1-2min |
| Video (budget) | | $0.34-1.02 | 2-5min |
| Image edit | | $0.13-0.24 | ~10s |
npx agentcash fetch https://stablestudio.dev/api/x402/nano-banana-pro/generate -m POST -b '{
"prompt": "a cat wearing a space helmet, photorealistic",
"aspectRatio": "16:9",
"imageSize": "2K"
}'aspectRatioimageSizenpx agentcash fetch https://stablestudio.dev/api/x402/veo-3.1/generate -m POST -b '{
"prompt": "a timelapse of clouds moving over mountains",
"durationSeconds": "6",
"aspectRatio": "16:9"
}'durationSecondsaspectRatiojobIdnpx agentcash fetch-auth https://stablestudio.dev/api/x402/jobs/{jobId}imageUrlvideoUrlnpx agentcash fetch https://stablestudio.dev/api/x402/nano-banana-pro/edit -m POST -b '{
"prompt": "change the background to a beach sunset",
"images": ["https://...blob-url..."]
}'| Model | Type | Best For |
|---|---|---|
| nano-banana-pro | Image | General purpose, up to 4K |
| nano-banana | Image | Quick drafts, budget |
| gpt-image-1.5 | Image | Fast, variable quality |
| veo-3.1 | Video | High quality, 1080p |
| wan-2.5 | Video | Budget, text or image input |
| sora-2 | Video | Premium quality |