当前位置: 首页 > news >正文

stable-diffusion 模型效果+prompt

摘自个人印象笔记,图不完整可查看原笔记:https://app.yinxiang.com/fx/55cda0c6-2af5-4d66-bd86-85da79c5574e
Prompt运用规则及技巧 :
1. https://publicprompts.art/(最适用于OpenArt 线上模型 https://openart.ai/)
2. https://docs.qq.com/doc/DWFdSTHJtQWRzYk9k(转自元素法典,含各类风格用词)
3. https://www.ptsearch.info/home/(实例查询)
4. http://prompttool.com/NovelAI(体验还不错)
使用:
1. 通用Tag起手式: 正向:
masterpiece, best quality, 更多画质词,画面描述
反向:
nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry,根据画面产出加不想出现的画面。nsfw(not safe for work=涩图)
2. 越靠前的Tag权重越大;比如景色Tag在前,人物就会小,相反的人物会变大或半身。
3. 生成图片的大小会影响Prompt的效果,图片越大需要的Prompt越多,不然Prompt会相互污染。
4. 在Stable Diffusion 中使用()英文括号可增加括号中Tag在画面中的权重 x1.1,[]可减小Tag权重x0.91。在NovelAi官网中,使用{}增加权重x1.05。
5. Prompt支持使用emoji,且表现力较好,可通过添加emoji达到表现效果。如😍形容表情,🖐可修手。
6.“+” , “ AND” , “|” 用法:
“+”和“ AND ”都是用于连接短Tag,但AND两端要加空格。"+"约等于" and "
“|” 为循环绘制符号(融合符号)
(Prompt A: w1)|(Prompt B: w2)
以上表达适用于WebUI,w1、w2为权重。AI会对A、 B两Prompt进行循环绘制。可往后无限加入Prompt。

Prompt格式优化:
1. 简易换行三段式表达:
第一段: 画质tag,画风tag
第二段:画面主体,主体强调,主体细节概括。(主体可以是人、事、物、景)画面核心内容
第三段:画面场景细节,或人物细节,embedding tag。画面细节内容
第二段一般提供人数,人物主要特征,主要动作(一般置于人物之前),物体主要特征,主景或景色框架等
2.元素同典调整版语法:
质量词→前置画风→前置镜头效果→前置光照效果→(带描述的人或物AND人或物的次要描述AND镜头效果和光照)*系数→全局光照效果→全局镜头效果→画风滤镜(embedding)
Tips: 不同模型(ckpt)对Prompt的敏感程度不同,一套完善的prompt在不同的模型中,表达效果会有差异。每个模型都有自己的特色,需根据模型特色,慢慢调试prompt组合。
模型名称
效果图
prompt
备注
unstableinkdream_v6.safetensors
(Gorgeous anime_screencap,limited palette, :1.3) of (Screen print:1.3),(Cosy:1.3) photorealistic, Analog Style photo, (architecture, bird, blue_sky, bridge, (single Medieval Tavern|castle on hill:1.3), cloud, cloudy_sky,, no humans, :1.2)by studio ghibli, oil painting \(medium\), acrycle painting, by (nvinkpunk:0.3),(kuvshinov:0.8),(dreamlikeart:0.3),(samdoesart:0.3),(modelshoot style:0.3),, unreal engin 5,octane render,(2D:1.2), digital painting, artstation, concept art, smooth, sharp focus,art by ross tran and greg rutkowski and alphonse Mucha and Bak Karol,,(colorful:1.16), soft lightingstudio ghibli,Shinkai Makoto,(__Hyperrealism:1.3),(__Photorealism:1.3),(80s Art:1.3),(Low Contrast:1.3)<hypernet:2nvinkpunk:1.0>
Negative prompt: (nsfw:1.3),(tatoo, things on face :1.2),(watermark:1.2),(bored photo:1.2),no color, blurry, ugly, poor quality, deformed hands, deformed face, deformed body, extra limbs, low quality, normal quality, text, errors, bad anatomy, mutation, deformed fingers, missing fingers, low res, bad hands, cropped, deformed hands, (deformed legs:1.2), (deformed arms:1.2), (multiple arms:1.2), (signature:1.2),bad_bad02, long neck, out of frame, extra fingers, mutated hands, monochrome,Low quality,Photo,Artifacts,Table,Paper,Pencils,Pages,Wall,watermark,signature
ENSD: 31337, Size: 512x1024, Seed: 2545151719, Steps: 15, Sampler: DPM++ SDE Karras, CFG scale: 7, Model hash: d855c1d2ba
疑似需要在models\hypernetworks目录下放置2nvinkpunk模型

(Gorgeous anime_screencap,limited palette, :1.3) of (Screen print:1.3),(Cosy:1.3) photorealistic,,best quality,masterpiece,highly detailed,ultra-detailed, (a castle no no humans, :1.5)by studio ghibli, oil painting \(medium\), acrycle painting, by (nvinkpunk:0.3),(kuvshinov:0.8),(dreamlikeart:0.3),(samdoesart:0.3),(modelshoot style:0.3),, unreal engin 5,octane render,(2D:1.2), digital painting, artstation, concept art, smooth, sharp focus,art by ross tran and greg rutkowski and alphonse Mucha and Bak Karol,,(colorful:1.16), soft lightingstudio ghibli,Shinkai Makoto,(__Hyperrealism:1.3),(__Photorealism:1.3),(80s Art:1.3),(Provia:1.3),naturalism,land Art,regionalism,shutterstock contest winner,trending on unsplash,featured on Flickr
Negative prompt: (nsfw:1.3),(tatoo, things on face :1.2),(watermark:1.2),(bored photo:1.2),no color, blurry, ugly, poor quality, deformed hands, deformed face, deformed body, extra limbs, low quality, normal quality, text, errors, bad anatomy, mutation, deformed fingers, missing fingers, low res, bad hands, cropped, deformed hands, (deformed legs:1.2), (deformed arms:1.2), (multiple arms:1.2), (signature:1.2),bad_bad02, long neck, out of frame, extra fingers, mutated hands, monochrome,Low quality,Photo,Artifacts,Table,Paper,Pencils,Pages,Wall,watermark,signature,((hdr)),((terragen)),((rendering)),(high contrast)
ENSD: 31337, Size: 1088x512, Seed: 4113261453, Steps: 15, Sampler: DPM++ 2S a Karras, Hypernet: 2nvinkpunk, CFG scale: 7, Model hash: d855c1d2ba, Hypernet hash: 1cca8b1232


(anime_screencap,limited palette, :1.3) of by (nvinkpunk:0.3),(kuvshinov:0.8),(dreamlikeart:0.3),(samdoesart:0.3),(modelshoot style:0.3), photorealistic,,best quality,masterpiece,highly detailed,ultra-detailed, east asian architecture, banners, rolling green hills, path, stairs, forest, sunny day, clouds, sharp focus, by studio ghibli,, unreal engin 5,octane render,(2D:1.2), limited palette flat color,, digital painting, artstation, concept art, smooth, sharp focus,art by ross tran and greg rutkowski and alphonse Mucha and Bak Karol,, (oil painting:1.16),(acrylic paint:1.16),, by (photorealistic:1.0),(analog style:1.0),studio ghibli,Shinkai Makoto,(__chinese ink painting:1.3),(__Ukiyo-E:1.3)
Negative prompt: (nsfw:1.3),(tatoo, things on face :1.2),(watermark:1.2),(bored photo:1.2),no color, blurry, ugly, poor quality, deformed hands, deformed face, deformed body, extra limbs, low quality, normal quality, text, errors, bad anatomy, mutation, deformed fingers, missing fingers, low res, bad hands, cropped, deformed hands, (deformed legs:1.2), (deformed arms:1.2), (multiple arms:1.2), (signature:1.2),bad_bad04,Low quality,Photo,Artifacts,Table,Paper,Pencils,Pages,Wall,watermark,signature
ENSD: 31337, Size: 768x512, Seed: 3685826003, Steps: 20, Sampler: DPM++ 2M Karras, Hypernet: 2nvinkpunk, CFG scale: 7, Model hash: d855c1d2ba, Hypernet hash: 1cca8b1232


1: A steampunk town, highly detailed oil painting by Thomas Kinkade and James Gurney. Trending on artstation 8k HD octane render photorealistic concept Art matte digital illustration grainy cgsociety contest winner 3d behance h 1024 w- 768 W&D unreal engine 5 quality cinematic dramatic lighting chiaroscuro volumetric light foggy lens flare red color scheme dark green black purple colors vibrant tones atmospheric photograph
Negative prompt: bad_bad04,Hands-neg,
ENSD: 31337, Size: 512x640, Seed: 3833685131, Steps: 20, Sampler: DPM++ 2S a Karras, Hypernet: 2nvinkpunk, CFG scale: 7, Model hash: d855c1d2ba, Hypernet hash: 1cca8b1232

prmj_v1.safetensors
a cute lion cub in a comfy wooden basket, photoreal, shot using sony a7riii camera, photography
ENSD: 31337, Size: 960x768, Seed: 546740366, Steps: 16, Sampler: DPM++ SDE, CFG scale: 6, Model hash: e40298941c

rabbitRabbit_v10.safetensors
blue_flower, bunny, bush, daisy, dandelion, day, field, fireflies, flower, flower_field, full_body, garden, grass, green_background, holding_flower, hydrangea, leaf, nature, no_humans, on_grass, outdoors, palm_tree, plant, pokemon_\(creature\), potted_plant, purple_flower, smile, spider_lily, tree, tree_stump, tulip, watering_can, white_flower
Negative prompt: hairless,Blurred background
Seed: 731834947, Steps: 7, Sampler: DPM++ SDE Karras, CFG scale: 4
搭配chilloutmix_NiPrunedFp32Fix或者sunshinemix_sunlightmixPruned来使用

blue_flower, bunny, bush, daisy, dandelion, day, field, fireflies, flower, flower_field, full_body, garden, grass, green_background, holding_flower, hydrangea, leaf, nature, no_humans, on_grass, outdoors, palm_tree, plant, pokemon_\(creature\), potted_plant, purple_flower, smile, spider_lily, tree, tree_stump, tulip, watering_can, white_flower
Negative prompt: hairless,Blurred background
Seed: 731834940, Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 4


animal, rabbit,realistic,hairy, animal_focus, blush, looking_at_viewer, no_humans, open_mouth, realistic, smile, tongue, tongue_out, whiskers
Negative prompt: hairless
Seed: 387474633, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 5


:3,rabbit,realistic,hairy,clothed_animal, black_eyes, bunny, cherry_blossoms, flower, ground_vehicle, no_humans, outdoors, petals, rabbit_ears, snow, snowflakes, snowing, solo, watermark, winter
Negative prompt: hairless
Seed: 50802857, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7


:3,rabbit,realistic,hairy,clothed_animal, apple, black_eyes, blush, cherry, food, fruit, full_body, hat, no_humans, strawberry, tomato, watermelon
Negative prompt: hairless
Seed: 4106245977, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 4

Moxin_10.safetensors
这是一个和墨心搭配使用的构图Lora, 一旦使用并再最前前置提示词后,就会采用较大面积留白的构图风格。可以在版本处找到他
注意事项:
1.)CFG范围将会改变风格
1~3 : 大小写意
3~7 : 逐渐工笔
2.)推荐基础模型为国风3.2( 国风3.2 )
3.)《墨心》的推荐Lora权重为0.85以下
4.)《疏可走马》推荐Lora权重为0.7~1

shuimobysim, girl, woman,bare shoulders, (ecchi0.5), (trees:0.5), (flowers:0.6) ,(birds:0.2), (bamboo0.1), lakes, Hangzhou, wuchangshuo, wuchangshuo in background <lora:shuimobysimV3:0.8>
Negative prompt: mutated hands, (poorly drawn hands:1.331),(fused fingers:1.61051), (too many fingers:1.61051), bad hands, missing fingers, extra digit
Size: 1024x1365, Seed: 2643581225, Model: GuoFeng3.2, Steps: 28, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: 0bb33c7041



masterpiece, best quality, official art, 8k wallpaper, highly detailed, illustration, 1 girl, black hair, long hair, detailed eyes, bamboo forrest, bare shoulders, lakes, pure, soft smile <lora:Moxin_10:0.55>
<lora:hipoly3DModelLora_v10:0.0> <lora:fashionGirl_v45:0.4> <lora:Moxin_Shukezouma10:0.5>
Negative prompt: fat, naked, nude, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), bad anatomy, DeepNegative, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet, cropped, poorly drawn hands, poorly drawn face, mutation, deformed, extra fingers, extra limbs, extra arms, extra legs, malformed limbs, fused fingers, too many fingers, long neck, cross-eyed, mutated hands, polar lowres, bad body, bad proportions, gross proportions, text, error, missing fingers, missing arms, missing legs,
Size: 512x768, Seed: 3935949157, Model: chilloutmix_NiPrunedFp32Fix, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: fc2511737a
貌似模型要放到lora目录下

shukezouma, (negative space:1.5),clean background, shuimobysim, hanfu, beard, man, mustaches, playing pipa, blue and green ink, <lora:Moxin_Shukezouma:1> <lora:Moxin_1010:0.7>
Negative prompt: mutated hands, (poorly drawn hands:1.331),(fused fingers:1.61051), (too many fingers:1.61051), bad hands, missing fingers, extra digit
Size: 640x1024, Seed: 856686193, Model: gufeng_v10, Steps: 47, Sampler: DPM++ SDE Karras, CFG scale: 3, Model hash: 49337fdda4


shukezouma, (negative space:1.5),clean background, shuimobysim, hanfu, beard, man, mustaches, playing pipa, blue and green ink, <lora:Moxin_Shukezouma:1> <lora:Moxin_1010:0.7>
Negative prompt: mutated hands, (poorly drawn hands:1.331),(fused fingers:1.61051), (too many fingers:1.61051), bad hands, missing fingers, extra digit
Size: 640x1024, Seed: 1963297257, Model: gufeng_v10, Steps: 47, Sampler: DPM++ SDE Karras, CFG scale: 3, Model hash: 49337fdda4


shuimobysim, swordman,holding a sword(trees:0.5),(eagle:0.5), (bamboo:0.2) fighting stance, Hangzhou, wuchangshuo, wuchangshuo in background <lora:moxin_1010:0.8>
Negative prompt: mutated hands, (poorly drawn hands:1.331),(fused fingers:1.61051), (too many fingers:1.61051), bad hands, missing fingers, extra digit
Eta: 0.667, ENSD: 31337, Size: 512x768, Seed: 2340572146, Model: dalcefoBanmooteAsian_dalcefoBanmoote, Steps: 40, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 9ffb93a408

ChilloutMixss或叫:chilloutmixss_xss10.safetensors
(RAW photo, best quality,high quality,highres), (realistic, photo-realistic), ultra-detailed,(front lighting), closed up portrait photo,physically-based rendering, 1girl,20 years old,(stand,pose,front full body),(highly detailed skin:1.3),laughing out loudly,head tilt, very very long longest hoodie,detailed hoodie,bare legs,hands in hoodie pocket, detailed eyes,air bangs,
<lora:xiaoshasha_xss10:0.70>,
<lora:koreanDollLikeness_v10:0.2>

Negative prompt: (EasyNegative:1.2), paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), (grayscale:1.2),extra fingers,fewer fingers,(watermark:1.2),(letters:1.2),(nsfw:1.2),(2girls:1.2), see-through clothes, huge breasts,large breasts,pants,pussy,panties,bag,purse,hand,(bad ears,earrings:1.4),
Seed: 1738731153, Steps: 20, Sampler: DPM++ 2M, CFG scale: 8
需要将ChilloutMixss模型复制一份到lora目录下,改名为:xiaoshasha_xss10

(8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37), best quality, ultra high res, restaurant, 1girl, tree, pink rose, flower, solo, ((hair blown by air)) , sitting, pink flower, window, white rose, brown eyes,((wink)), short hair, denim, white shirt, blue jeans, red rose, shorts, head rest, table, vase, (ulzzang-6500-v1.1:0.5),(pureerosface_v1:0.5),photographed with a sony A9M2, sigma 85 f1.4 lens, by Laurence Demaison, <lora:chilloutmixss_xss10:0.6> ,
Negative prompt: EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, nsfw, (outdoor:1.6), backlight,(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (more than 2 nipples:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit, (futa:1.1),bad hands, missing fingers, panties,bad hands,bad finger,long finger,Multiple fingers,hands up,
ENSD: 31337, Size: 640x960, Seed: 172127844, Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 8, Clip skip: 2, Model hash: a757fe8b3d, ControlNet Model: control_sd15_openpose [fef5e48e], ControlNet Module: openpose, ControlNet Weight: 1, ControlNet Enabled: True, ControlNet Guidance Strength: 1

goodAsianGirlFace_goodAsianGirlFaceV12.safetensors
masterpiece,best quality, upper body protrait of (Wsxff:1.3), brown long wavy hair, bangs, big eyes, parted lips, black eyes,, Sketch, masterpiece, best quality, extremely detailed, 1girl, full body, beautiful detailed eyes, cute anime face, full body, beautiful detailed face, white hair, (Botanical illustration:1.5), white dress
Negative prompt: nsfw,ugly, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, multiple girls, multiple faces,, canvas frame, cartoon, 3d, ((disfigured)), ((bad art)), ((deformed)),((extra limbs)),((close up)),((b&w)), wierd colors, blurry, (((duplicate))), ((morbid)), ((mutilated)), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), Photoshop, video game, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, 3d render, nsfw, lower, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, missing fingers, bad hands, missing arms, long neck, Humpbacked, shadow, nude
ENSD: 31337, Size: 512x768, Seed: 104490948, Steps: 28, Sampler: Euler a, CFG scale: 12, Model hash: aff1d22be5, Face restoration: GFPGAN


High Detail, Sharp focus, dramatic, photorealistic, hyper realistic, a long bob cut girl [with a warm smile:0.8] working at a cozy coffee shop, wearing a black apron and a white shirt, at dusk, with depth of field, light rays, (light particles:0.9), and soft shadows on her face, looking at viewer, [Paul Hedley:0.5], warm tone
Negative prompt: ugly, fat, obese,(((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands fingers), messy drawing, morbid, mutilated, [out of frame], (bad proportions), (poorly drawn body), (poorly drawn legs), worst quality, low quality, normal quality, text, censored,, ugly, fat, obese,(((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands fingers), messy drawing, morbid, mutilated, [out of frame], (bad proportions), (poorly drawn body), (poorly drawn legs), worst quality, low quality, normal quality, text, censored, (bad_prompt_version2:0.8)
ENSD: 31337, Size: 768x1024, Seed: 2029189734, Steps: 30, Sampler: Euler a, CFG scale: 7, Batch pos: 1, Clip skip: 2, Mask blur: 4, Batch size: 4, Model hash: 6aa9d14bba, Denoising strength: 0.75


a photo of Katonana, masterpiece, best quality, 4k, illustration,((1girl)), realistic, photo \(medium\), ((masterpiece)), (((best quality))), ((ultra-detailed)), ((illustration)),depth of field,cinematic lighting, volume lighting, bloom effect,light particles, hair ornament, sunlight , morning, lens 135mm,f1.8,
Negative prompt: nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry,mulitple people, multiple boys, multiple girls,
ENSD: 31337, Size: 512x768, Seed: 3332775436, Model: GoodAsianGirlFace_V1.0, Steps: 50, Sampler: DPM++ 2M Karras, CFG scale: 10.5, Model hash: 206eb7d3, Face restoration: GFPGAN

Xiaorenshu_v20.safetensors
shz,((best quality)), ((masterpiece)), (detailed), realistic, multiple boys,(riding horse),mustache, looking at viewer, outdoors,house, amy,horse
Negative prompt: easynegative bad_prompt_version2 ng_deepnegative_v1_75t
ENSD: 31337, Size: 512x768, Seed: 3836055402, Steps: 25, Sampler: DPM++ SDE Karras, CFG scale: 5, Clip skip: 2, Model hash: 5efb10a9e1, Hires steps: 10, Hires upscale: 2, AddNet Enabled: True, AddNet Model 1: xrs2.0-000016(97413ad0d80d), Hires upscaler: SwinIR_4x, AddNet Module 1: LoRA, AddNet Weight A 1: 0.9, AddNet Weight B 1: 0.9, Denoising strength: 0.45


((best quality)), ((masterpiece)), (detailed), multiple boys, battle, outdoors, fighting stance,amy,horse
Negative prompt: easynegative bad_prompt_version2 ng_deepnegative_v1_75t
ENSD: 31337, Size: 960x640, Seed: 67430860, Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 6, Clip skip: 2, Model hash: fc2511737a, Hires steps: 10, Hires upscale: 2, AddNet Enabled: True, AddNet Model 1: xrs2.0-000016(97413ad0d80d), Hires upscaler: SwinIR_4x, AddNet Module 1: LoRA, AddNet Weight A 1: 0.9, AddNet Weight B 1: 0.9, Denoising strength: 0.4






藏丹阁-NovelAI模型大全分享-第一层:
https://docs.qq.com/doc/DY0lFeWZuVXRCdUJU

藏丹阁-NovelAI模型大全分享-第二层:
https://docs.qq.com/doc/DY1hydmRGTENGTXdo

相关文章:

stable-diffusion 模型效果+prompt

摘自个人印象笔记&#xff0c;图不完整可查看原笔记&#xff1a;https://app.yinxiang.com/fx/55cda0c6-2af5-4d66-bd86-85da79c5574ePrompt运用规则及技巧 &#xff1a; 1. https://publicprompts.art/&#xff08;最适用于OpenArt 线上模型 https://openart.ai/&#xff09;…...

uniapp 小兔鲜儿 - 首页模块(1)

目录 自定义导航栏 静态结构 安全区域​ 通用轮播组件 静态结构 自动导入全局组件 全局组件类型声明 .d.ts文件 注册组件 vue/runtime-core 首页 – 轮播图指示点 首页 – 获取轮播图数据 首页 – 轮播图数据类型并渲染 首页 – 轮播图总结 首页分类 首页 – 前…...

selenium.webdriver Python爬虫教程

文章目录 selenium安装和使用 selenium安装和使用 pip install selenium 下载对应的浏览器驱动 实例化浏览器 from selenium import webdriverbrowser webdriver.Chrome()元素定位 控制浏览器...

USB-SC-09编程电缆驱动程序安装说明

USB-SC-09编程电缆驱动程序安装说明 概述 USB编程电缆是通过将电脑的USB口模拟成传统的串行口&#xff08;通常为COM3&#xff09;&#xff0c;从而使编程软件SWOPC-FXGP/WIN和GPP通过USB-SC-09编程电缆与FX系列PLC进行通信。 功能 ● 支持的操作系统Windows XP/ Windows2000 …...

ONVIF对讲功能漫谈

ONVIF对讲功能漫谈 前言一、onvif对讲功能和onvif协议关系大吗?二、如何上报设备支持onvif对讲功能呢?三、onvif协议中哪个接口上报音频解码配置?四、献上抓包报文:前言 本篇文章尝试使用提问的方式来分享onvif对讲功能那点事。 一、onvif对讲功能和onvif协议关系大吗? on…...

计算文本相似度

目录 Python中的difflib模块模块用法报告涉及的符号实现文本对比普通文本对比文本对比生成HTML报告 余弦相似度sklearn安装使用sklearn的余弦相似度词袋模型 Jaccard相似度编辑距离&#xff08;Levenshtein距离&#xff09;TF-IDFWord2VecDoc2VecBERT结论 Python中的difflib模块…...

oracle 增加控制文件

oracle 增加控制文件 1、看control_file路径 SQL> show parameter controlNAME TYPE VALUE ------------------------------------ ----------- ------------------------------ control_file_record_keep_time integer …...

OpenFeign超时时间设置不生效问题排查

最近升级springboot 3&#xff0c;突然发现配置文件中的openFeign的超时时间设置不生效了 之前配置如下&#xff1a; feign: client: config: default: connectTimeout: 3000 readTimeout: 5000 查资料都是说ribbon或者hystrix的超时时间设置问…...

Go和Java实现原型模式

Go和Java实现原型模式 下面将通过一个克隆的示例来说明原型模式的使用。 1、原型模式 原型模式是用于创建重复的对象&#xff0c;同时又能保证性能。这种类型的设计模式属于创建型模式&#xff0c;它提供了一种创建对 象的最佳方式之一。 这种模式是实现了一个原型接口&am…...

linux I/O性能优化

Linux 文件系统 磁盘和文件系统的关系&#xff1a; 磁盘为系统提供了最基本的持久化存储。 文件系统则在磁盘的基础上&#xff0c;提供了一个用来管理文件的树状结构。 文件系统工作原理 索引节点和目录项 文件系统&#xff0c;本身是对存储设备上的文件&#xff0c;进行组织…...

PHP最简单自定义自己的框架model使用(七)

1、实现model使用效果 2、自动加载model,KJ.php //自动加载文件public static function _autoload($className){switch ($className){//自动model类case substr($className,-5)Model:$path MODEL./.$className..php;if(is_file($path)) include $path;break;//自动加载控制器…...

程序猿成长之路之密码学篇-分组密码加密模式及IV(偏移量)的详解

Cipher.getInstance("AES/ECB/PKCS5Padding"); Cipher cipher Cipher.getInstance("AES/CBC/PKCS5Padding"); 在进行加解密编程的时候应该有很多小伙伴接触过以上的语句&#xff0c;但是大伙儿在编码过程中是否了解过ECB/CBC的含义、区别以及PKCS5Padding…...

Windows下批处理删除文件

最近我使用Maven的时候会出现下载jar包不成功的现象&#xff0c;然后需要把它删除然后重新下载&#xff0c;但是有时候文件过多&#xff0c;一个个删除太花费时间&#xff0c;所以用bat的批处理会很舒服。 bat的语法我之前没遇到过&#xff0c;然后我是边学习边试验&#xff0…...

html中文件上传储存到本地路径

第一步:写html文件 <form action"/uplode" method"post" enctype"multipart/form-data">姓名:<input type"text" name"username"><br>年龄:<input type"text" name"age"><…...

第九章 SpringBoot 自动配置原理 入门

1. 引导加载自动配置类 SpringBootApplication -- SpringBootConfiguration -- EnableAutoConfiguration -- ComponentScan //SpringBootApplicationSpringBootConfiguration EnableAutoConfiguration ComponentScan(excludeFilters { Filter(type FilterType.CUSTOM, cl…...

String str=new String(“tango“) 创建了几个对象?

面试回答 创建的对象数 应该是1个或者2个。 首先要清楚什么是对象&#xff1f; Java 是一种面向对象的语言&#xff0c;而 Java 对象在 JVM 中的存储也是有一定的结构的&#xff0c;在 HotSpot 虚拟机中&#xff0c;存储的形式就是 oop-klass model&#xff0c;即 Java 对象模型…...

引入三阶失真的非线性放大器的模拟输出及使用中值滤波器去除峰值研究(Matlab代码实现)

&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;欢迎来到本博客❤️❤️&#x1f4a5;&#x1f4a5; &#x1f3c6;博主优势&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;博客内容尽量做到思维缜密&#xff0c;逻辑清晰&#xff0c;为了方便读者。 ⛳️座右铭&a…...

【观察者设计模式详解】C/Java/JS/Go/Python/TS不同语言实现

简介 观察者模式&#xff08;Observer Pattern&#xff09;是一种行为型模式。它定义对象间的一种一对多的依赖关系&#xff0c;当一个对象的状态发生改变时&#xff0c;所有依赖于它的对象都得到通知并被自动更新。 观察者模式使用三个类Subject、Observer和Client。Subject…...

精细解析中文公司名称:智能分词工具助力地名、品牌名、行业词和后缀提取

精细解析中文公司名称&#xff1a;智能分词工具助力地名、品牌名、行业词和后缀提取 中文公司名称分词工具&#xff0c;支持公司名称中的地名&#xff0c;品牌名&#xff08;主词&#xff09;&#xff0c;行业词&#xff0c;公司名后缀提取。 对公司名文本解析&#xff0c;识…...

网络编程(JavaEE初阶系列10)

目录 前言&#xff1a; 1.网络编程的基础 1.1为什么需要网络编程 1.2什么是网络编程 1.3网络编程中的基本概念 1.3.1发送端和接收端 1.3.2请求和响应 1.3.3客户端和服务端 2.Socket套接字 2.1概念 2.2分类 3.UDP数据报套接字编程 3.1DataGramSocket API 3.2Datagr…...

AT模式下的全局锁冲突如何解决?

一、全局锁冲突解决方案 1. 业务层重试机制&#xff08;推荐方案&#xff09; Service public class OrderService {GlobalTransactionalRetryable(maxAttempts 3, backoff Backoff(delay 100))public void createOrder(OrderDTO order) {// 库存扣减&#xff08;自动加全…...

IP选择注意事项

IP选择注意事项 MTP、FTP、EFUSE、EMEMORY选择时&#xff0c;需要考虑以下参数&#xff0c;然后确定后选择IP。 容量工作电压范围温度范围擦除、烧写速度/耗时读取所有bit的时间待机功耗擦写、烧写功耗面积所需要的mask layer...

第2课 SiC MOSFET与 Si IGBT 静态特性对比

2.1 输出特性对比 2.2 转移特性对比 2.1 输出特性对比 器件的输出特性描述了当温度和栅源电压(栅射电压)为某一具体数值时,漏极电流(集电极电流...

【学习记录】使用 Kali Linux 与 Hashcat 进行 WiFi 安全分析:合法的安全测试指南

文章目录 &#x1f4cc; 前言&#x1f9f0; 一、前期准备✅ 安装 Kali Linux✅ 获取支持监听模式的无线网卡 &#x1f6e0; 二、使用 Kali Linux 进行 WiFi 安全测试步骤 1&#xff1a;插入无线网卡并确认识别步骤 2&#xff1a;开启监听模式步骤 3&#xff1a;扫描附近的 WiFi…...

创客匠人:如何通过创始人IP打造实现知识变现与IP变现的长效增长?

在流量红利逐渐消退的当下&#xff0c;创始人IP的价值愈发凸显。它不仅能够帮助中小企业及个人创业者突破竞争壁垒&#xff0c;还能成为企业品牌影响力的核心资产。然而&#xff0c;市场上IP孵化机构鱼龙混杂&#xff0c;如何选择一家真正具备长期价值的合作伙伴&#xff1f;创…...

Python 解释器安装全攻略(适用于 Linux / Windows / macOS)

目录 一、Windows安装Python解释器1.1 下载并安装Python解释1.2 测试安装是否成功1.3 设置pip的国内镜像------永久配置 二、macOS安装Python解释器三、Linux下安装Python解释器3.1 Rocky8.10/Rocky9.5安装Python解释器3.2 Ubuntu2204/Ubuntu2404安装Python解释器3.3 设置pip的…...

Java求职者面试:微服务技术与源码原理深度解析

Java求职者面试&#xff1a;微服务技术与源码原理深度解析 第一轮&#xff1a;基础概念问题 1. 请解释什么是微服务架构&#xff0c;并说明其优势和挑战。 微服务架构是一种将单体应用拆分为多个小型、独立的服务的软件开发方法。每个服务都运行在自己的进程中&#xff0c;并…...

ADB识别手机系统弹授权框-如何处理多重弹框叠加和重叠问题

ADB识别手机系统弹授权框-如何处理多重弹框叠加和重叠问题 --蓝牙电话SDK自动部署 上一篇&#xff1a;手机App-插入USB时自动授权点击确定按钮-使系统弹出框自动消失 下一篇&#xff1a;编写中。 一、前言 我们在上一篇《手机App-插入USB时自动授权点击确定按钮-使系统弹出框…...

React Hooks 指南:何时使用 useEffect ?

在 React 的函数组件中&#xff0c;useEffect Hook 是一个强大且不可或缺的工具。它允许我们处理副作用 (side effects)——那些在组件渲染之外发生的操作。但是&#xff0c;什么时候才是使用 useEffect 的正确时机呢&#xff1f;让我们深入探讨一下&#xff01; 什么是副作用…...

AIRIOT无人机安防解决方案

随着无人机技术的飞速发展和广泛应用&#xff0c;其在安防领域的价值日益凸显&#xff0c;从关键设施巡检、大型活动安保到边境巡防、应急救援&#xff0c;无人机正成为立体化安防体系不可或缺的“空中哨兵”。然而&#xff0c;无人机安防应用蓬勃发展的同时&#xff0c;其自身…...