數碼行銷小貼士 (1) - 由零到一使用 stable diffusion

look4kol

Tue Oct 24 2023

數碼行銷小貼士 (1) - 由零到一使用 stable diffusion

隨着人工智能的普及應用,圖像生成技術亦在大眾化下變得更加便利,Stable Diffusion 就是一個好例子。Stable Diffusion 是一種強大的圖像生成人工智能工具,根據用戶的文字描述和設定,並經自家的公式運算下,Stable Diffusion可以生成出獨特、高質量且逼真的圖像。例如在餐桌上的紳士小貓,駕車中的金毛狗。用家們可以發揮自己的創作力,打造出心目中最個性化的圖像。


如何使用 Stable Diffusion生產高質量的圖像?


1. 選擇參考圖像

正在烹調的男人

首先從Google或其他來源尋找一張合適的圖像,例如正在烹調的男人,你可以複製或儲存於電腦內,這些圖像將作為的生成的來源參考文本。


2. 利用MiniGPT-4進行圖像描述

上載後請按”Uploda &”開始生成文字描述

為避免描述上出現落差,你的參考圖像需要轉換成文字描述,才可以在後續圖像生成步驟中創造出有意義的人工圖像。你可以前往Hugging Face Spaces AI (https://huggingface.co/spaces/Vision-CAIR/minigpt4 ),並選擇模型 MiniGPT-4轉換文字。首先你需要把參考圖片上載至Spaces AI平台,圖片進行演算後,你可以在模型介面中要求取得圖片描述文本。

在使用者輸入介面上填寫要求

例如把烹調的男人生成文字描述,你就會得到”這張圖片展示了一個穿著圍裙的男人站在廚房櫃檯前,手持刀具在刀具上切割蔬菜。背景是一堵堵磚牆和一個灶台上放著一個鍋。男人穿著黑色襯衫和黑色長褲,頭髮短而豐富。廚房光線明亮,具有現代工業風格”。

你亦可以人手轉換文字上的關鍵字 例如男人->熊


3. 使用ChatGPT以獲取圖像生成提示(prompt)及建議

圖像文本生成後,你可以進一步增強和改進文本的描述質素。你需要前往GitHub平台https://gist.github.com/bluelovers/92dac6fe7dcbafd7b5ae0557e638e6ef 複製提示模板文本,以引導AI模型篩選出合適的關鍵字作為圖像提示文字。


把MiniGPT-4描述文本複製至 “Write you idea here”即可

複製後,你可以前往Vercel AI Playground https://sdk.vercel.ai/ 進行提示文字強化,該平台提供了免費的AI 模型,包括ChatGPT,方便你同時與多種A I模型進行互動。


按”Send”即可

你在介面中需要貼上整個提示模板文本以及圖像文字描述,並於ChatGPT和其他模型中請求有加強文本描述的提示和建議,例如重點提及圖像的某種特質,使最終的圖像生成質素能得以提升。

複製加的強文本描述作後續使用


4. 使用Stable Diffusion完成你的個人化圖像!

按”Generate”即可

這個API將利用Stable Diffusion的技術生成圖像,你只需要將已強化的文字描述和提示輸入至Stable Diffusion 的API 中,稍等一會便能得到你期望已久的圖像!

Select Image Style


完成品

bear 1

Bear2

Bear 3

Bear 4


More Articles

🚀 Earn a great extra income with Look4KOL Pro 🚀

KOL Rewards Plan: The Ultimate KOL ProgramWe are thrilled to announce the launch of a new Look4KOL Rewards Scheme, which will revolutionize the way KOLs refer and earn. This is a seamless way in which you can support your fellow KOLs and also earn a penny or more for yourself.What’s Look4KOL Rewards Scheme all about?It’s simple and we will help to lay out a step by step procedure. Here’s how it works:Signup and Login as a KOL in look4kol.comGo to the rewards pageClick on the referral link tabCop...

Look4KOLTue Jul 25 2023

Skyrocket Your SEO with KOL Marketing

In the competitive world of online marketing, businesses are constantly seeking new ways to gain a competitive edge and improve their search engine rankings. One strategy that has been gaining traction in recent years is influencer/KOL marketing. By collaborating with influential individuals in your niche, you can tap into their audience and boost your SEO efforts. In this comprehensive guide, we'll explore how KOL marketing can help skyrocket your SEO and provide actionable tips for getting sta...

Prabhansh JainThu May 18 2023

The Key to Unlocking Influencer Marketing Success: Mastering the Dos and Don'ts of Working with KOLs

Influencer marketing has become an integral part of social media marketing. Key Opinion Leaders (KOLs) have become the go-to people for brands looking to promote their products through this marketing strategy. KOLs are trusted experts in their respective industries, and their endorsement of a product can lead to increased credibility and sales for a brand. However, to unlock the full potential of KOL marketing, it is important to understand the dos and don'ts of working with them. In this articl...

Prabhansh JainFri May 05 2023
look4kolLook4KOL
Copyright © 2025 HappyJai Limited. All contents © of their respective owners
Unit 940, 9/F, Building 19W No. 19 Science Park West Avenue Hong Kong Science Park, Pak Shek Kok, N.T.

Genres

👗 Apparel and clothing👟 Shoes and footwear👒 Accessories, bags, jewelry, and hats💍 Luxury fashion and luxury bags👘 Trendy and vintage💅 Beauty and skincare products🧴 Personal hygiene and grooming products💊 Health and wellness products, such as vitamins and supplements🛋️ Home decor and furnishings🛏️ Furniture, home appliances and smart-home devices🍳 Kitchenware and cooking tools🎮 Gaming equipment and accessories💻 Electronics and gadgets, such as smartphones and laptops🎧 Audio equipment and speakers💿 Tech accessories and components🍽️ Food and beverages🍷 Alcohol and spirits☕ Coffee and tea products⛹ Sports and outdoor gear🏟️ Sports fandom🏃 Sport training✈ Travel accessories and luggage🥾 Outdoor and camping gear🚲 Personal transportation devices, such as bicycles or electric scooters🏡 Garden and outdoor equipment🧒 Children's and teens products👶 Baby products🏫 Child education💝 Dating related, such as gifts, couple story, recommendation of dating location💋 Sex related product💑 Seeking dating partner, such as dating APP🎨 Art supplies and materials📚 Books and literature🎶 Music and musical instruments🎥 Movies and TV shows📸 Cameras and photography equipment🧩 Board games and puzzles🦸 Anime, Comic, Figure and Cosplay✂ Handmade, Crafting or artisanal items🔬 Science and knowledge⚜ Tattoo📱 Crypto and NFT📈 Business Knowledge, Future Tech, Investment, Business News and Stock Market👔 Business, Start-up and professional services, such as web design or legal services.🎓 School, Exam, Stationery and paper products🧵 Tailor-made, personalized and custom items🎄 Seasonal items, such as Halloween costumes or Christmas decorations🎁 Personalized gifts (not for couple)🐈 Pet supplies and products💙 Philanthropy💡 Creative Content🙋‍♀️ KOL