Image Generation

PostPlusAI/postplus-skills/skills/10-routing/image-generation

作者 PostPlusAI7f28d1494958f69136a7d6fe85fdea3942a300f3无许可证收录于 2026年10月9日更新于 2026年10月9日

Plan image creation or edits from prompts, products, or references. Resolve task type, model, and reference rules before handing ready requests to image-batch-runner.

AI 生成的概览

通过分类任务、选择模型与参考规则并准备执行交接,来规划图像生成或编辑请求。

功能
该技能充当图像生成控制器,本身不提交任务。它会识别输入类型,对图像任务进行分类(如文生图、图像编辑、产品图、横幅、故事板或批量变体),并选择模型与参考规则。随后它会生成结构化交接内容,包含 taskClass、inputType、modelRule、referencePolicy、requiredRunnerInputs、handoffSkill 和 mustNotDo,供单独的执行技能使用。
适用场景
当最终目标资产是图像或图像批次,且下一步决策是任务类别、模型与参考策略或执行交接时使用。它不适用于已规范化并可直接执行的请求,也不适用于视频、音频、字幕或转录输出。
运行要求
无需脚本或特殊工具;它由指令驱动,并根据现有证据生成控制器交接产物。它会引用其他技能进行执行和路由,但不会调用私有提供方或运行时路径。

Image Generation

Use When

  • The desired final asset is an image or image batch.
  • The request may include text prompts, uploaded images, previous outputs, product URLs, research handoffs, product images, persona images, banners, thumbnails, storyboard panels, or batch variants.
  • The next decision is task class, model/reference policy, and runner handoff.

Do Not Use When

  • The final asset is video, audio, subtitles, transcripts, or an edit plan.
  • The image request is already normalized and ready to execute. Use image-batch-runner.
  • The user needs hook or benchmark decoding first. Use reference-decode.

Core Boundary

This is the image generation controller. It does not submit jobs.

It must:

  1. identify the input type,
  2. classify the image task,
  3. select model and reference rules,
  4. create the handoff for image-batch-runner.

Task Classes

Task classTypical inputHandoff
text_to_imageprompt onlywrite normalized image brief for image-batch-runner
image_edituploaded image plus change requestbind edit image and preserve/alter rules
reference_imagebenchmark frame or style boardstate its intended influence in the runner handoff
product_imageproduct photo, URL, or product factsbind product identity and forbid invented claims
banner_thumbnailoffer, hook, platformrequire aspect ratio and text/UI policy
storyboard_imagepanel plan or board spechand storyboard panels to image-batch-runner
batch_variantmany variants or personaspreserve shared rules and vary only declared fields

Model And Reference Rules

  • Text-only drafts may use a text-to-image endpoint.
  • Edits require a bound source image and an edit-capable endpoint.
  • Persona, product, and brand identity are binding references unless the user explicitly marks them inspiration-only.
  • Benchmark clips, mood boards, and competitor references are inspiration-only unless the contract says otherwise.
  • Excluded references must not enter the runner request.

Routing Table

If not image-generationSend to
Needs media understanding firstmedia-analysis
Needs reference meaning decodedreference-decode
Needs storyboard panelsPrepare the panel plan here before image-batch-runner
Needs execution with normalized requestimage-batch-runner
Final output is videovideo-batch-runner
Final output is audioaudio-generation

Output Shape

Return:

  • taskClass
  • inputType
  • modelRule
  • referencePolicy
  • requiredRunnerInputs
  • handoffSkill
  • mustNotDo

Stop Conditions

  • Stop when required user intent, source evidence, or owned input artifacts are missing and guessing would change the result.
  • Do not let image-batch-runner make creative classification decisions.

Public Command Boundary

  • Choose the smallest matching command or workflow from the user input and run it directly.

  • This public skill is instruction-driven. Produce the controller handoff artifact directly from the available evidence.

  • Do not call private provider/runtime paths or unpublished local tools.

  • If the CLI returns a quote-confirmation challenge, obtain user approval for its scope and cost before running postplus quote confirm --json --challenge-file <challenge.json> and retry with the returned token.

来源与署名

来源:PostPlusAI/postplus-skills位于skills/10-routing/image-generation提交7f28d14

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架