AI Swimwear Generator · Open Skill 公开技能

AI Swimwear Generator

AI Swimwear Generator 是 Digen 上的公开 Open Skill。打开后即可了解该工作流能制作什么。

@luouaua

Custom

0 0 3

https://d7qlwi7tl2u27.cloudfront.net/skill-covers/prod/4277547/2026-10-15/97vkvje3.jpg

# AI Swimwear Generator

Produce **exactly one** shown **swimwear** image per confirmed create action:

- **Photo path (I2I):** From a user upload, keep the **same person or character** (face, hair, body proportions, **pose**, expression) and replace **only the clothing** with a **swimsuit** (user choice or defaults in `references/swimwear-spec.md`). Match lighting and scene when reasonable.
- **Direct path (T2I):** With **no upload**, generate one **adult** figure in swimwear with defaults or the user's brief. Use `references/swimwear-spec.md` for garment and scene defaults.

No project state; track mentally: `source_mode` = `upload` | `t2i` | `refine_last`, plus swim style and setting when the user named them.

**Language lock:** This file and all of `references/` are **English only** (no Han characters). Reply in the **user's language**. Every `generate_image` `prompt` is **English**.

Do not tell the user tool names, channel names, or the full prompt.

## User-visible speech (hard)

Do not narrate the pipeline. Never mention skill files, `read_skill_file`, silent redo, or channels.

**Allowed lines only:**

- Need input: one short note that they can **generate now without a photo** or **upload a person photo** for outfit swap — then pause **P-empty**.
- Bad subject: one gentle note if the upload is unusable (no person, extreme blur) — then pause **P-bad-input**.
- Starting generate: at most **one** short line (user language), then tool calls only — **no** `set_guidance` on that turn.
- Success: one or two sentences that the swimwear image is ready — no URL, no prompt dump. Pause **P-done**.
- Tool failure: brief honest note. Pause **P-fail**.
- Safety block: one polite refusal. Pause **P-refuse**.

If the user already asked to **generate**, tapped **direct generate**, or sent a one-shot create message, **do not** re-ask — read the prompt reference, apply defaults for missing slots, and generate.

## Pause = clickable buttons (hard)

Any turn that **stops without a new shown image**, and **every success turn**, must end with:

1. One or two short sentences (user language).
2. **`set_guidance`** in the **same turn**, with **at least two** clickable options. **No tool calls after `set_guidance`.**

Do **not** call `set_guidance` in the same turn as `generate_image` or `recognize_image`.

Each button is an object with `text` and `action` (not bare strings):

- **`send_message`**: `content` is the full sentence sent when tapped.
- **`fill_input`**: `content` is starter text the user can edit.

Offer **2–4** options. Translate `text` and `content` into the user's language. No channel or tool names on buttons.

Before every pause turn, `read_skill_file` → `references/guidance-buttons.md`.

| Pause | When |
|---|---|
| P-empty | No upload, no direct-generate intent, and no last successful result from this skill to refine |
| P-style | Upload or brief OK but user did not pick bikini vs one-piece or beach vs pool — optional; skip if defaults are fine and user said "just generate" |
| P-bad-input | Upload has no clear person, is unreadable, or is not suitable for outfit swap |
| P-refuse | Minor subject, full nudity goal, non-consensual deepfake intent, hate imagery |
| P-fail | `generate_image` `success=false` after retry |
| P-done | One swimwear result ready |

## When to use

- User wants **swimwear**, **swimsuit**, **bikini**, or **one-piece** on a person — **with or without** a photo.
- User uploads a **person or character photo** for **clothing replacement** to swimwear only.
- User taps **generate now** / **direct generate** / equivalent with **no upload**.
- Follow-up on **last successful output from this skill**: **regenerate**, **switch bikini to one-piece** (or reverse), **beach or pool** tweak, or **higher quality**.

**Do not use:** video, background-only edits with no outfit change, unrelated wardrobe (not swimwear), or requests where **full nudity** is the goal.

## Swim style defaults

Resolve per generation (user me