Update index.html
Browse files- index.html +19 -8
index.html
CHANGED
|
@@ -320,7 +320,7 @@
|
|
| 320 |
</div>
|
| 321 |
</div>
|
| 322 |
|
| 323 |
-
<div class="note">
|
| 324 |
|
| 325 |
<div id="images" aria-live="polite"></div>
|
| 326 |
</div>
|
|
@@ -406,6 +406,7 @@
|
|
| 406 |
let isGenerating = false;
|
| 407 |
let generationCount = 0;
|
| 408 |
let selectedRating = 0;
|
|
|
|
| 409 |
let feedbackSubmitted = false;
|
| 410 |
|
| 411 |
const FORM_SPREE_ENDPOINT = 'https://formspree.io/f/xgvzqeed';
|
|
@@ -438,9 +439,11 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 438 |
|
| 439 |
|
| 440 |
### 1. META-PHOTOGRAPHY REFERENCES:
|
|
|
|
| 441 |
- "the kind of photo someone takes with their phone"
|
| 442 |
- "the sort of image that gets captured when"
|
| 443 |
- "captured in one of those moments when"
|
|
|
|
| 444 |
- These access amateur photography training clusters vs professional clusters
|
| 445 |
|
| 446 |
### 2. CASUAL PURPOSE CONTEXTS:
|
|
@@ -448,6 +451,7 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 448 |
- "to document where they ended up"
|
| 449 |
- "taken quickly to capture the moment"
|
| 450 |
- "sent to someone to show the scene"
|
|
|
|
| 451 |
- Purpose-driven casual photography accesses realistic training data
|
| 452 |
|
| 453 |
### 3. TECHNICAL IMPERFECTIONS:
|
|
@@ -455,6 +459,7 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 455 |
- "not perfectly centered"
|
| 456 |
- "caught mid-movement"
|
| 457 |
- "imperfect framing"
|
|
|
|
| 458 |
- Prevents idealized composition training data activation
|
| 459 |
|
| 460 |
### 4. EXPLICIT ANTI-GLAMOUR INSTRUCTIONS:
|
|
@@ -462,17 +467,20 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 462 |
- "unaware they're being photographed"
|
| 463 |
- "natural and unposed"
|
| 464 |
- "just going about their day"
|
|
|
|
| 465 |
- Direct instructions to avoid fash,ion/beauty training clusters
|
| 466 |
|
| 467 |
### 5. DOCUMENTATION CONTEXTS (RANKED BY EFFECTIVENESS):
|
| 468 |
-
- phone photography for casual sharing ✓
|
| 469 |
- Street photography documentation ✓
|
| 470 |
- Candid moment capture ✓
|
| 471 |
- Security footage ✓ (adds visual artifacts)
|
|
|
|
| 472 |
|
| 473 |
### 6. MUNDANE SPECIFICITY:
|
| 474 |
- Specific table numbers, timestamps, ordinary details
|
| 475 |
- "table 3", "around 2:30 PM", "Tuesday afternoon"
|
|
|
|
| 476 |
- Creates documentary authenticity, prevents artistic interpretation
|
| 477 |
|
| 478 |
## ATTENTION MECHANISM EXPLOITATION:
|
|
@@ -480,7 +488,8 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 480 |
### CLIP-L/14 PROCESSING:
|
| 481 |
- Handles style keywords and technical photography terms
|
| 482 |
- Avoid: "photorealistic", "cinematic", "professional photography"
|
| 483 |
-
-
|
|
|
|
| 484 |
|
| 485 |
### T5-XXL PROCESSING:
|
| 486 |
- Excels at contextual understanding and narrative flow
|
|
@@ -510,11 +519,11 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 510 |
## ENHANCEMENT METHODOLOGY:
|
| 511 |
|
| 512 |
### STEP 1: IDENTIFY CORE ELEMENTS
|
| 513 |
-
- Extract subject, location, basic action from input prompt
|
| 514 |
|
| 515 |
### STEP 2: ADD META-PHOTOGRAPHY CONTEXT
|
| 516 |
- Choose appropriate amateur photography reference
|
| 517 |
-
- "the kind of photo someone takes
|
| 518 |
|
| 519 |
### STEP 3: INSERT CASUAL PURPOSE
|
| 520 |
- Add reason for taking the photo
|
|
@@ -528,15 +537,16 @@ in realistic photo also liked if prompt is about a man with Gucci bag then obvio
|
|
| 528 |
- Explicitly prevent fashion/beauty modes
|
| 529 |
- Emphasize naturalness and lack of posing
|
| 530 |
|
|
|
|
| 531 |
### EXAMPLE TRANSFORMATIONS:
|
| 532 |
|
| 533 |
|
|
|
|
|
|
|
| 534 |
|
| 535 |
INPUT: "Man reading book in library"
|
| 536 |
OUTPUT: "Captured in one of those quiet library moments - a man absorbed in reading, the sort of documentary photo that shows real concentration, taken from a distance without him noticing, natural posture, imperfect framing, just someone lost in a good book on a regular weekday."
|
| 537 |
|
| 538 |
-
INPUT: "Woman in red dress in café"
|
| 539 |
-
OUTPUT: "The kind of candid photo someone takes with their phone to show a friend where they're meeting - a woman in a red dress sitting at a café table, slightly off-angle, caught in a natural moment between sips of coffee, not posing or aware of the camera, just an ordinary afternoon."
|
| 540 |
|
| 541 |
|
| 542 |
## CORE PHILOSOPHY:
|
|
@@ -779,10 +789,11 @@ GOAL: Generate prompts that produce realistic, natural-looking images by exploit
|
|
| 779 |
card.innerHTML = `<img src="${imgUrl}" alt="generated image">`;
|
| 780 |
|
| 781 |
// Increment generation count and show popup if threshold is met
|
| 782 |
-
if (!feedbackSubmitted) {
|
| 783 |
generationCount++;
|
| 784 |
if (generationCount >= 3) {
|
| 785 |
showFeedbackPopup();
|
|
|
|
| 786 |
}
|
| 787 |
}
|
| 788 |
|
|
|
|
| 320 |
</div>
|
| 321 |
</div>
|
| 322 |
|
| 323 |
+
<div class="note">NSFW images may result in blank or corrupted image ; use turbo model for NSFW </div>
|
| 324 |
|
| 325 |
<div id="images" aria-live="polite"></div>
|
| 326 |
</div>
|
|
|
|
| 406 |
let isGenerating = false;
|
| 407 |
let generationCount = 0;
|
| 408 |
let selectedRating = 0;
|
| 409 |
+
let hasRated = localStorage.getItem("hasRated")
|
| 410 |
let feedbackSubmitted = false;
|
| 411 |
|
| 412 |
const FORM_SPREE_ENDPOINT = 'https://formspree.io/f/xgvzqeed';
|
|
|
|
| 439 |
|
| 440 |
|
| 441 |
### 1. META-PHOTOGRAPHY REFERENCES:
|
| 442 |
+
- GoPro/action camera footage
|
| 443 |
- "the kind of photo someone takes with their phone"
|
| 444 |
- "the sort of image that gets captured when"
|
| 445 |
- "captured in one of those moments when"
|
| 446 |
+
- etc
|
| 447 |
- These access amateur photography training clusters vs professional clusters
|
| 448 |
|
| 449 |
### 2. CASUAL PURPOSE CONTEXTS:
|
|
|
|
| 451 |
- "to document where they ended up"
|
| 452 |
- "taken quickly to capture the moment"
|
| 453 |
- "sent to someone to show the scene"
|
| 454 |
+
- etc
|
| 455 |
- Purpose-driven casual photography accesses realistic training data
|
| 456 |
|
| 457 |
### 3. TECHNICAL IMPERFECTIONS:
|
|
|
|
| 459 |
- "not perfectly centered"
|
| 460 |
- "caught mid-movement"
|
| 461 |
- "imperfect framing"
|
| 462 |
+
- etc
|
| 463 |
- Prevents idealized composition training data activation
|
| 464 |
|
| 465 |
### 4. EXPLICIT ANTI-GLAMOUR INSTRUCTIONS:
|
|
|
|
| 467 |
- "unaware they're being photographed"
|
| 468 |
- "natural and unposed"
|
| 469 |
- "just going about their day"
|
| 470 |
+
- etc
|
| 471 |
- Direct instructions to avoid fash,ion/beauty training clusters
|
| 472 |
|
| 473 |
### 5. DOCUMENTATION CONTEXTS (RANKED BY EFFECTIVENESS):
|
| 474 |
+
- phone photography for casual sharing ✓
|
| 475 |
- Street photography documentation ✓
|
| 476 |
- Candid moment capture ✓
|
| 477 |
- Security footage ✓ (adds visual artifacts)
|
| 478 |
+
- etc
|
| 479 |
|
| 480 |
### 6. MUNDANE SPECIFICITY:
|
| 481 |
- Specific table numbers, timestamps, ordinary details
|
| 482 |
- "table 3", "around 2:30 PM", "Tuesday afternoon"
|
| 483 |
+
- etc
|
| 484 |
- Creates documentary authenticity, prevents artistic interpretation
|
| 485 |
|
| 486 |
## ATTENTION MECHANISM EXPLOITATION:
|
|
|
|
| 488 |
### CLIP-L/14 PROCESSING:
|
| 489 |
- Handles style keywords and technical photography terms
|
| 490 |
- Avoid: "photorealistic", "cinematic", "professional photography"
|
| 491 |
+
- **Handles first 77 tokens only **"
|
| 492 |
+
- Use: "candid", "Spontaneous", "natural", "ordinary"
|
| 493 |
|
| 494 |
### T5-XXL PROCESSING:
|
| 495 |
- Excels at contextual understanding and narrative flow
|
|
|
|
| 519 |
## ENHANCEMENT METHODOLOGY:
|
| 520 |
|
| 521 |
### STEP 1: IDENTIFY CORE ELEMENTS
|
| 522 |
+
- Extract subject, location, basic action from input prompt if not add them
|
| 523 |
|
| 524 |
### STEP 2: ADD META-PHOTOGRAPHY CONTEXT
|
| 525 |
- Choose appropriate amateur photography reference
|
| 526 |
+
- "the kind of photo someone takes.."
|
| 527 |
|
| 528 |
### STEP 3: INSERT CASUAL PURPOSE
|
| 529 |
- Add reason for taking the photo
|
|
|
|
| 537 |
- Explicitly prevent fashion/beauty modes
|
| 538 |
- Emphasize naturalness and lack of posing
|
| 539 |
|
| 540 |
+
|
| 541 |
### EXAMPLE TRANSFORMATIONS:
|
| 542 |
|
| 543 |
|
| 544 |
+
INPUT: "Woman in red dress in café"
|
| 545 |
+
OUTPUT: "The kind of candid photo someone takes with their phone to show a friend where they're meeting - a woman in a red dress sitting at a café table, slightly off-angle, caught in a natural moment between sips of coffee, not posing or aware of the camera, just an ordinary afternoon."
|
| 546 |
|
| 547 |
INPUT: "Man reading book in library"
|
| 548 |
OUTPUT: "Captured in one of those quiet library moments - a man absorbed in reading, the sort of documentary photo that shows real concentration, taken from a distance without him noticing, natural posture, imperfect framing, just someone lost in a good book on a regular weekday."
|
| 549 |
|
|
|
|
|
|
|
| 550 |
|
| 551 |
|
| 552 |
## CORE PHILOSOPHY:
|
|
|
|
| 789 |
card.innerHTML = `<img src="${imgUrl}" alt="generated image">`;
|
| 790 |
|
| 791 |
// Increment generation count and show popup if threshold is met
|
| 792 |
+
if (!feedbackSubmitted && !hasRated) {
|
| 793 |
generationCount++;
|
| 794 |
if (generationCount >= 3) {
|
| 795 |
showFeedbackPopup();
|
| 796 |
+
localStorage.setItem("hasRated", true)
|
| 797 |
}
|
| 798 |
}
|
| 799 |
|