Grok Automation
05 · मोड · 5 मिनट पढ़ें

Image to Image

स्टिल्स का एक फोल्डर restyle करें। एक hero asset पर iterate करें। एक ही character के 30 colour वेरिएंट बिना re-uploading के चलाएँ।

इस मोड का उपयोग कब करें

Image to Image सही विकल्प है जब:

  • आपके पास सोर्स इमेज हैं जिन्हें आप ट्रांसफॉर्म करना चाहते हैं (restyle, recolour, expressions edit, नए वातावरण में रखें)।
  • आप हर बार re-uploading किए बिना किसी hero asset के fan out variations चाहते हैं।
  • आप filename-based pairing चाहते हैं — hero-frontal.png “hero frontal, painted style” से matched।

रेफरेंस इमेज लाइब्रेरी

जब आप Image to Image मोड टाइल चुनते हैं, प्रॉम्प्ट textarea के ऊपर एक Reference image(s) dropzone दिखता है।

  1. dropzone में इमेज फाइलें drop करें, या अपने filesystem से pick करने के लिए उस पर क्लिक करें।
  2. हर इमेज एक numbered tile बनती है। reorder करने के लिए drag-and-drop करें; क्लिपबोर्ड पर copy करने के लिए इमेज के filename label पर क्लिक करें।
  3. लाइब्रेरी browser restarts के दौरान persist रहती है। Per-mode: Image to Image के लिए जो इमेज आप upload करते हैं वे उस मोड के साथ रहती हैं और Text to Image (जिसकी कोई लाइब्रेरी नहीं है) या Image to Video (जिसकी अपनी है) में नहीं जाती।
Screenshot pending Reference image dropzone जिसमें आठ uploaded tiles हैं, हर एक अपने filename और index के साथ labeled
हर tile filename (जिसे आप matching के लिए use करेंगे) और एक index number दिखाती है।

प्रॉम्प्ट को इमेज के साथ pair करने के दो तरीके

प्रॉम्प्ट textarea के ठीक नीचे एक toggle नियंत्रित करता है कि प्रॉम्प्ट अपनी इमेज कैसे खोजते हैं:

Auto-attach matching reference images (डिफ़ॉल्ट रूप से चालू)

“Match image filenames against words in each prompt and attach them automatically.”

matcher हर प्रॉम्प्ट को plain text के रूप में पढ़ता है और किसी भी reference filename (बिना extension के) को खोजता है जो एक substring के रूप में दिखता है। तो library के साथ:

  • hero-frontal.png
  • hero-side.png
  • villain-frontal.png

प्रॉम्प्ट "hero frontal in a noir alleyway" hero-frontal.png मैच करता है। प्रॉम्प्ट "villain frontal, oil painting style" villain-frontal.png मैच करता है। प्रॉम्प्ट "a generic noir alleyway" कुछ भी मैच नहीं करता और कोई reference image के बिना चलता है (आप उस row पर एक unmatched चेतावनी देखेंगे)।

यह सही मोड है जब filenames अर्थपूर्ण हों — आपने अपनी library को जानबूझकर नाम दिया है, और आप चाहते हैं कि प्रति प्रॉम्प्ट एक इमेज name से pick हो।

Manual मोड (toggle बंद)

checkbox बंद करें और एक नया नियंत्रण दिखता है: Max input images per prompt (1–6)।

matcher चला जाता है — बजाय इसके, हर प्रॉम्प्ट library से पहली N इमेज क्रम में पाती है। Prompt 1 को images 1–N मिलती हैं, prompt 2 को भी images 1–N। यह one-to-many fanout के लिए सही मोड है: आपके पास एक hero asset है, आप उसके 12 stylistic वेरिएंट चाहते हैं।

अगर आप 8 इमेज की library के साथ Max को 3 पर सेट करते हैं, तो केवल पहले 3 हर प्रॉम्प्ट को भेजे जाते हैं। library tiles reorder करें यह नियंत्रित करने के लिए कि कौन से उपयोग होते हैं।

Screenshot pending Auto-match checkbox और Max input images per prompt dropdown
एक toggle तय करता है: क्या प्रॉम्प्ट name से अपनी इमेज खोजते हैं (auto-match), या वे सभी एक ही first-N इमेज share करते हैं (manual)?

इसे चलाएँ

Library और matching सेट होने के बाद, बाकी standard loop है:

  1. Prompts textarea में प्रॉम्प्ट टाइप करें, blank-line separated।
  2. model (Speed / Quality) और aspect के लिए Refine check करें।
  3. Run → क्लिक करें।

live progress list में हर प्रॉम्प्ट row उसे मिली reference इमेज के छोटे thumbnails दिखाती है, ताकि आप panel छोड़े बिना pairing sanity-check कर सकें।

live progress list के साथ काम करना

एक batch चलते समय, Run button के ऊपर prompt list एक status display के रूप में भी काम करती है। हर प्रॉम्प्ट के लिए:

  • प्रॉम्प्ट का text, जिसमें कोई matched image filenames सूक्ष्म रूप से highlighted हों।
  • Thumbnail strip दिखाती है कि कौनसी library इमेज attach थीं।
  • Status: queuedgenerating · N%done या failed
  • एक unmatched warning chip अगर auto-match को कुछ नहीं मिला।

batch खत्म होने के बाद, यह status बनी रहती है। prompt textarea edit करें (कोई भी keystroke) और list अगले रन के लिए authoring mode में वापस flip हो जाती है।

आप eventually क्या चाहेंगे

  • अपनी library को ध्यान से नाम दें। 001-hero-frontal.png “hero frontal” मैच करता है लेकिन leading 001- नुकसान नहीं करता। Underscores और hyphens दोनों ठीक हैं।
  • Library को manual-mode fanout नियंत्रित करने के लिए reorder करें। सबसे canonical इमेज को शीर्ष पर drag करें।
  • Iteration loops के लिए Chain prompts उपयोग करें। chain चालू होने पर, हर आउटपुट अगले प्रॉम्प्ट का source बनता है — stylistic ladders के लिए परफेक्ट। Chain prompts देखें।

Grok Automation, Grok उपयोगकर्ताओं के लिए एक स्वतंत्र ब्राउज़र एक्सटेंशन है। xAI से संबद्ध नहीं।