fork download
  1. # your code goes # CLIP Prompt Optimizer for Interior Design
  2. # Token-optimized mappings (~70 token max for CLIP)
  3.  
  4. CLIP_MAPPINGS = {
  5. "space": {
  6. "Living Room": "living room with sofa, coffee table, and rug",
  7. "Office": "home office with desk, chair, and shelves",
  8. "Bedroom": "bedroom with bed, nightstands, and wardrobe",
  9. "Bathroom": "bathroom with vanity, shower, and tiled walls",
  10. "Kitchen": "kitchen with cabinets, countertops, and appliances",
  11. },
  12.  
  13. "style": {
  14. "Modern": "modern style, clean lines, sleek furniture",
  15. "Classic": "classic style, ornate moldings, traditional furniture",
  16. "Minimal": "minimalist style, bare walls, simple furniture",
  17. "Industrial": "industrial style, exposed brick, raw concrete",
  18. },
  19.  
  20. "mood": {
  21. "Cozy": "cozy feel, soft cushions, warm textures",
  22. "Luxury": "luxurious feel, elegant decor, high-end finishes",
  23. "Calm": "calm feel, serene and uncluttered",
  24. "Energetic": "energetic feel, bold accents, dynamic layout",
  25. },
  26.  
  27. "color": {
  28. "Neutral": "neutral beige and white tones",
  29. "Warm": "warm terracotta and cream tones",
  30. "Cool": "cool grey and blue tones",
  31. "Bold": "bold jewel tones with strong contrasts",
  32. },
  33.  
  34. "materials": {
  35. "Wood": "oak wood floors and furniture",
  36. "Glass": "glass surfaces and mirrors",
  37. "Marble": "marble floors and countertops",
  38. "Metal": "black metal frames and fixtures",
  39. },
  40.  
  41. "layout": {
  42. "Open Plan": "open-plan layout",
  43. "Separated Spaces": "separated rooms",
  44. "Semi-Open Plan": "semi-open layout",
  45. },
  46.  
  47. "lighting": {
  48. "Natural": "natural daylight from large windows",
  49. "Warm": "warm ambient lighting from lamps",
  50. "Bright": "bright overhead lighting",
  51. "Layered": "layered ceiling and floor lighting",
  52. },
  53. }
  54.  
Success #stdin #stdout 0.01s 7036KB
stdin
Standard input is empty
stdout
Standard output is empty