AGENT SKILL

generate-image

Generate photos, illustrations, posters, and project assets through OpenBitFun's configured default image model. Shape prompts, inspect results, and make targeted refinements using generate_image. Not for image analysis, prompt-only discussions, or edits that must preserve an existing image.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 4.0k
Forks
305

01 前言 Front Matter

name
generate-image
description
Generate photos, illustrations, posters, and project assets through OpenBitFun's configured default image model. Shape prompts, inspect results, and make targeted refinements using generate_image. Not for image analysis, prompt-only discussions, or edits that must preserve an existing image.

03 SKILL.md 正文

Generate Image

Define the asset

Infer purpose, subject, framing, quantity, required text, and destination from context. Ask only for information that blocks success. Preserve detailed requests; enrich brief ones with useful composition, lighting, and material cues without inventing brands, slogans, characters, or story elements.

Prefer native formats for existing SVGs, icon systems, and editable charts. Deliver actual raster images when the user asks for photos or illustrations.

Shape the prompt

For complex requests, use the following structure, keeping only useful fields. Choose the prompt language for the task; preserve required in-image text verbatim, including its original language and punctuation.

Purpose: placement, audience, and intended effect
Content: subject, action, setting, and essential details
Style: photo/illustration/3D, materials, lighting, and palette
Composition: viewpoint, framing, crop-safe margins, and necessary negative space
Text: exact copy, hierarchy, placement, and number of occurrences
Constraints: required invariants and important exclusions
Asset Prompt emphasis
Photography and products Describe texture, reflections, perspective, contact shadows, and product structure instead of stacking vague quality adjectives.
Web assets and covers Match the actual container and crop; place negative space around existing copy. Keep headings and buttons in page code when appropriate.
Posters and infographics Supply exact copy, verified data, relationships, hierarchy, and reading order. Do not let the model invent facts.
Illustrations and sets Repeat concrete medium, palette, lighting, and subject descriptions. Give each image one clear purpose.

Use view_image or analyze_image to describe visual references when available. The generation tool accepts no reference images, masks, or editing inputs; do not promise preserved identity, exact product details, or unchanged pixels.

Generate and inspect

  • Generate only with generate_image. Omit service_id by default to use the configured default image model. Do not mix in external imagegen, image_gen, genmedia, or direct API calls.
  • Use n: 1 unless another quantity was requested. Call separately for distinct content; n is for variants of one prompt. Track actual returned counts without silently adding candidates.
  • Use size and negative_prompt only when supported by the service. Put style and layout in prompt; do not invent tool arguments.
  • When inspection is available, check subject and count, structure and cropping, verbatim text, and consistency across sets. Verify actual dimensions, format, and alpha when required; a white or checkerboard background is not transparency. Disclose unverified requirements.
  • Refine one specific defect at a time, retaining the original goal, valid constraints, and previous versions for comparison. Regeneration is not a local edit. Stop when the goal is met and stay within the user's quantity and budget.
  • Report configuration, authentication, quota, or transport failures without automatically switching services or retrying without cause. For configuration issues, point to Settings → Models → Image generation model.

Deliver

Show or deliver images using returned file paths. Place project assets in the agreed asset directory, update references within the task's scope, and check their actual display. Keep previous versions unless replacement was requested. Operate on remote files through their workspace, not as controller-local files.

Report delivered quantity, locations, and known limitations, including unmet text, size, transparency, or consistency requirements.

04 同仓库更多 Skills

openBitFun
openBitFun/OpenBitFun

openbitfun-skin-designer

Create or update an importable OpenBitFun visual skin from reference images or an art brief, using the target product's actual paint contract and checking the result in the existing UI.

★ 4.0k
openBitFun
openBitFun/OpenBitFun

miniapp-dev

Generate, operate, and refine OpenBitFun MiniApps. Use when the user wants a new MiniApp, asks the Agent to inspect or operate a running MiniApp, or wants an existing MiniApp redesigned or extended. Typical triggers: "做一个小应用", "操作这个 MiniApp", "查看小应用当前状态", "改造 mini app".

★ 4.0k
openBitFun
openBitFun/OpenBitFun

openbitfun-frontend-dev

Safely customize the running packaged OpenBitFun desktop frontend through a draft, a provisional hot apply, and a 15-second user-confirmed rollback window. Use only in OpenBitFun Creative mode when the user asks to change OpenBitFun's own client UI.

前端开发
★ 4.0k
openBitFun
openBitFun/OpenBitFun

ppt-design

使用 HTML 设计与生成高质量演讲幻灯片(PPT/Deck)。当用户希望生成、设计、修改幻灯片、deck、slides、presentation、汇报、提案、pitch、课件时触发。主干:1280×720px 可编辑 HTML 幻灯片 + 唯一 editable HTML→EditableSlideScene→OOXML 管线 + 数据/信息可视化意识 + 5 种设计哲学 + 反 AI slop + 单页自包含 `slide-XX.html`。不生图;缺图用可编辑原语或占位并标注建议补图。

设计师数据分析师演示文稿视觉设计
★ 4.0k
openBitFun
openBitFun/OpenBitFun

create-agent

Create or update OpenBitFun custom modes and subagents. Turn the user's needs into a role prompt and a suitable tool selection, then save an agent definition. Use for reusable roles, not ordinary delegation to an existing subagent.

Skill与智能体开发
★ 4.0k
openBitFun
openBitFun/OpenBitFun

plan

Research and write an actionable implementation plan without implementing it. Use when the user asks to plan, design an approach, or inspect a change before coding; stop applying the planning restriction once the user explicitly asks to implement.

★ 4.0k