इसे छोड़कर कंटेंट पर जाएं

AI Image Generation

AI चैट से सीधे कस्टम इमेज बनाएं और स्टॉक फ़ोटो खोजें। बिल्ट-इन, कोई API key ज़रूरी नहीं।

Proyecta का AI, build प्रक्रिया के दौरान इमेज generate कर सकता है। इसमें दो बिल्ट-इन टूल हैं — एक कस्टम AI-generated visuals के लिए और एक curated stock photography के लिए। किसी third-party API key की ज़रूरत नहीं।

AI के पास एक generate_image टूल है जो मांग पर कस्टम visuals बनाता है। बस इस तरह पूछो:

  • "Generate a hero image for my landing page — abstract gradient with floating shapes"
  • "Create product mockup images for my e-commerce store"
  • "Make an illustration of a team collaborating for the about page"

Generate की गई इमेज तुम्हारे project के file storage में स्टोर होती हैं और उन्हें एक permanent CDN URL मिलता है। AI उन्हें तुम्हारे project की src/assets/ directory में download करता है (components में ES6 import के ज़रिए reference किया जाता है)। Favicons या OG images जैसी stable URLs के लिए फ़ाइलें public/ में रखने हेतु target_path: public/<name> का उपयोग करो।

विकल्प: AI aspect ratio (1:1, 16:9, 9:16, 4:3, 3:4) और quality (medium, high) को नियंत्रित कर सकता है।

Curated real-world photography के लिए, AI stock photo libraries खोजने हेतु generate_stock_image का उपयोग करता है (डिफ़ॉल्ट रूप से Unsplash, Pexels भी supported है):

  • "Find a hero photo of a modern office space"
  • "Add stock photos of food for the restaurant menu page"

Stock images तुम्हारे project की src/assets/ directory में download होती हैं और एक hotlinked CDN URL भी return होता है। टूल के result में attribution शामिल होती है — जब platform इसके लिए configured हो, तो AI तुम्हारे UI में photo credits render करेगा।

Logos और साधारण illustrations के लिए, AI किसी image API को call किए बिना सीधे SVGs generate कर सकता है:

Generate an SVG logo for my app — minimalist, two colors, abstract mark.
Save it to public/logo.svg and use it in the navbar.

इमेज कहाँ स्टोर होती हैं

Section titled “इमेज कहाँ स्टोर होती हैं”
  • AI-generated images blob storage में upload होती हैं और तुम्हारे project की src/assets/ directory में download होती हैं
  • Stock images (Unsplash / Pexels) तुम्हारे project की src/assets/ directory में download होती हैं
  • Runtime-uploaded images (तुम्हारे app के users द्वारा) Files & Media SDK के ज़रिए जाती हैं

अगर तुम्हें अपने app के end users के लिए (builder के लिए नहीं) किसी specific model या provider की ज़रूरत है, तो AI किसी भी image generation service को integrate कर सकता है:

  • DALL-E / OpenAI"Add an image generation page that calls OpenAI's images API"
  • Stable Diffusion / Stability AI"Integrate Stability AI with an SDXL model"
  • Replicate"Add Replicate-powered image gen with model selection"

पूछने से पहले Environment Variables में अपने provider की API key जोड़ो।