ID Photo Generator: Generating General ID Photos and Professional Headshots via Natural Language in an Agent

Preface

Submitting resumes, reissuing employee badges, or filling out registration forms often requires a compliant ID photo. The common approach involves opening retouching apps or visiting offline photo studios to manually cut out the subject, change the background, and crop dimensions, followed by repeated adjustments based on pixel requirements for “1-inch” or “2-inch” photos. If you are already using Agents in environments like Cursor or Claude Code to handle documents and assets, a more efficient path is to delegate the workflow of “upload portrait → apply ID photo template → generate image” to a Skill, simply describing your needs through conversation.

Below is an introduction to the ID Photo Generator (@ixhlink/ixhlink-skills-id-photo-gen) on SkillHub: server-side processing handles templates and final images, while the local Agent is responsible for understanding intent and guiding the upload.

What is this

The ID Photo Generator is an enterprise-sourced Skill released by Xinghua Zhilian Technology (category: design-media, current version 1.0.0). It is positioned as a general-purpose ID photo / professional portrait generator: after a user uploads a portrait, the server-side applies the ID photo template to produce a final image suitable for resumes, employee badges, or standard registration scenarios.

On SkillHub, this Skill is marked as a paid category (pricing_type=paid) and requires_api_key=false, meaning that according to the page instructions, it can be installed and used via the store flow without configuring a separate API Key.

Core Functions

Based on the official description, the verified capabilities include:

  1. Portrait Upload + Server-side Templating: Upload a photo of a person; the server-side applies the ID photo template, eliminating the need to write local background removal scripts.
  2. General ID Photos / Professional Portraits: Covers common requests such as resume photos, employee badge photos, 1-inch photos, 2-inch photos, as well as needs like “change ID photo background” or “edit ID photo.”
  3. Intent Trigger Words: When users mention phrases like “ID photo generator,” “generate ID photo,” or “make an ID photo,” the Agent should select this Skill.
  4. Division of Labor with Specialized Skills: If a user explicitly requests Hema-style (Haimati) photos, “most beautiful” refined retouching, specific red/white/blue backgrounds, or standardized photos for exams/passports, it is officially recommended to prioritize the corresponding specialized skills. This Skill is responsible for general scenarios.

The page does not separately list a template inventory, output resolution, or file format table; specific options are subject to the instructions within the Skill after installation and the guidance provided during conversation.

Installation and Activation

The installation method provided on the SkillHub page involves letting the Agent handle the coordinate package according to the unified installation documentation:

Please install `@ixhlink/ixhlink-skills-id-photo-gen` based on https://skillhub.cn/install/skillhub.md.

If the skillhub CLI is already installed on your machine, you can follow Section 3 of SkillHub Installation and Priority Source Configuration to install the skill to the skills directory actually read by the current Agent (the documentation emphasizes using --dir, otherwise the default ./skills/ might not be recognized). For example, the common path for Cursor is ~/.cursor/skills/:

command -v skillhub && skillhub --version
skillhub install @ixhlink/ixhlink-skills-id-photo-gen --dir ~/.cursor/skills/

If the CLI is not installed, the same documentation provides a one-click installation script (full installation or --cli-only); sandbox or network-restricted environments must execute it with permissions allowing network access.

Cursor / Codex / Claude Code: Installation paths vary by client; refer to the directories listed in Section 4 of skillhub.md. After installation or update, if the Agent does not immediately recognize the new Skill, restart or refresh the skill list according to the conventions of your client.

Typical Usage

The official store page does not paste a complete conversation script. The usage aligns with the introduction, and the reproducible workflow is as follows:

  1. Confirm that this Skill is installed in the current Agent’s skills directory.
  2. State your needs in the conversation and use typical phrasing from the introduction, such as: “Help me make a 1-inch ID photo for my resume” or “Generate an ID photo using this portrait.”
  3. Upload a clear, front-facing portrait as prompted by the Agent (even lighting and an unobstructed face make templating easier).
  4. If you need to change the background, size, or usage (badge / resume), supplement this in subsequent turns; if the request falls into the categories of “Hema-style / refined retouching / red-white-blue background / exam or passport standard photos,” switch to the specialized Skill.

Example prompt (illustrative, not an official fixed prompt):

Use the ID Photo Generator: I have uploaded a portrait, please generate a 2-inch ID photo suitable for a resume.

The final image is produced by the server-side template pipeline; the save path and format depend on the return result when the Agent executes the Skill.

Applicable Scenarios and Notes

Who it is for

  • Teams or individuals already handling HR, registration, and resume materials within Agent workflows who wish to minimize switching between retouching tools.
  • Those needing general ID photos / professional portraits, rather than photos with strict specifications for a specific studio brand or specific exam/passport standards.

Limitations and Notes

  • Paid Skill: Confirm billing and authorization methods on the SkillHub page before installation (pricing_type=paid).
  • Routing for Specialized Scenarios: Do not force this Skill to replace specialized Skills if they exist for red/white/blue backgrounds, exam photos, or passport photos.
  • Privacy and Compliance: Portraits are uploaded to the server for processing. When involving employee or user photos, compliance with your organization’s data and personal information protection requirements is mandatory.
  • Data Reference: The SkillHub page shows a rating of 100000 and 4367 downloads (statistics are subject to the store’s real-time data).

Conclusion

The ID Photo Generator encapsulates “portrait upload + server-side ID photo templates” into a Skill callable by an Agent. It covers common requests like resume photos, badge photos, and 1-inch/2-inch sizes via natural language, while clearly delineating boundaries from specialized skills for Hema-style or standard exam photos. Installation and coordinates are subject to SkillHub.

Official Addresses:

  • Skill Page: https://www.skillhub.cn/skills/ixhlink/ixhlink-skills-id-photo-gen
  • API Coordinate Entry: https://api.skillhub.cn/ixhlink/ixhlink-skills-id-photo-gen
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye