AI Agent Hub
Back to skills
Red White Blue ID Photo icon

Red White Blue ID Photo

Design & Media Updated 2026.08.30

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-rwb

About this skill

Problem

ID photo workflows usually break on background replacement: the same portrait may need a blue social-security background, a white passport background, or a red household-register background, while generic retouching can leave gradients, uneven color, or heavy beauty effects. This skill narrows the task to standard red, white, or blue backgrounds, taking a reference portrait and returning a clean ID-photo image URL instead of a studio-style portrait. Phrases such as “social-security blue,” “passport white,” or “household-register red” map to the red, white, and blue enums.

Workflow and limits

The caller must provide an images reference portrait and set options.bg_color to red, white, or blue; if the color is missing, ask first, or default to blue when urgent and state that. Optional fields such as gender, age, and size_hint help the service, but the style is fixed server-side, so the client should not build a long prompt. The flow is: submit the edit, retry with the same request after a 402 payment, poll until success, then read data.result.data[].url. The result should be checked for an even solid background, no gradients or shoulder-line artifacts, consistent identity, and an above-the-shoulder composition. It is suited to changing or redoing standard backgrounds; if the image or background color is missing, ask for it first instead of guessing upstream endpoints. It fits social-security, visa, and government-style background requirements, and switching colors only requires resubmitting with a different bg_color.

Use Cases

  • Generate a standard blue-background social-security photo from one portrait and collect the image URL for an attachment
  • Prepare a white-background ID photo for visa documents by resubmitting the same portrait with `bg_color` set to white
  • Create a red-background household-register photo for government forms while avoiding gradients and shoulder artifacts
  • Redo red, white, and blue versions of the same portrait for exam registration or resume materials, with optional size hints

Best For

  • A visa-document support agent who must convert multiple portraits to standard white-background ID photos and export image URLs
  • A government or social-security data-entry specialist who needs red, white, and blue standard backgrounds from one portrait quickly
  • An HR or operations assistant who prepares exam-registration and resume materials with multiple ID-photo background colors
  • A frontend or backend engineer who integrates the background-change API into forms and handles `402` retries and polling