Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #image #ai #web

9router-image

Generate images via 9Router /v1/images/generations using OpenAI / Gemini Imagen / DALL-E / FLUX / MiniMax / SDWebUI / ComfyUI / Codex models. Use when the user wants to create, generate, draw, or render an image, picture, or text-to-image (txt2img).

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=decolua-9router-skills-9router-image-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name 9router-image description Generate images via 9Router /v1/images/generations using OpenAI / Gemini Imagen / DALL-E / FLUX / MiniMax / SDWebUI / ComfyUI / Codex models. Use when the user wants to create, generate, draw, or render an image, picture, or text-to-image (txt2img). 9Router — Image Generation Requires NINEROUTER_URL (and NINEROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/decolua/9router/refs/heads/master/skills/9router/SKILL.md for setup. Discover curl $NINEROUTER_URL /v1/models/image | jq '.data[].id' # Per-model params/options (size enum, quality enum, capabilities like edit) curl " $NINEROUTER_URL /v1/models/info?id=openai/dall-e-3" Endpoint POST $NINEROUTER_URL/v1/images/generations Field Required Notes model yes from /v1/models/image prompt yes image description n no count (provider-dependent) size no 1024x1024 , 1792x1024 , ... quality no standard / hd (OpenAI) response_format no url (default) or b64_json Add query ?response_format=binary to receive raw image bytes (handy for saving file). Examples Save to file (binary): curl -X POST " $NINEROUTER_URL /v1/images/generations?response_format=binary" \ -H "Authorization: Bearer $NINEROUTER_KEY " \ -H "Content-Type: application/json" \ -d '{"model":"gemini/gemini-3-pro-image-preview","prompt":"watercolor mountains at sunrise","size":"1024x1024"}' \ --output out.png JS (URL response): const r = await fetch ( ` ${process.env.NINEROUTER_URL} /v1/images/generations` , { method : "POST" , headers : { "Authorization" : `Bearer ${process.env.NINEROUTER_KEY} ` , "Content-Type" : "application/json" }, body : JSON . stringify ({ model : "gemini/gemini-3-pro-image-preview" , prompt : "neon city" , size : "1024x1024" }), }); const { data } = await r. json (); console . log (data[ 0 ]. url || data[ 0 ]. b64_json . slice ( 0 , 40 )); Response shape JSON (default response_format=url ): { "created" : 1735000000 , "data" : [ { "url" : "https://..." } ] } response_format=b64_json : { "created" : 1735000000 , "data" : [ { "b64_json" : "iVBORw0KGgo..." } ] } Query ?response_format=binary returns raw image bytes (Content-Type image/png or image/jpeg ). Provider quirks Common fields above work everywhere. These add/override: Provider Extra/changed fields Notes openai , minimax , openrouter , recraft quality , style , response_format Standard OpenAI shape gemini (nano-banana) — Only prompt ; ignores size / n codex (gpt-5.4-image) image , images[] , image_detail , output_format , background SSE stream; ChatGPT Plus/Pro required huggingface — Only prompt ; returns single image nanobanana image , images[] (edit mode) size → aspect ratio; async polling fal-ai image (img2img) n → num_images ; size → ratio; async stability-ai style (preset), output_format size → aspect_ratio black-forest-labs (FLUX) image (ref) size → exact width / height ; async runwayml image (ref) size → ratio; async; video models exist sdwebui , comfyui — Localhost noAuth ( :7860 / :8188 )
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。