Showing posts with label aigc. Show all posts
Showing posts with label aigc. Show all posts

Friday, 16 May 2025

秒会 AI 绘图提示词技巧 - Master AI Art Prompts in Seconds (ComfyUI/StableDiffusion)

 

掌握提示词,玩转 ComfyUI/StableDiffusion,人人都是艺术家!- Grasp prompt words, conquer ComfyUI/StableDiffusion, and unleash your inner artist!

官网解释文档:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features

谁说 AI 绘图很难?掌握几个关键技巧,你的提示词立马变强!下面这份"傻瓜式"指南让你秒变提示词高手!

1. 默认权重与提示词长度控制

  • 用法:每个提示词默认权重为1,总词数建议≤75(实际受CLIP模型76token限制)。

  • 好处:避免模型计算过载,提升生成效率。

  • 极值:最小权重0(无效词),理论最大权重无限制但实际需保持总和合理。

  • 计算示例(sunflower:1.5) 将权重提升50%,相当于 ((sunflower)) 嵌套一层小括号。


2. 括号权重控制

  • 小括号 ( )

    • 用法:每层增加10%权重,如 (word)=1.1,((word))=1.21。

    • 替代语法:(word:1.3) 直接指定权重为1.3,避免多层嵌套。

  • 中括号 [ ]

    • 用法:每层减少10%权重,如 [word]=0.9,[[word]]=0.81。

  • 大括号 { }

    • 用法:混合使用时可自定义权重叠加逻辑,但需手动计算。

  • 注意:仅小括号支持冒号语法直接指定权重值。

  • 示例:如果我们要生成一张包含 “red flower” 和 “blue sky” 的图片,并且希望 “red flower” 更加突出,可以写成 “(red flower:1.5) blue sky”,这样 “red flower” 在生成图像时会得到更多的关注。


3. LoRA模型调用

  • 用法<lora:模型文件名:强度乘数>,如 <lora:smiling:0.8>。(假设有一个名为 “smiling” 的 LoRA 文件,这样图像中微笑表情会被突出)

  • 好处:微调特定风格,兼容UNet和CLIP模型。

  • 极值:乘数建议0~1(可超1, 但极易失真)。

  • 要求:需将LoRA文件放入指定目录(通常为 models/Lora)。


4. 连接符(下划线)

  • 用法:用下划线连接词组,如 banana_bread

  • 好处:强制CLIP分词器将词组视为整体,避免歧义(如不连接可能拆分为"banana"和"bread")。

  • 替代方案:引号包裹词组 "banana bread" 也可达到类似效果。


5. Prompt Editing(分步控制)

  • 语法:(注意to 是一个:from是两个::

    • [a:0.8]:表示元素 “a” 在生成过程中只在 0.8(即 80%)的步骤之后起作用。比如说: [balls:0.8] on the ground 相比于 [balls:0.1] on the ground, 前一个提示词生成的球的数量就会比较少,因为它只在最后20%的时候起作用。

    • [a::0.7]:表示元素 “a” 在生成过程中前 0.7(即 70%)的步骤起作用,之后的30%的生成步骤不起作用。比如说: [balls::0.7] on the ground 相比于 [balls::0.1] on the ground, 前一个提示词生成的球的数量就会比较多,因为它在生成过程前70%的部分起作用。

    • [a:b:16]:表示在第 16 步时,将元素 “a” 替换为元素 “b”。比如说: [cat:dog:10] 表示前10步画猫,后10步改画狗。最后的结果,会融合猫狗的特点,生成新的图片。

  • 好处:精细控制不同生成阶段的画面变化。

  • 极值:步数需≤总生成步数(默认20,可以自定义)。


6. 交替词(动态切换)

  • 用法:使用 [word1|word2|word3] 这样的语法,可以让模型在每一步生成时从列表中选择一个词。这可以用来创造在不同概念之间平滑过渡或混合的效果,或者引入一些随机性和多样性。

  • 好处:每一步随机选择其中一个词,生成混合特征。

  • 示例:a painting in the style of [van gogh|monet|picasso]:生成的画作风格会在梵高、莫奈、毕加索之间交替。


7. 4GB显存支持

  • 启用方式:启动参数添加 --medvram--lowvram

  • 原理:牺牲生成速度,分批处理模型计算以减少显存占用。

  • 限制

    • 分辨率可能受限(如≤512x512)。

    • 部分功能(如高清修复)需关闭。

  • 兼容显卡:NVIDIA 4GB+(如GTX 1650、RTX 3050)。

示例:python main.py --lowvram,python main.py --medvram,也可以两个一起用。

Sunday, 8 December 2024

Lightspeed Webcrafting: Harnessing Websim.ai for Free - 光速造网页:免费使用Websim.ai


Websim.ai: Your AI Copilot for Web Development - Websim.ai:你的AI网页开发忠诚僚机


Dive into the world of web development with Websim.ai, where creating a webpage is as easy as pie and free of charge! Are you tired of wrestling with code and testing websites until you're blue in the face? Look no further than Websim.ai, your one-stop-shop for swift and hassle-free webpage crafting. This nifty simulation app can mimic a vast majority of application programs at lightning speed, provided your demands aren't overly gigantic.


To get started, you need to head over to its website, websim.ai. You can log in using either your Discord or Gmail account. After your first login, don't forget to set a username, as it'll be part of the link for any app you might want to publish in the future. Once logged in, you'll land on the homepage. A quick peek at the top search bar reveals that the default AI in use is Sonnet 3.5, which is pretty darn powerful for now. But if you're feeling adventurous, you can explore other options too.


Let's put it to the test and ask it to build a travel search website. You can input your requirements either in the top search bar or by opening the sidebar and using the dialog box at the bottom. We told it to create a site where we could search for travel destinations. After hitting that send button, it's like waiting for a magic trick to unfold. And voila! In no time, it spits out a result. We tried searching for "Relax both body and mind with rich cultural charm", and it worked like a charm.


Now, the curious cat in us wanted to see if it could handle Chinese input. So, we tossed in a Chinese request in the top search bar, and after a brief moment, there it was – the result. Impressive, right? But wait, there's more. After a modification, it added a logo and a price guide. And then we wondered, could we go back to the previous version? Lo and behold, when we opened the sidebar, there was a version control option, allowing us to hop between different versions like a time-traveling web wizard. Feeling a bit cheeky, we decided to change the requirements again. We thought, "Hey, eight words are too many. Let's make it eight letters instead." We sent in the new demand, and when we used it to search once more, it delivered the goods. It seems this websim.ai is not only speedy but also quite adaptable to our ever-changing whims.


Some might argue that it's too good to be true. Can an app really be this efficient and flexible? But for now, it sure seems like a dream come true for those of us who just want to whip up a web page without all the usual headaches. Whether you're a newbie or a seasoned web creator looking for a shortcut, websim.ai might just be the answer you've been searching for. So, why not give it a whirl and see where your web-building adventures take you?

Embrace the power of multiple AIs at your fingertips—switch it up, try on GPT-4O-MINI for size, and watch as it tackles your travel webpage quest with the same zest. "Relax both body and mind with rich cultural charm" you command, and before you can say "AI, make me a webpage," it's done. The results? Speedy and spot-on, just like your morning coffee order. Curious about the other AIs lurking in Websim.ai's repertoire? They're all at your service, eager to show off their web-wizardry. Give 'em a whirl and see which one spins your web just right.


Back on the home turf, switch back to Sonnet3.5, and there you'll find your duo of travel search pages, ready for inspection. Click into the one birthed by Sonnet3.5, and behold the magic: a simple click on the three-dot menu unveils a treasure trove of options. Top of the list? "Copy URL," your gateway to sharing and showcasing your new digital baby. Paste that URL anywhere and the part at the end of it will be the ID of the item.

You see, websim has these super cool features. Click on that little three-dot button in the upper right corner, and it's like opening a treasure chest. You can peek at the URL, dig into the source code (if you're feeling a bit geeky), download the whole shebang, or even zap it into oblivion if you're not happy. When you download it and drag it into your browser, it's like having a clone of your web page. You can search away, and it works just as it did on websim. It's like having your own personal web playground right on your local machine. Now, let's get into the nitty-gritty of customization. Want to jazz up that "Price Guide" and make it a sassy red? Just type it into the search bar, and presto! It turns red, not just on the websim page but even when you open the URL in a new tab and refresh. It's like the web page is following your every fashion whim. And adding a details page? Piece of cake. Type in the right command in the search bar, and boom, it's there. Click on a search result, and out pops the details. But wait, there's more. You can tweak the page using parameters too. Type in something like "Language=Chinese & Currency=RMB & Background=Yellow", hit enter, and watch it transform. It's like websim is a mind reader, making your web page dreams come true.

So, if you're itching to create a unique web app without breaking a sweat or your bank, websim.ai is the place to be. Dive in, explore, and let your creativity run wild. And don't be shy; share your experiences or questions in the comments. Let's all learn and have fun in this websim wonderland!


Tuesday, 3 December 2024

Claude's God-Level Prompt? Claude's Secret Sauce - Claude 的神级提示词?Claude的秘密武器

Make your Claude smarter, faster, and oh-so-thoughtful! - 让Claude不仅聪明,还能帮你动脑!

Have you ever felt like your AI assistant was just going through the motions? Well, my friend, I've got some electrifying news. A new prompt has emerged that's about to turn Claude into a supercharged language model. It's like giving your AI a rocket booster!

This nifty little thing can seriously supercharge Claude's output. It's not just about getting better answers, but also getting a peek into Claude's thinking process. It's like peeking behind the curtain of the wizardry that goes on in there.

Now, let's talk about how to get our hands on this secret sauce. There are two ways. The first is to install a plugin. You can do it right on Chrome. But if you're like me and always in a hurry, the second method is the way to go. We'll be using the prompt word document.

Head over to its Github page. Dig into the model_instructions folder and find the latest.md file. Let's say it's "v5.1-extensive-20241201.md". Open it up and copy all that good stuff.

Then, log into your Claude account. In the dialog box, click on Choose style. Next, pick Create & Edit Styles and then smash that Create Custom Style button. Instead of the regular option, choose "Use custom instructions (advanced)". On the right side, paste the content from the.md file you copied earlier and hit Create Style. Now, click Options, select Rename Style and give your new style a cool name. If you change your mind, you can even Delete style. Once you've named it, click Use Style and voila! You're all set.

Now you can start asking questions and watch as Claude works its new and improved magic. But here's the thing, some might say it's a bit of a cheat. Is it really fair to give Claude this extra boost? Or is it just us being smart users, making the most of the tools available? That's a debate for another day. For now, let's just enjoy the enhanced experience and see where this new prompt takes us in our conversations with Claude.


Monday, 4 November 2024

The 2925 Email Hack: Your Secret Weapon for Free AI Tools(No BS Guide) - 白嫖党的武器:2925邮箱战法 - 零氪党的AIGC天堂

Why Pay When You Can Slay? Master the 2925 Email System - 薅毛高手速成:一个邮箱能顶一个钱包



Ladies and gentlemen, tech enthusiasts, and those who love a good freebie, gather 'round! Today, I'm going to let you in on a little secret that's going to help you use free online tools. You know that sinking feeling when you hit the limit on your free account and can't get any more for the day? Well, wave goodbye to that frustration with 2925 email, the Swiss Army knife of email services.


Let's start with the basics. You've got your main email account, and you're thinking, "What's so special about that?" Ah, but with 2925 email, you're not just getting an email address; you're getting a ticket to the unlimited account express. That's right, folks, you can create sub-emails like there's no tomorrow, and when one free account taps out, you just whip out another one and keep on trucking.


Now, let's talk about AIGC, the creative powerhouse that's all the rage these days. It's the tool that lets you flex your creative muscles without breaking a sweat. But, like any good thing, it comes with a limit. Or does it? With 2925 email, you can bypass that pesky limit and keep your creative juices flowing.


Here's how you do it. First, sign up for a 2925 email account. It's as easy as pie, and all you need is a phone number. Once you're in, you can generate a plethora of sub-emails. Now, head over to AIGC, and let's get this party started. If your 2925 email is abc@2925.com, and you're all logged in, you're ready to roll.


Navigate to the AIGC tool, click on sign in, and enter a new email address, something catchy like abc001@2925.com. Hit that "Sign in with Email link" button, and then rush to your 2925 inbox to find the new email. Click the activation link, and voilà, you're in the AIGC driver's seat.


And here's the kicker, if you can add 001 to your email, you can add 002, 003, and so on. That's right, an almost infinite number of sub-emails at your disposal, all ready to sign up and use AIGC. No more hitting that "you've reached your limit" wall.


So, go ahead, be a 2925 email virtuoso, and make those free accounts work for you. It's time to say "adios" to limitations and "hola" to unlimited creativity.

Tuesday, 8 October 2024

GPU Not Required: 2 Free Online Tools to Unleash Your Inner Artist with Flux - 没GPU也能玩转Flux!两款免费在线工具助你实现艺术梦

 

Video - 视频

Dream it, Flux it, for free! - 想画啥画啥,Flux帮你实现!


Introduction - 序言

Flux, a darling of the digital art world, lets creators build stunning visuals and animations, but not everyone has a high-end GPU to power it. Here’s the good news—no GPU, no problem! Many budding artists face the frustrating gap between creativity and hardware, but today I’m revealing two free online Flux tools that let you bypass that expensive GPU. These tools are like handing paintbrushes to someone without an easel—art will happen regardless! Ready to unleash your inner artist? Let’s dive in and break those GPU chains!


Tool1: huggingface flux space

No GPU? No problem! Welcome to the Hugging Face Flux space, where your artistic dreams come true faster than you can say "starving artist". Just mosey on over to https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev and let the magic begin. Enter your prompt like you're whispering sweet nothings to your muse. Feeling adventurous? Pop open those Advanced Settings and play God with seeds, image sizes, and guidance scales. Crank up that Guidance Scale if you want your art so real it'll make Mona Lisa jealous, or dial it down for a cartoon vibe that'd make Picasso proud. Once you've tweaked to your heart's content, hit that Run button and voila! In less time than it takes to microwave a burrito, you'll have art that'll make your fridge proud. Who needs a fancy GPU when you've got the power of the cloud and a dash of imagination?



Tool2: deep dream generator

Deep Dream Generator is your ticket to AI-powered artistry, no fancy GPU required. Just hop onto their website, click "Try it without registration," and voila! You're ready to paint with pixels faster than you can say "starry night". Next, enter the prompt, select the AI model below, and click ‘Generate’ to start generating images.

So grab your digital paintbrush and dive into the world of AI art. Who knows? You might just create the next Mona Lisa... or at least a funky profile pic that'll make your friends go "Huh?"