[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECYQ9T2GGSSWWDC2GQ459G":3,"skill-same:01M7ECYQ9T2GGSSWWDC2GQ459G":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECYQ9T2GGSSWWDC2GQ459G","media-generation",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fmedia-generation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# media-generation\n\n# Media Generation with StableStudio\n\nGenerate images and videos via x402 payments at `https:\u002F\u002Fstablestudio.dev`.\n\n## Setup\n\nIf the agentcash CLI is not yet installed, see [rules\u002Fgetting-started.md](rules\u002Fgetting-started.md) for installation and wallet setup.\n\n## Quick Reference\n\n### Image Models\n\n| Model | Endpoint | Cost | Time | Edit? |\n|-------|----------|------|------|-------|\n| **nano-banana-pro** (default) | `nano-banana-pro\u002Fgenerate` | $0.13-0.24 | ~10s | Yes |\n| nano-banana | `nano-banana\u002Fgenerate` | $0.039 | ~5s | Yes |\n| gpt-image-1.5 | `gpt-image-1.5\u002Fgenerate` | $0.009-0.20 | ~3s | Yes |\n| gpt-image-1 | `gpt-image-1\u002Fgenerate` | $0.011-0.25 | ~10s | Yes |\n| grok | `grok\u002Fgenerate` | $0.07 | ~3s | Yes |\n| flux-2-pro | `flux-2-pro\u002Fgenerate` | $0.05-0.06 | ~5s | Yes |\n\nAll endpoints are prefixed with `https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002F`. Edit endpoints use `\u002Fedit` instead of `\u002Fgenerate`.\n\n### Video Models\n\n| Model | Endpoint | Cost | Time |\n|-------|----------|------|------|\n| **veo-3.1** (default) | `veo-3.1\u002Fgenerate` | $1.60-3.20 | 1-2min |\n| veo-3.1-fast | `veo-3.1-fast\u002Fgenerate` | $0.40-0.80 | ~30s |\n| grok-video | `grok-video\u002Fgenerate` | $0.15-0.75 | ~17s |\n| seedance | `seedance\u002Ft2v` or `seedance\u002Fi2v` | $0.33-0.99 | ~1min |\n| seedance-fast | `seedance-fast\u002Ft2v` or `seedance-fast\u002Fi2v` | $0.04-0.12 | ~40s |\n| wan-2.6 | `wan-2.6\u002Ft2v` or `wan-2.6\u002Fi2v` | $0.34-1.02 | 2-5min |\n| sora-2 | `sora-2\u002Fgenerate` | $0.40-1.20 | 1-3min |\n| sora-2-pro | `sora-2-pro\u002Fgenerate` | $3.00-12.50 | 2-5min |\n\n## Image Generation\n\n**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).\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fnano-banana-pro\u002Fgenerate -m POST -b '{\n  \"prompt\": \"a cat wearing a space helmet, photorealistic\",\n  \"aspectRatio\": \"16:9\",\n  \"imageSize\": \"2K\"\n}'\n```\n\n**nano-banana-pro options:**\n- `aspectRatio`: \"1:1\", \"16:9\", \"9:16\"\n- `imageSize`: \"1K\", \"2K\", \"4K\"\n\n### Other Image Models\n\n**gpt-image-1.5** -- Fastest, cheapest per-image. Uses `quality` and `size` instead of aspect ratio:\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fgpt-image-1.5\u002Fgenerate -m POST -b '{\n  \"prompt\": \"a watercolor painting of a mountain lake\",\n  \"quality\": \"high\",\n  \"size\": \"1536x1024\"\n}'\n```\n\nOptions: `quality`: \"low\"\u002F\"medium\"\u002F\"high\". `size`: \"1024x1024\", \"1536x1024\", \"1024x1536\". Same schema for gpt-image-1.\n\n**grok** -- Fast, wide aspect ratio support. Note: uses `aspect_ratio` (underscore):\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fgrok\u002Fgenerate -m POST -b '{\n  \"prompt\": \"neon cyberpunk cityscape at night\",\n  \"aspect_ratio\": \"16:9\"\n}'\n```\n\nOptions: `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\".\n\n**flux-2-pro** -- High quality with resolution control:\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fflux-2-pro\u002Fgenerate -m POST -b '{\n  \"prompt\": \"editorial photo of a vintage car in golden hour light\",\n  \"aspect_ratio\": \"3:2\",\n  \"resolution\": \"2 MP\"\n}'\n```\n\nOptions: `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\".\n\n**nano-banana** -- Budget option ($0.039). Same schema as nano-banana-pro but without `imageSize`.\n\n## Video Generation\n\n**Recommended: veo-3.1** (best quality)\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fveo-3.1\u002Fgenerate -m POST -b '{\n  \"prompt\": \"a timelapse of clouds moving over mountains\",\n  \"durationSeconds\": \"6\",\n  \"aspectRatio\": \"16:9\"\n}'\n```\n\n**veo-3.1 options:**\n- `durationSeconds`: \"4\", \"6\", \"8\"\n- `aspectRatio`: \"16:9\", \"9:16\"\n\nveo-3.1 also supports **frame interpolation** -- animate between a start image and end image by providing `image` and `lastFrame` blob URLs in the body.\n\n**veo-3.1-fast** -- Same schema as veo-3.1, 4x cheaper, ~30s instead of 1-2min.\n\n### Other Video Models\n\n**seedance** -- Good quality with audio generation support. Use `seedance\u002Ft2v` (text-to-video) or `seedance\u002Fi2v` (image-to-video):\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fseedance\u002Ft2v -m POST -b '{\n  \"prompt\": \"a bird taking flight from a branch in slow motion\",\n  \"duration\": \"8\",\n  \"resolution\": \"1080p\",\n  \"aspect_ratio\": \"16:9\",\n  \"generate_audio\": false,\n  \"camera_fixed\": false\n}'\n```\n\nOptions: `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:\u002F\u002Fblob-url...\"` and omit `generate_audio`\u002F`camera_fixed`.\n\n**seedance-fast** -- Same schema, 8x cheaper, slightly lower quality.\n\n**grok-video** -- Cheapest short video option:\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fgrok-video\u002Fgenerate -m POST -b '{\n  \"prompt\": \"a candle flame flickering\",\n  \"duration\": \"6\",\n  \"resolution\": \"720p\",\n  \"aspect_ratio\": \"16:9\"\n}'\n```\n\nOptions: `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\".\n\n**wan-2.6** -- Budget, supports t2v and i2v. `duration`: \"5\", \"10\", \"15\". t2v uses `size` (\"1280*720\", \"720*1280\", \"1920*1080\", \"1080*1920\"); i2v uses `resolution` (\"720p\", \"1080p\") and `image`.\n\n**sora-2** -- `seconds`: \"4\", \"8\", \"12\". `size`: \"1280x720\", \"720x1280\".\n\n**sora-2-pro** -- Premium. `seconds`: \"10\", \"15\", \"25\". `size`: \"1280x720\", \"720x1280\", \"1792x1024\", \"1024x1792\".\n\n## Job Polling\n\nGeneration returns a `jobId`. Poll until complete:\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fjobs\u002F{jobId}\n```\n\nPoll images every 3s, videos every 10s. Result contains `imageUrl` or `videoUrl`.\n`fetch` handles both paid submission requests and free SIWX polling requests.\n\n## Image Editing\n\nRequires uploading the source image first. See [rules\u002Fuploads.md](rules\u002Fuploads.md).\n\nAll image models support `\u002Fedit`. The edit endpoint accepts `images` (array of blob URLs) plus a `prompt`.\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablestudio.dev\u002Fapi\u002Fgenerate\u002Fnano-banana-pro\u002Fedit -m POST -b '{\n  \"prompt\": \"change the background to a beach sunset\",\n  \"images\": [\"https:\u002F\u002F...blob-url...\"]\n}'\n```\n\nGrok edit also supports `aspect_ratio`. GPT-image edit uses the same `quality`\u002F`size` options as generate.\n\n## Model Comparison\n\n### Image Models\n\n| Model | Cost | Speed | Best For |\n|-------|------|-------|----------|\n| nano-banana-pro | $0.13-0.24 | ~10s | General purpose, up to 4K resolution |\n| nano-banana | $0.039 | ~5s | Quick drafts, budget |\n| gpt-image-1.5 | $0.009-0.20 | ~3s | Fastest, cheapest (quality varies) |\n| gpt-image-1 | $0.011-0.25 | ~10s | Higher quality GPT images |\n| grok | $0.07 | ~3s | Fast, many aspect ratios |\n| flux-2-pro | $0.05-0.06 | ~5s | High quality, resolution control |\n\n### Video Models\n\n| Model | Cost | Speed | Best For |\n|-------|------|-------|----------|\n| veo-3.1 | $1.60-3.20 | 1-2min | Best quality, interpolation |\n| veo-3.1-fast | $0.40-0.80 | ~30s | Quick high-quality video |\n| grok-video | $0.15-0.75 | ~17s | Cheapest short videos |\n| seedance | $0.33-0.99 | ~1min | Good quality, audio support |\n| seedance-fast | $0.04-0.12 | ~40s | Budget video with decent quality |\n| wan-2.6 | $0.34-1.02 | 2-5min | Budget, text or image input |\n| sora-2 | $0.40-1.20 | 1-3min | Premium quality |\n| sora-2-pro | $3.00-12.50 | 2-5min | Highest quality, longest duration |\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fpayments\u002Fmedia-generation","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill media-generation",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill media-generation",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill media-generation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fmedia-generation\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",678,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fmedia-generation\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]