ID Photo Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @ixhlink/ixhlink-skills-id-photo-gen.
About this skill
Problem
In ID photo workflows, the input is usually one real portrait, while the output must satisfy a clean background, formal clothing, half-body 3:4 framing, and a centered head. Hand-written prompts can over-embellish the subject or leak server-side style recipes. ID Photo Generator requires at least one reference image and keeps style, framing, and makeup constraints inside the server workflow.
How it works
- Analyze the reference image and fill short fields such as
options.gender,options.age, andoptions.clothing; when text and image conflict, the image wins by default. - Call the fixed
modelandcapabilitywithimage_edit; the fullpromptcan be omitted because the server assembles the closed-source instructions. - Poll the async task until
statusbecomessucceeded, then return the image fromdata.result.data[].url. - When payment is required, the first call returns
402; retry with the same JSON body and complete payment via theweixinpay extension.
Boundaries
Do not generate without a reference portrait. Do not compose long style prompts on the client side. Keep options to short overrides such as background, clothing, and size_hint. On failure, inspect data.error_message instead of inventing third-party endpoints.
Use Cases
- Create exam registration photos from a casual portrait with formal wear and a light-gray one-inch size.
- Prepare a visa headshot from a personal photo by specifying a white shirt and light-gray background.
- Generate a professional job-site avatar with a centered head and formal half-body framing.
- Produce candidate onboarding photos by filling short options and polling for image URLs.
Best For
- Exam applicants who want to turn casual half-body selfies into formal ID photos on light-gray backgrounds.
- Visa document specialists who need 3:4 headshots with white shirts and clean backgrounds.
- Recruiting ops staff who need batch candidate headshots and retrievable image URLs.
- Application engineers who need a fixed async image-edit API with payment handling.
Related Skills
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.
Director-level video lapian that diagnoses material precision, then produces frame evidence, director analysis, a style bible, and a showcase video.
Plan and brief Amazon MAIN, Listing, and A+ image sets from verified product facts, then return plan and image QA status.