try more strong resemblence
Browse files
src/lib/components/MonsterGenerator/MonsterGenerator.svelte
CHANGED
|
@@ -24,17 +24,20 @@
|
|
| 24 |
// Prompt templates
|
| 25 |
const MONSTER_CONCEPT_PROMPT = (caption: string) => `Based on this image caption: "${caption}"
|
| 26 |
|
| 27 |
-
|
| 28 |
-
Assess how unique the pictured object is. If the object is common then it should result in a weak monster, if the object is unique then it should result in a powerful monster.
|
| 29 |
|
| 30 |
-
|
| 31 |
-
-
|
| 32 |
-
-
|
| 33 |
-
-
|
| 34 |
-
- Its cultural or symbolic meaning
|
| 35 |
-
- Its shape, texture, and visual characteristics
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
const IMAGE_GENERATION_PROMPT = (concept: string) => `Convert this monster concept into a clear and succinct description of its appearance:
|
| 40 |
"${concept}"
|
|
@@ -191,7 +194,7 @@ Write your response within \`\`\`json\`\`\``;
|
|
| 191 |
}
|
| 192 |
|
| 193 |
const conceptPrompt = MONSTER_CONCEPT_PROMPT(state.imageCaption);
|
| 194 |
-
const systemPrompt = "You are a
|
| 195 |
|
| 196 |
console.log('Generating monster concept with prompt:', conceptPrompt);
|
| 197 |
|
|
|
|
| 24 |
// Prompt templates
|
| 25 |
const MONSTER_CONCEPT_PROMPT = (caption: string) => `Based on this image caption: "${caption}"
|
| 26 |
|
| 27 |
+
Create a Pokémon-style monster that IS the object in the image brought to life. The monster should physically resemble and be based on the actual object's appearance, not just its conceptual properties.
|
|
|
|
| 28 |
|
| 29 |
+
IMPORTANT: The monster must look like the object itself transformed into a creature. For example:
|
| 30 |
+
- If it's a blue ice cream truck, the monster should BE a living ice cream truck with wheels, windows, and truck features
|
| 31 |
+
- If it's a shoe, the monster should BE a living shoe with laces, sole, etc.
|
| 32 |
+
- If it's a lamp, the monster should BE a living lamp with a shade, bulb, base, etc.
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
Assess rarity: Common everyday objects = weak monsters (low stats). Unique/rare objects = powerful monsters (high stats).
|
| 35 |
+
|
| 36 |
+
Include:
|
| 37 |
+
- How the object's physical form translates into the monster's body
|
| 38 |
+
- How its original function becomes abilities
|
| 39 |
+
- Personality based on the object's purpose
|
| 40 |
+
- Name that references what the object is`;
|
| 41 |
|
| 42 |
const IMAGE_GENERATION_PROMPT = (concept: string) => `Convert this monster concept into a clear and succinct description of its appearance:
|
| 43 |
"${concept}"
|
|
|
|
| 194 |
}
|
| 195 |
|
| 196 |
const conceptPrompt = MONSTER_CONCEPT_PROMPT(state.imageCaption);
|
| 197 |
+
const systemPrompt = "You are a Pokémon-style monster designer. When creating monsters, they must physically resemble the actual object - the monster IS the object come to life, not just inspired by it. A car becomes a living car monster, a book becomes a living book monster, etc. The object's physical form should be clearly recognizable in the monster design.";
|
| 198 |
|
| 199 |
console.log('Generating monster concept with prompt:', conceptPrompt);
|
| 200 |
|