enzostvs HF Staff commited on
Commit
4098b65
·
1 Parent(s): 0341b20

back to old images

Browse files
Files changed (1) hide show
  1. lib/prompts.ts +12 -12
lib/prompts.ts CHANGED
@@ -11,20 +11,20 @@ export const PROJECT_NAME_END = ">>>>>>> PROJECT_NAME_END";
11
  export const PROMPT_FOR_REWRITE_PROMPT = "<<<<<<< PROMPT_FOR_REWRITE_PROMPT ";
12
  export const PROMPT_FOR_REWRITE_PROMPT_END = " >>>>>>> PROMPT_FOR_REWRITE_PROMPT_END";
13
 
14
- // export const PROMPT_FOR_IMAGE_GENERATION = `If you want to use image placeholder, http://Static.photos Usage:Format: http://static.photos/[category]/[dimensions]/[seed] where dimensions must be one of: 200x200, 320x240, 640x360, 1024x576, or 1200x630; seed can be any number (1-999+) for consistent images or omit for random; categories include: nature, office, people, technology, minimal, abstract, aerial, blurred, bokeh, gradient, monochrome, vintage, white, black, blue, red, green, yellow, cityscape, workspace, food, travel, textures, industry, indoor, outdoor, studio, finance, medical, season, holiday, event, sport, science, legal, estate, restaurant, retail, wellness, agriculture, construction, craft, cosmetic, automotive, gaming, or education.
15
- // Examples: http://static.photos/red/320x240/133 (red-themed with seed 133), http://static.photos/640x360 (random category and image), http://static.photos/nature/1200x630/42 (nature-themed with seed 42).`
16
- export const PROMPT_FOR_IMAGE_GENERATION = `
17
- If you want to use image, you can use the following URL:
18
- https://enzostvs-cached-generation.hf.space/generate/[prompt]?[options]
19
 
20
- [Options]:
21
- - format: square, portrait-3_4, portrait-9_16, landscape-16_9, landscape-4_3
22
 
23
- [Examples]:
24
- https://enzostvs-cached-generation.hf.space/generate/a-cat-wearing-glasses
25
- https://enzostvs-cached-generation.hf.space/generate/sunset-over-mountains?format=landscape-16_9
26
- https://enzostvs-cached-generation.hf.space/generate/portrait-of-a-wizard?format=portrait-9_16
27
- `
28
  export const PROMPT_FOR_PROJECT_NAME = `REQUIRED: Generate a name for the project, based on the user's request. Try to be creative and unique. Add a emoji at the end of the name. It should be short, like 6 words. Be fancy, creative and funny. DON'T FORGET IT, IT'S IMPORTANT!`
29
 
30
  export const INITIAL_SYSTEM_PROMPT_LIGHT = `You are an expert UI/UX and Front-End Developer.
 
11
  export const PROMPT_FOR_REWRITE_PROMPT = "<<<<<<< PROMPT_FOR_REWRITE_PROMPT ";
12
  export const PROMPT_FOR_REWRITE_PROMPT_END = " >>>>>>> PROMPT_FOR_REWRITE_PROMPT_END";
13
 
14
+ export const PROMPT_FOR_IMAGE_GENERATION = `If you want to use image placeholder, http://Static.photos Usage:Format: http://static.photos/[category]/[dimensions]/[seed] where dimensions must be one of: 200x200, 320x240, 640x360, 1024x576, or 1200x630; seed can be any number (1-999+) for consistent images or omit for random; categories include: nature, office, people, technology, minimal, abstract, aerial, blurred, bokeh, gradient, monochrome, vintage, white, black, blue, red, green, yellow, cityscape, workspace, food, travel, textures, industry, indoor, outdoor, studio, finance, medical, season, holiday, event, sport, science, legal, estate, restaurant, retail, wellness, agriculture, construction, craft, cosmetic, automotive, gaming, or education.
15
+ Examples: http://static.photos/red/320x240/133 (red-themed with seed 133), http://static.photos/640x360 (random category and image), http://static.photos/nature/1200x630/42 (nature-themed with seed 42).`
16
+ // export const PROMPT_FOR_IMAGE_GENERATION = `
17
+ // If you want to use image, you can use the following URL:
18
+ // https://enzostvs-cached-generation.hf.space/generate/[prompt]?[options]
19
 
20
+ // [Options]:
21
+ // - format: square, portrait-3_4, portrait-9_16, landscape-16_9, landscape-4_3
22
 
23
+ // [Examples]:
24
+ // https://enzostvs-cached-generation.hf.space/generate/a-cat-wearing-glasses
25
+ // https://enzostvs-cached-generation.hf.space/generate/sunset-over-mountains?format=landscape-16_9
26
+ // https://enzostvs-cached-generation.hf.space/generate/portrait-of-a-wizard?format=portrait-9_16
27
+ // `
28
  export const PROMPT_FOR_PROJECT_NAME = `REQUIRED: Generate a name for the project, based on the user's request. Try to be creative and unique. Add a emoji at the end of the name. It should be short, like 6 words. Be fancy, creative and funny. DON'T FORGET IT, IT'S IMPORTANT!`
29
 
30
  export const INITIAL_SYSTEM_PROMPT_LIGHT = `You are an expert UI/UX and Front-End Developer.