Update index.html
Browse files- index.html +12 -7
index.html
CHANGED
@@ -334,9 +334,9 @@
|
|
334 |
let isGenerating = false;
|
335 |
|
336 |
const styleTemplates = {
|
337 |
-
cinema: "
|
338 |
-
realistic: "
|
339 |
-
photography: "
|
340 |
fantasy: " create epic fantasy style, image "
|
341 |
};
|
342 |
|
@@ -348,14 +348,19 @@ You compose single-paragraph prompts for the Flux (FLUX.1) image model that yiel
|
|
348 |
CORE RULES
|
349 |
- Your prompt should correctly and accurately describe the users image need without changing or misinterpreting users need.
|
350 |
- YOU Always always need to specify suitable photo style at starting like :
|
|
|
|
|
|
|
|
|
351 |
- "Film grain Sepia & warm amber tones desaturated muted color photo of"
|
352 |
-
- "sun soaked color filter Film photo of"
|
353 |
- "Hazed cloudy Pallete photo of"
|
354 |
- "Primary pink spectrum Complementary bright Cheerful and whimsical photo of"
|
355 |
-
- "Muted colors cinematic noir realism photo of" etc..
|
356 |
you need to think which style will give the best photo in this case.
|
357 |
you can and should merge or create new styles and not just copy paste the above.
|
358 |
you should modify or update styles based on users needs.
|
|
|
359 |
- YOU shall use style prefix only where it's suitable obviously you won't use it if user asked for anime or illustration or cartoon etc..
|
360 |
- Never include negations or flaw-prevention phrases such as "without," "no," "avoid," "ban," "exclude."
|
361 |
- Do not mention lighting, HDR, cinematic, volumetric, glow, bloom, lens flare, time of day, weather, or camera/lens unless the user explicitly includes them.
|
@@ -363,7 +368,7 @@ CORE RULES
|
|
363 |
- Keep scenes plausible: accurate human anatomy, realistic object proportions, authentic textures and materials (skin pores, worn fabric, chipped paint, road dust).
|
364 |
- "Your imagination is your creation" you need to create best aesthetics eye catching image as possible they user may give simple bad small prompt due to laziness but you need to convert it into epic using your creativity all these by keeping users need unaffected.
|
365 |
- Your prompt should first focus on main subjects and key of the image in detail.
|
366 |
-
-
|
367 |
|
368 |
STRUCTURE TO FOLLOW
|
369 |
Subject β Setting β Action/pose β Framing (e.g., close-up, half-length, wide, eye-level) β Clothing/props β Real-world imperfections/details β Background context.
|
@@ -564,7 +569,7 @@ try {
|
|
564 |
|
565 |
try {
|
566 |
const encodedPrompt = encodeURIComponent(finalPrompt);
|
567 |
-
const url = `${baseUrl}/prompt/${encodedPrompt}?model=${model}&width=${width}&height=${height}&seed=${seed}&nologo=true&safe=${model === "flux"}`;
|
568 |
|
569 |
const res = await fetch(url);
|
570 |
if (!res.ok) throw new Error('Network response not OK: ' + res.status);
|
|
|
334 |
let isGenerating = false;
|
335 |
|
336 |
const styleTemplates = {
|
337 |
+
cinema: " epic cinematic marvellous Hollywood movies style photo ",
|
338 |
+
realistic: "",
|
339 |
+
photography: " epic Magnificent professional photography style image ",
|
340 |
fantasy: " create epic fantasy style, image "
|
341 |
};
|
342 |
|
|
|
348 |
CORE RULES
|
349 |
- Your prompt should correctly and accurately describe the users image need without changing or misinterpreting users need.
|
350 |
- YOU Always always need to specify suitable photo style at starting like :
|
351 |
+
- "sun soaked color filter Fujifilm X100V grainy Palette photo of"
|
352 |
+
- "Kodak Ektachrome 135 mm Film Emulation Portra 160 photo of"
|
353 |
+
- "Fujifilm Instax desaturated pastel Palette photo of"
|
354 |
+
- "Kodak portra 400 sun soaked pastel Palette photo of"
|
355 |
- "Film grain Sepia & warm amber tones desaturated muted color photo of"
|
356 |
+
- "grainy sun soaked color filter Film photo of"
|
357 |
- "Hazed cloudy Pallete photo of"
|
358 |
- "Primary pink spectrum Complementary bright Cheerful and whimsical photo of"
|
359 |
+
- "Muted colors cinematic grainy noir realism photo of" etc..
|
360 |
you need to think which style will give the best photo in this case.
|
361 |
you can and should merge or create new styles and not just copy paste the above.
|
362 |
you should modify or update styles based on users needs.
|
363 |
+
|
364 |
- YOU shall use style prefix only where it's suitable obviously you won't use it if user asked for anime or illustration or cartoon etc..
|
365 |
- Never include negations or flaw-prevention phrases such as "without," "no," "avoid," "ban," "exclude."
|
366 |
- Do not mention lighting, HDR, cinematic, volumetric, glow, bloom, lens flare, time of day, weather, or camera/lens unless the user explicitly includes them.
|
|
|
368 |
- Keep scenes plausible: accurate human anatomy, realistic object proportions, authentic textures and materials (skin pores, worn fabric, chipped paint, road dust).
|
369 |
- "Your imagination is your creation" you need to create best aesthetics eye catching image as possible they user may give simple bad small prompt due to laziness but you need to convert it into epic using your creativity all these by keeping users need unaffected.
|
370 |
- Your prompt should first focus on main subjects and key of the image in detail.
|
371 |
+
- Never EVER use stylization keywords like "hyperrealistic," "realistic," "8k," "award-winning," "unreal engine," "cinematic."
|
372 |
|
373 |
STRUCTURE TO FOLLOW
|
374 |
Subject β Setting β Action/pose β Framing (e.g., close-up, half-length, wide, eye-level) β Clothing/props β Real-world imperfections/details β Background context.
|
|
|
569 |
|
570 |
try {
|
571 |
const encodedPrompt = encodeURIComponent(finalPrompt);
|
572 |
+
const url = `${baseUrl}/prompt/${encodedPrompt}?model=${model}&width=${width}&height=${height}&seed=${seed}&nologo=true&safe=${model === "flux"}&referrer=yasirme-ximggen.static.hf.space`;
|
573 |
|
574 |
const res = await fetch(url);
|
575 |
if (!res.ok) throw new Error('Network response not OK: ' + res.status);
|