[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75RKFZMNMD7S3GGJQNWZMS0":3,"skill-same:01M75RKFZMNMD7S3GGJQNWZMS0":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75RKFZMNMD7S3GGJQNWZMS0","ambient-imagegen",null,"Generate raster images through hosted APIs such as OpenAI, Google Nano Banana Pro, fal\u002FFLUX, Replicate, Stability AI, and Ideogram.","ambient-xyz\u002FAmbientDesktop","ambient-xyz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199922748?v=4","01M75RJ51Q8ZEH4T676TTJ532A","01M75RJ529F7K07MRCEKGD17B3",7,"MIT","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-imagegen\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ambient-imagegen\ndescription: Generate raster images through hosted APIs such as OpenAI, Google Nano Banana Pro, fal\u002FFLUX, Replicate, Stability AI, and Ideogram.\n---\n\n# Ambient Hosted Image Generation\n\nUse this package when the user asks for a bitmap image from a hosted image API and accepts cloud execution, provider policy, cost, and secret setup. Prefer local ComfyUI only when the user wants local model control, offline\u002Fprivacy-first generation, or an explicit workflow\u002Fmodel cache.\n\n## Discovery And Setup\n\n- Find this package with `ambient_cli_search` using terms like `hosted image generation`, `OpenAI image`, `Google Nano Banana`, `Nano Banana Pro`, `Flux`, `fal image`, `Replicate image`, `Stability image`, or `Ideogram`.\n- Call `ambient_cli_describe` before first use so the current provider aliases, env names, and artifact contract are visible.\n- Run `hosted_image_doctor --json` to see provider aliases and which secret env names are configured. It does not call provider APIs and must not reveal secret values.\n- Use Ambient-managed secret flows for keys. Do not ask the user to paste API keys into chat.\n\n## Providers\n\n- `openai`: OpenAI GPT Image, default model `gpt-image-2`, env `OPENAI_API_KEY`.\n- `google`: Google Nano Banana efficient image route, default model `gemini-3.1-flash-image`, env `GEMINI_API_KEY` or `GOOGLE_API_KEY`.\n- `google-nano-banana-pro`: Google Nano Banana Pro, default model `gemini-3-pro-image`, env `GEMINI_API_KEY` or `GOOGLE_API_KEY`.\n- `fal`: fal Model APIs, default model `fal-ai\u002Fflux\u002Fdev`, env `FAL_KEY`.\n- `flux`: convenience alias for the fal FLUX route, default model `fal-ai\u002Fflux\u002Fdev`, env `FAL_KEY`.\n- `replicate`: Replicate predictions for hosted image models, default model `black-forest-labs\u002Fflux-schnell`, env `REPLICATE_API_TOKEN`.\n- `stability`: Stability AI Stable Image, default model `stable-image-ultra`, env `STABILITY_API_KEY`.\n- `ideogram`: Ideogram 4.0 image generation, env `IDEOGRAM_API_KEY`.\n\n## Commands\n\n- `hosted_image_doctor --json`: reports supported providers, aliases, required env names, default models, and key presence.\n- `hosted_image_generate --provider \u003Cprovider> --prompt \u003Ctext> --output \u003Cpath> --json`: generates one image and writes a metadata JSON next to the image.\n- `hosted_image_generate --provider \u003Cprovider> --prompt-file \u003Cpath> --dry-run --json`: returns the planned provider\u002Fmodel\u002Fhost\u002Fenv contract without making a network request.\n\nUseful flags:\n\n- `--model \u003Cid>` overrides the provider default.\n- `--size \u003CWxH>` requests dimensions when the provider supports it.\n- `--aspect-ratio \u003Cratio>` requests provider-native aspect ratio when supported.\n- `--format png|jpeg|webp` requests output format when supported.\n- `--negative-prompt \u003Ctext>` is passed only to providers that support it.\n\n## Artifact Contract\n\nEvery successful generation writes:\n\n- The generated image file in the workspace.\n- A sibling metadata JSON file with provider id, model id, byte size, MIME type, dimensions when detectable, SHA-256, latency, and secret env names only.\n- Bounded stdout JSON for the transcript.\n\nThe command downloads temporary remote URLs into workspace files. Do not leave only provider-hosted URLs as the durable result.\n\n## Safety And Boundaries\n\n- Provider prompts and source images leave the machine. State this when the user has not already acknowledged cloud use.\n- Never print, log, or store secret values. Report only env names and configured\u002Fnot-configured state.\n- Surface provider policy, quota, auth, and malformed-request errors as errors. Do not rewrite prompts to bypass policy.\n- Keep generated images as raster artifacts. Use document, SVG, or authored-motion tools when the user asks for editable documents, vector artwork, or deterministic video.\n","# Ambient Hosted Image Generation\n\nUse this package when the user asks for a bitmap image from a hosted image API and accepts cloud execution, provider policy, cost, and secret setup. Prefer local ComfyUI only when the user wants local model control, offline\u002Fprivacy-first generation, or an explicit workflow\u002Fmodel cache.\n\n## Discovery And Setup\n\n- Find this package with `ambient_cli_search` using terms like `hosted image generation`, `OpenAI image`, `Google Nano Banana`, `Nano Banana Pro`, `Flux`, `fal image`, `Replicate image`, `Stability image`, or `Ideogram`.\n- Call `ambient_cli_describe` before first use so the current provider aliases, env names, and artifact contract are visible.\n- Run `hosted_image_doctor --json` to see provider aliases and which secret env names are configured. It does not call provider APIs and must not reveal secret values.\n- Use Ambient-managed secret flows for keys. Do not ask the user to paste API keys into chat.\n\n## Providers\n\n- `openai`: OpenAI GPT Image, default model `gpt-image-2`, env `OPENAI_API_KEY`.\n- `google`: Google Nano Banana efficient image route, default model `gemini-3.1-flash-image`, env `GEMINI_API_KEY` or `GOOGLE_API_KEY`.\n- `google-nano-banana-pro`: Google Nano Banana Pro, default model `gemini-3-pro-image`, env `GEMINI_API_KEY` or `GOOGLE_API_KEY`.\n- `fal`: fal Model APIs, default model `fal-ai\u002Fflux\u002Fdev`, env `FAL_KEY`.\n- `flux`: convenience alias for the fal FLUX route, default model `fal-ai\u002Fflux\u002Fdev`, env `FAL_KEY`.\n- `replicate`: Replicate predictions for hosted image models, default model `black-forest-labs\u002Fflux-schnell`, env `REPLICATE_API_TOKEN`.\n- `stability`: Stability AI Stable Image, default model `stable-image-ultra`, env `STABILITY_API_KEY`.\n- `ideogram`: Ideogram 4.0 image generation, env `IDEOGRAM_API_KEY`.\n\n## Commands\n\n- `hosted_image_doctor --json`: reports supported providers, aliases, required env names, default models, and key presence.\n- `hosted_image_generate --provider \u003Cprovider> --prompt \u003Ctext> --output \u003Cpath> --json`: generates one image and writes a metadata JSON next to the image.\n- `hosted_image_generate --provider \u003Cprovider> --prompt-file \u003Cpath> --dry-run --json`: returns the planned provider\u002Fmodel\u002Fhost\u002Fenv contract without making a network request.\n\nUseful flags:\n\n- `--model \u003Cid>` overrides the provider default.\n- `--size \u003CWxH>` requests dimensions when the provider supports it.\n- `--aspect-ratio \u003Cratio>` requests provider-native aspect ratio when supported.\n- `--format png|jpeg|webp` requests output format when supported.\n- `--negative-prompt \u003Ctext>` is passed only to providers that support it.\n\n## Artifact Contract\n\nEvery successful generation writes:\n\n- The generated image file in the workspace.\n- A sibling metadata JSON file with provider id, model id, byte size, MIME type, dimensions when detectable, SHA-256, latency, and secret env names only.\n- Bounded stdout JSON for the transcript.\n\nThe command downloads temporary remote URLs into workspace files. Do not leave only provider-hosted URLs as the durable result.\n\n## Safety And Boundaries\n\n- Provider prompts and source images leave the machine. State this when the user has not already acknowledged cloud use.\n- Never print, log, or store secret values. Report only env names and configured\u002Fnot-configured state.\n- Surface provider policy, quota, auth, and malformed-request errors as errors. Do not rewrite prompts to bypass policy.\n- Keep generated images as raster artifacts. Use document, SVG, or authored-motion tools when the user asks for editable documents, vector artwork, or deterministic video.\n",{"name":5,"description":7},"main","3dd37c3d186bf5734448f67451259967f74ede67","resources\u002Fambient-cli-packages\u002Fambient-imagegen",4,"https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop","https:\u002F\u002Fdesktop.ambient.xyz","https:\u002F\u002Fgithub.com\u002Fambient-xyz","2026-07-25 14:46:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ambient-xyz\u002FAmbientDesktop --skill ambient-imagegen",{"tool":37,"command":38},"bunx","bunx skills add ambient-xyz\u002FAmbientDesktop --skill ambient-imagegen",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ambient-xyz\u002FAmbientDesktop --skill ambient-imagegen","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-imagegen\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"ambient-cli.json","REFERENCE","参考文档",2015,"https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-imagegen\u002Fambient-cli.json",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Frun.mjs","SCRIPT","脚本",34010,"https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-imagegen\u002Fscripts\u002Frun.mjs",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M75RKP5QN9CNJTNH57DDCWZZ","ambient-tinystyler","Create reusable TinyStyler style profiles from user text examples and apply TinyStyler-style text transfer through Ambient CLI.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-tinystyler\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M75RKM1SK6ESC2D7E0KHYVDA","ambient-qwen3-asr","Local Qwen3-ASR speech-to-text provider for Ambient push-to-talk.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-qwen3-asr\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M75RKHSNKSSS45Z8Z70H4T2N","ambient-minicpm-v-vision","Local MiniCPM-V visual-understanding provider for Ambient screenshot, UI, game-frame, and image evidence.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-minicpm-v-vision\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M75RKDMSZB58GA01ZF5WVEAK","hyperframes","Create deterministic authored-motion MP4\u002FWebM\u002FMOV videos from HTML\u002FCSS\u002FJS compositions through Ambient's bundled HyperFrames adapter.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-hyperframes\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M75RKBXES0YREEHBW0MDEQ52","ambient-faster-whisper-stt","Local faster-whisper STT provider for Ambient speech input validation.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-faster-whisper-stt\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M75RK8ET1Q0X0YAQER0MNX6J","ambient-blockchain","Safely observe the Ambient Blockchain, plan Tool Oracle and x402 interactions, prepare Ambient program deployment work, and run local live-test evidence gates.","https:\u002F\u002Fgithub.com\u002Fambient-xyz\u002FAmbientDesktop\u002Fblob\u002Fmain\u002Fresources\u002Fambient-cli-packages\u002Fambient-blockchain\u002FSKILL.md",[],[]]