Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
merit-systems avatar

Media Generation

  • 113 installs
  • 16 repo stars
  • Updated July 14, 2026
  • merit-systems/agentcash-skills

Enable agents to generate images, audio, or video assets on demand through AgentCash media APIs for content pipelines and user-facing outputs.

About

AgentCash media-generation skill equips Claude to build agent workflows that create images, audio, or video via merit-systems/agentcash-skills APIs, including prompts, parameters, storage, and delivery of generated assets.

  • Image and media API integration
  • Prompt and parameter conventions
  • Asset storage and retrieval flows
  • Batch and on-demand generation
  • AgentCash media endpoint patterns

Media Generation by the numbers

  • 113 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #778 of 1,335 Generative Media skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/merit-systems/agentcash-skills --skill media-generation

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs113
repo stars16
Last updatedJuly 14, 2026
Repositorymerit-systems/agentcash-skills

What it does

Enable agents to generate images, audio, or video assets on demand through AgentCash media APIs for content pipelines and user-facing outputs.

Files

SKILL.mdMarkdownGitHub ↗

Media Generation with StableStudio

Generate images and videos via x402 payments at https://stablestudio.dev.

Setup

If the agentcash CLI is not yet installed, see rules/getting-started.md for installation and wallet setup.

Quick Reference

Image Models

ModelEndpointCostTimeEdit?
nano-banana-pro (default)nano-banana-pro/generate$0.13-0.24~10sYes
nano-banananano-banana/generate$0.039~5sYes
gpt-image-1.5gpt-image-1.5/generate$0.009-0.20~3sYes
gpt-image-1gpt-image-1/generate$0.011-0.25~10sYes
grokgrok/generate$0.07~3sYes
flux-2-proflux-2-pro/generate$0.05-0.06~5sYes

All endpoints are prefixed with https://stablestudio.dev/api/generate/. Edit endpoints use /edit instead of /generate.

Video Models

ModelEndpointCostTime
veo-3.1 (default)veo-3.1/generate$1.60-3.201-2min
veo-3.1-fastveo-3.1-fast/generate$0.40-0.80~30s
grok-videogrok-video/generate$0.15-0.75~17s
seedanceseedance/t2v or seedance/i2v$0.33-0.99~1min
seedance-fastseedance-fast/t2v or seedance-fast/i2v$0.04-0.12~40s
wan-2.6wan-2.6/t2v or wan-2.6/i2v$0.34-1.022-5min
sora-2sora-2/generate$0.40-1.201-3min
sora-2-prosora-2-pro/generate$3.00-12.502-5min

Image Generation

Default: nano-banana-pro. This is the best image model by far — highest quality, supports up to 4K, and the cost is reasonable. Always use nano-banana-pro unless the user specifically requests a different model or has a strong reason to use something else (e.g., budget constraints, needing ultra-wide aspect ratios from grok).

npx agentcash@latest fetch https://stablestudio.dev/api/generate/nano-banana-pro/generate -m POST -b '{
  "prompt": "a cat wearing a space helmet, photorealistic",
  "aspectRatio": "16:9",
  "imageSize": "2K"
}'

nano-banana-pro options:

  • aspectRatio: "1:1", "16:9", "9:16"
  • imageSize: "1K", "2K", "4K"

Other Image Models

gpt-image-1.5 -- Fastest, cheapest per-image. Uses quality and size instead of aspect ratio:

npx agentcash@latest fetch https://stablestudio.dev/api/generate/gpt-image-1.5/generate -m POST -b '{
  "prompt": "a watercolor painting of a mountain lake",
  "quality": "high",
  "size": "1536x1024"
}'

Options: quality: "low"/"medium"/"high". size: "1024x1024", "1536x1024", "1024x1536". Same schema for gpt-image-1.

grok -- Fast, wide aspect ratio support. Note: uses aspect_ratio (underscore):

npx agentcash@latest fetch https://stablestudio.dev/api/generate/grok/generate -m POST -b '{
  "prompt": "neon cyberpunk cityscape at night",
  "aspect_ratio": "16:9"
}'

Options: aspect_ratio: "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "2:1", "1:2", "19.5:9", "9:19.5", "20:9", "9:20".

flux-2-pro -- High quality with resolution control:

npx agentcash@latest fetch https://stablestudio.dev/api/generate/flux-2-pro/generate -m POST -b '{
  "prompt": "editorial photo of a vintage car in golden hour light",
  "aspect_ratio": "3:2",
  "resolution": "2 MP"
}'

Options: aspect_ratio: "1:1", "16:9", "9:16", "3:2", "2:3", "4:5", "5:4", "4:3", "3:4". resolution: "0.5 MP", "1 MP", "2 MP".

nano-banana -- Budget option ($0.039). Same schema as nano-banana-pro but without imageSize.

Video Generation

Recommended: veo-3.1 (best quality)

npx agentcash@latest fetch https://stablestudio.dev/api/generate/veo-3.1/generate -m POST -b '{
  "prompt": "a timelapse of clouds moving over mountains",
  "durationSeconds": "6",
  "aspectRatio": "16:9"
}'

veo-3.1 options:

  • durationSeconds: "4", "6", "8"
  • aspectRatio: "16:9", "9:16"

veo-3.1 also supports frame interpolation -- animate between a start image and end image by providing image and lastFrame blob URLs in the body.

veo-3.1-fast -- Same schema as veo-3.1, 4x cheaper, ~30s instead of 1-2min.

Other Video Models

seedance -- Good quality with audio generation support. Use seedance/t2v (text-to-video) or seedance/i2v (image-to-video):

npx agentcash@latest fetch https://stablestudio.dev/api/generate/seedance/t2v -m POST -b '{
  "prompt": "a bird taking flight from a branch in slow motion",
  "duration": "8",
  "resolution": "1080p",
  "aspect_ratio": "16:9",
  "generate_audio": false,
  "camera_fixed": false
}'

Options: duration: "4"-"12". resolution: "480p", "720p", "1080p". aspect_ratio: "16:9", "9:16", "4:3", "3:4", "1:1", "21:9". For i2v, add "image": "https://blob-url..." and omit generate_audio/camera_fixed.

seedance-fast -- Same schema, 8x cheaper, slightly lower quality.

grok-video -- Cheapest short video option:

npx agentcash@latest fetch https://stablestudio.dev/api/generate/grok-video/generate -m POST -b '{
  "prompt": "a candle flame flickering",
  "duration": "6",
  "resolution": "720p",
  "aspect_ratio": "16:9"
}'

Options: duration: "3", "6", "9", "12", "15". resolution: "480p", "720p". aspect_ratio: "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3".

wan-2.6 -- Budget, supports t2v and i2v. duration: "5", "10", "15". t2v uses size ("1280720", "7201280", "19201080", "10801920"); i2v uses resolution ("720p", "1080p") and image.

sora-2 -- seconds: "4", "8", "12". size: "1280x720", "720x1280".

sora-2-pro -- Premium. seconds: "10", "15", "25". size: "1280x720", "720x1280", "1792x1024", "1024x1792".

Job Polling

Generation returns a jobId. Poll until complete:

npx agentcash@latest fetch https://stablestudio.dev/api/jobs/{jobId}

Poll images every 3s, videos every 10s. Result contains imageUrl or videoUrl. fetch handles both paid submission requests and free SIWX polling requests.

Image Editing

Requires uploading the source image first. See rules/uploads.md.

All image models support /edit. The edit endpoint accepts images (array of blob URLs) plus a prompt.

npx agentcash@latest fetch https://stablestudio.dev/api/generate/nano-banana-pro/edit -m POST -b '{
  "prompt": "change the background to a beach sunset",
  "images": ["https://...blob-url..."]
}'

Grok edit also supports aspect_ratio. GPT-image edit uses the same quality/size options as generate.

Model Comparison

Image Models

ModelCostSpeedBest For
nano-banana-pro$0.13-0.24~10sGeneral purpose, up to 4K resolution
nano-banana$0.039~5sQuick drafts, budget
gpt-image-1.5$0.009-0.20~3sFastest, cheapest (quality varies)
gpt-image-1$0.011-0.25~10sHigher quality GPT images
grok$0.07~3sFast, many aspect ratios
flux-2-pro$0.05-0.06~5sHigh quality, resolution control

Video Models

ModelCostSpeedBest For
veo-3.1$1.60-3.201-2minBest quality, interpolation
veo-3.1-fast$0.40-0.80~30sQuick high-quality video
grok-video$0.15-0.75~17sCheapest short videos
seedance$0.33-0.99~1minGood quality, audio support
seedance-fast$0.04-0.12~40sBudget video with decent quality
wan-2.6$0.34-1.022-5minBudget, text or image input
sora-2$0.40-1.201-3minPremium quality
sora-2-pro$3.00-12.502-5minHighest quality, longest duration

Related skills

Generative Mediaagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.