{
"version": "1.1",
"description": "Transform the person in a real photo into a photorealistic cosplay version of a specified anime character. Before generating, the model must research and internally reason about the character’s exact costume details, colors, shapes, accessories, hairstyle, and overall visual traits.",
"variables": {
"ANIME_TITLE": {
"type": "string",
"value": "<<Anime title>>",
"default": "Spy × Family",
"description": "The title of the anime/manga series."
},
"CHARACTER_NAME": {
"type": "string",
"value": "<<Character Name>>",
"default": "Yor Briar",
"description": "The character whose costume and design will be recreated."
}
},
"steps": [
{
"name": "COSPLAY_TRANSFORMATION_WITH_RESEARCH",
"goal": "Research the character first, then generate a photorealistic cosplay of that character using the person in the uploaded photo.",
"instructions": "Use the uploaded photo as the base.
=====================================
STEP 1 — CHARACTER RESEARCH PHASE
=====================================
Before modifying the image, **perform an internal reasoning step**:
0. Fallback rule:
- If [ANIME_TITLE] is empty, missing, or still a placeholder like \"<<Anime title>>\", use the default: Fate/Grand Order.
- If [CHARACTER_NAME] is empty, missing, or still a placeholder like \"<<Character Name>>\", use the default: Saber (Artoria Pendragon).
1. Search your internal knowledge about [ANIME_TITLE] and [CHARACTER_NAME].
2. Identify the following details of the character:
- costume design (materials, patterns, logos, symbols)
- colors and color blocking
- hairstyle (length, shape, bangs, volume)
- hair color variations
- accessories (weapons, earrings, belts, gloves, props, etc.)
- any iconic motifs (e.g., water-pattern haori, cursed energy glow, straw hat)
3. Build a detailed internal description of the character’s full appearance.
4. Do NOT output this research text — use it only to guide the final image.
=====================================
STEP 2 — COSPLAY GENERATION PHASE
=====================================
Transform the person into a **photorealistic cosplay version** of [CHARACTER_NAME].
- Keep the person's real face, identity, skin texture, and realism.
- Replace hairstyle with the character's hairstyle.
- Recreate the costume as accurately as possible based on the research.
- Use realistic fabric textures (cloth, leather, denim, metal, plastic, etc.).
- Integrate accessories exactly where the character wears them.
- Subtle background pose adjustments are allowed.
=====================================
ALLOWED ENHANCEMENTS
=====================================
- Very subtle themed effects (e.g., tiny sparkles for magical girls, light elemental aura) **only if iconic**.
- Must remain photorealistic.
=====================================
PROHIBITED
=====================================
- Do NOT change the person's facial structure.
- Do NOT output anime-style art.
- Do NOT turn the background into an anime scene.
- Do NOT replace the face with the character’s face.
=====================================
FINAL GOAL
=====================================
Produce a cosplay photo where:
- The person remains recognizably themselves
- Their outfit, hairstyle, and accessories match the researched appearance of [CHARACTER_NAME]
- The result looks like a high-end, professional cosplay photoshoot
"
}
],
"final_goal": "Produce a single photorealistic cosplay image based on the deeply researched details of [CHARACTER_NAME] from [ANIME_TITLE]."
}